Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007907/0.0007907, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007856/0.0007856, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8287/0.8287, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.683/1.683, allocations: 389 MB / 0.633 GB, free: 12.72 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.212e-06/1.212e-06, allocations: 0 / 0.9996 GB, free: 13.56 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.101e-05/1.222e-05, allocations: 5.234 kB / 0.9996 GB, free: 13.56 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad): time 0.002949/0.002961, allocations: 3.022 MB / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001942/0.004903, allocations: 1.861 MB / 1.004 GB, free: 8.652 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001083/0.005011, allocations: 15.88 kB / 1.004 GB, free: 8.637 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0005353/0.005547, allocations: 281.3 kB / 1.005 GB, free: 8.363 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003342/0.005881, allocations: 198.9 kB / 1.005 GB, free: 8.168 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004534/0.006334, allocations: 266.9 kB / 1.005 GB, free: 7.906 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003025/0.006637, allocations: 334.8 kB / 1.005 GB, free: 7.578 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002425/0.006879, allocations: 149 kB / 1.006 GB, free: 7.43 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001913/0.007071, allocations: 191.5 kB / 1.006 GB, free: 7.242 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001924/0.007263, allocations: 135.6 kB / 1.006 GB, free: 7.109 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.364e-05/0.007287, allocations: 20 kB / 1.006 GB, free: 7.09 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003664/0.007653, allocations: 387 kB / 1.006 GB, free: 6.711 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 7.227e-05/0.007725, allocations: 91.72 kB / 1.006 GB, free: 6.621 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.207e-05/0.007787, allocations: 83.77 kB / 1.006 GB, free: 6.539 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000415/0.008202, allocations: 0.5219 MB / 1.007 GB, free: 6.016 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.008204, allocations: 0 / 1.007 GB, free: 6.016 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.31e-07/0.008205, allocations: 0 / 1.007 GB, free: 6.016 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.948e-06/0.008209, allocations: 0 / 1.007 GB, free: 6.016 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0005778/0.008787, allocations: 0.4894 MB / 1.007 GB, free: 5.496 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.251e-05/0.008819, allocations: 8.75 kB / 1.007 GB, free: 5.488 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.398e-05/0.008863, allocations: 66.64 kB / 1.008 GB, free: 5.414 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003928/0.009256, allocations: 108.7 kB / 1.008 GB, free: 5.309 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002843/0.009541, allocations: 207.2 kB / 1.008 GB, free: 5.082 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.685e-05/0.009557, allocations: 20.86 kB / 1.008 GB, free: 5.062 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.009581, allocations: 20.38 kB / 1.008 GB, free: 5.043 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003594/0.00994, allocations: 409 kB / 1.008 GB, free: 4.609 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.759e-06/0.00995, allocations: 192 / 1.008 GB, free: 4.609 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.923e-05/0.009969, allocations: 8.125 kB / 1.008 GB, free: 4.602 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.931e-05/0.009999, allocations: 28.48 kB / 1.008 GB, free: 4.574 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002789/0.01028, allocations: 289.8 kB / 1.009 GB, free: 4.289 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001107/0.01138, allocations: 1.276 MB / 1.01 GB, free: 2.945 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002653/0.01165, allocations: 240.9 kB / 1.01 GB, free: 2.691 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.117e-05/0.01174, allocations: 101.7 kB / 1.01 GB, free: 2.586 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 4.444e-05/0.01179, allocations: 15.98 kB / 1.01 GB, free: 2.57 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.743e-05/0.0118, allocations: 30.56 kB / 1.01 GB, free: 2.531 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=16): time 1.312e-06/0.0118, allocations: 4 kB / 1.01 GB, free: 2.527 MB / 0.9636 GB Notification: Performance of matching and sorting (n=23): time 0.001327/0.01313, allocations: 0.9044 MB / 1.011 GB, free: 1.605 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.017e-05/0.01316, allocations: 77.11 kB / 1.011 GB, free: 1.512 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.01329, allocations: 215.8 kB / 1.011 GB, free: 1.289 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.63e-05/0.01331, allocations: 33.7 kB / 1.011 GB, free: 1.25 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 6.736e-05/0.01338, allocations: 172.5 kB / 1.012 GB, free: 1.074 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.879e-05/0.01341, allocations: 91.38 kB / 1.012 GB, free: 0.9844 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.3e-05/0.01348, allocations: 61.64 kB / 1.012 GB, free: 0.918 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.378e-05/0.01355, allocations: 334.8 kB / 1.012 GB, free: 0.582 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.01367, allocations: 131.9 kB / 1.012 GB, free: 464 kB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.01382, allocations: 203.5 kB / 1.012 GB, free: 228 kB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002914/0.01411, allocations: 373.1 kB / 1.013 GB, free: 15.82 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.243e-06/0.01411, allocations: 0 / 1.013 GB, free: 15.82 MB / 0.9792 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.0004876/0.0146, allocations: 0.5084 MB / 1.013 GB, free: 15.3 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.01461, allocations: 12 kB / 1.013 GB, free: 15.29 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.01462, allocations: 4 kB / 1.013 GB, free: 15.28 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002698/0.01489, allocations: 159.2 kB / 1.013 GB, free: 15.11 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001378/0.01502, allocations: 59.91 kB / 1.013 GB, free: 15.05 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001761/0.01679, allocations: 3.964 MB / 1.017 GB, free: 10.81 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.335e-05/0.01688, allocations: 20.08 kB / 1.017 GB, free: 10.79 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.0169, allocations: 16 kB / 1.017 GB, free: 10.77 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001015/0.017, allocations: 161.8 kB / 1.017 GB, free: 10.61 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.622e-05/0.01703, allocations: 23.84 kB / 1.017 GB, free: 10.58 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005045/0.01754, allocations: 474.6 kB / 1.018 GB, free: 10.1 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.01754, allocations: 7.938 kB / 1.018 GB, free: 10.09 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/0.01754, allocations: 3.984 kB / 1.018 GB, free: 10.09 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/0.01755, allocations: 0 / 1.018 GB, free: 10.09 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008925/0.01844, allocations: 0.9406 MB / 1.019 GB, free: 9.059 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.01844, allocations: 4 kB / 1.019 GB, free: 9.055 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.478e-05/0.01851, allocations: 31.92 kB / 1.019 GB, free: 9.023 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002024/0.01871, allocations: 143.3 kB / 1.019 GB, free: 8.871 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.31e-05/0.01872, allocations: 8 kB / 1.019 GB, free: 8.863 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001637/0.02036, allocations: 3.945 MB / 1.023 GB, free: 4.637 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.02036, allocations: 0 / 1.023 GB, free: 4.637 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004629/0.02083, allocations: 0.6142 MB / 1.024 GB, free: 3.969 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 6.444e-05/0.02089, allocations: 51.83 kB / 1.024 GB, free: 3.918 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.02091, allocations: 4 kB / 1.024 GB, free: 3.914 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00012/0.02103, allocations: 23.91 kB / 1.024 GB, free: 3.891 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.356e-05/0.02106, allocations: 27.91 kB / 1.024 GB, free: 3.863 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.136e-05/0.02107, allocations: 12 kB / 1.024 GB, free: 3.852 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 8.747e-05/0.02116, allocations: 153.5 kB / 1.024 GB, free: 3.703 MB / 0.9792 GB Notification: Performance of sort global known variables: time 3e-08/0.02116, allocations: 0 / 1.024 GB, free: 3.703 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0003065/0.02146, allocations: 91.94 kB / 1.024 GB, free: 3.613 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006781/0.02214, allocations: 1.201 MB / 1.025 GB, free: 2.352 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0005496/0.02269, allocations: 0.5638 MB / 1.026 GB, free: 1.762 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.0227, allocations: 7.938 kB / 1.026 GB, free: 1.754 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0002521/0.02295, allocations: 390.1 kB / 1.026 GB, free: 1.348 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003279/0.02328, allocations: 65.67 kB / 1.026 GB, free: 1.285 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002531/0.02581, allocations: 3.312 MB / 1.029 GB, free: 13.76 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001163/0.02592, allocations: 173.2 kB / 1.029 GB, free: 13.57 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 9.818e-05/0.02602, allocations: 62.23 kB / 1.029 GB, free: 13.51 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.629e-05/0.0261, allocations: 72.47 kB / 1.03 GB, free: 13.44 MB / 0.9948 GB Notification: Performance of SimCode: time 6.31e-07/0.0261, allocations: 0 / 1.03 GB, free: 13.44 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0212/0.04729, allocations: 7.489 MB / 1.037 GB, free: 6.133 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.962/8.009, allocations: 6.188 kB / 1.037 GB, free: 6.129 MB / 0.9948 GB " [Timeout remaining time 292] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable grid.P.real in file Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv. Warning: Get data of variable grid.P.real from file Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv failed! Error: Could not read variable grid.P.apparent in file Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv. Warning: Get data of variable grid.P.apparent from file Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv failed! Error: Could not read variable resistor.S[1] in file Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv. Warning: Get data of variable resistor.S[1] from file Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv failed! Error: Could not read variable resistor.S[2] in file Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv. Warning: Get data of variable resistor.S[2] from file Buildings_latest_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.899212311021984]