Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007379/0.007379, allocations: 102.3 kB / 15.73 MB, free: 5.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001908/0.001908, allocations: 196.2 kB / 16.67 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.308/1.308, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.419/2.419, allocations: 437 MB / 0.7105 GB, free: 4.426 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 68.11 kB / 1.018 GB, free: 9.941 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6397/0.641, allocations: 151.6 MB / 1.166 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1718/0.8128, allocations: 176.2 MB / 1.338 GB, free: 2.957 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.01879/0.8316, allocations: 15.67 MB / 1.353 GB, free: 3.238 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001126/0.8328, allocations: 31.81 kB / 1.354 GB, free: 3.207 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00157/0.8344, allocations: 0.6129 MB / 1.354 GB, free: 2.59 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.003832/0.8382, allocations: 1.578 MB / 1.356 GB, free: 1.008 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003795/0.842, allocations: 1.677 MB / 1.357 GB, free: 15.34 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.003133/0.8452, allocations: 2.91 MB / 1.36 GB, free: 12.42 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00235/0.8476, allocations: 1.852 MB / 1.362 GB, free: 10.51 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00314/0.8507, allocations: 1.378 MB / 1.363 GB, free: 9.164 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001339/0.8521, allocations: 1.043 MB / 1.364 GB, free: 8.117 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003359/0.8524, allocations: 200 kB / 1.365 GB, free: 7.922 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002303/0.8547, allocations: 1.341 MB / 1.366 GB, free: 6.578 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0005384/0.8553, allocations: 0.5725 MB / 1.366 GB, free: 6.004 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001125/0.8564, allocations: 1.026 MB / 1.367 GB, free: 4.973 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.003425/0.8598, allocations: 3.018 MB / 1.37 GB, free: 1.945 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.8599, allocations: 4 kB / 1.37 GB, free: 1.941 MB / 1.092 GB Notification: Performance of FrontEnd: time 1.132e-06/0.8599, allocations: 0 / 1.37 GB, free: 1.941 MB / 1.092 GB Notification: Performance of Transformations before backend: time 5.417e-05/0.8599, allocations: 0 / 1.37 GB, free: 1.941 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 410 * Number of variables: 410 Notification: Performance of Generate backend data structure: time 0.004345/0.8643, allocations: 2.302 MB / 1.373 GB, free: 15.57 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.8643, allocations: 12.62 kB / 1.373 GB, free: 15.56 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002963/0.8646, allocations: 236.3 kB / 1.373 GB, free: 15.32 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003237/0.8679, allocations: 465.1 kB / 1.373 GB, free: 14.86 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001867/0.8698, allocations: 1.14 MB / 1.374 GB, free: 13.68 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.715e-05/0.8699, allocations: 123.2 kB / 1.374 GB, free: 13.55 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002668/0.8701, allocations: 160 kB / 1.375 GB, free: 13.4 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003065/0.8732, allocations: 1.776 MB / 1.376 GB, free: 11.54 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.044e-05/0.8733, allocations: 4 kB / 1.376 GB, free: 11.54 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001624/0.8734, allocations: 68 kB / 1.376 GB, free: 11.47 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.889e-05/0.8735, allocations: 47.98 kB / 1.376 GB, free: 11.43 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003225/0.8767, allocations: 1.78 MB / 1.378 GB, free: 9.641 MB / 1.107 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008336/0.8851, allocations: 6.159 MB / 1.384 GB, free: 3.121 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002817/0.8879, allocations: 1.553 MB / 1.386 GB, free: 1.512 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001061/0.889, allocations: 0.5647 MB / 1.386 GB, free: 0.9492 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009107/0.8899, allocations: 0.8867 MB / 1.387 GB, free: 15.88 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001455/0.8914, allocations: 0.7933 MB / 1.388 GB, free: 15.06 MB / 1.123 GB Notification: Performance of pre-optimization done (n=126): time 2.675e-06/0.8914, allocations: 0 / 1.388 GB, free: 15.06 MB / 1.123 GB Notification: Performance of matching and sorting (n=126): time 0.004908/0.8963, allocations: 1.887 MB / 1.39 GB, free: 13.15 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001002/0.8964, allocations: 200.9 kB / 1.39 GB, free: 12.91 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001234/0.8977, allocations: 0.9876 MB / 1.391 GB, free: 11.91 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 0.00011/0.8978, allocations: 49.7 kB / 1.391 GB, free: 11.85 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004995/0.8983, allocations: 0.6646 MB / 1.392 GB, free: 11.18 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003255/0.8986, allocations: 413.9 kB / 1.392 GB, free: 10.77 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003482/0.899, allocations: 214.8 kB / 1.392 GB, free: 10.55 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.8991, allocations: 349.9 kB / 1.393 GB, free: 10.2 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009492/0.9001, allocations: 426.4 kB / 1.393 GB, free: 9.785 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001088/0.9012, allocations: 0.5936 MB / 1.394 GB, free: 9.145 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002046/0.9032, allocations: 1.015 MB / 1.395 GB, free: 8.105 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.9032, allocations: 0 / 1.395 GB, free: 8.105 MB / 1.123 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002998/0.9062, allocations: 1.308 MB / 1.396 GB, free: 6.785 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.9063, allocations: 8 kB / 1.396 GB, free: 6.777 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.9063, allocations: 0 / 1.396 GB, free: 6.777 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006269/0.9069, allocations: 88.92 kB / 1.396 GB, free: 6.688 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001388/0.9083, allocations: 283.5 kB / 1.396 GB, free: 6.41 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002124/0.9105, allocations: 1.655 MB / 1.398 GB, free: 4.613 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001072/0.9115, allocations: 141.3 kB / 1.398 GB, free: 4.477 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-05/0.9117, allocations: 47.97 kB / 1.398 GB, free: 4.43 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (136): * Single equations (assignments): 135 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005861/0.9122, allocations: 369.5 kB / 1.398 GB, free: 4.059 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002706/0.9125, allocations: 150.2 kB / 1.398 GB, free: 3.91 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003684/0.9162, allocations: 1.594 MB / 1.4 GB, free: 2.305 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.193e-05/0.9162, allocations: 12 kB / 1.4 GB, free: 2.293 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.9162, allocations: 4 kB / 1.4 GB, free: 2.289 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/0.9163, allocations: 11.91 kB / 1.4 GB, free: 2.277 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005436/0.9217, allocations: 3.159 MB / 1.403 GB, free: 15.05 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.9217, allocations: 3.938 kB / 1.403 GB, free: 15.05 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001367/0.9231, allocations: 271.7 kB / 1.403 GB, free: 14.79 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004721/0.9236, allocations: 72.78 kB / 1.403 GB, free: 14.71 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.709e-05/0.9237, allocations: 39.97 kB / 1.404 GB, free: 14.67 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001918/0.9256, allocations: 1.67 MB / 1.405 GB, free: 12.86 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.9256, allocations: 0 / 1.405 GB, free: 12.86 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00435/0.93, allocations: 2.178 MB / 1.407 GB, free: 10.65 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006605/0.9307, allocations: 402.9 kB / 1.408 GB, free: 10.24 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001962/0.9309, allocations: 31.98 kB / 1.408 GB, free: 10.21 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/0.9321, allocations: 83.98 kB / 1.408 GB, free: 10.12 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001965/0.9323, allocations: 97.17 kB / 1.408 GB, free: 10.03 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001235/0.9324, allocations: 59.95 kB / 1.408 GB, free: 9.973 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0009119/0.9333, allocations: 0.6841 MB / 1.409 GB, free: 9.281 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9333, allocations: 4 kB / 1.409 GB, free: 9.277 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001215/0.9345, allocations: 0.5454 MB / 1.409 GB, free: 8.73 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (ori1.mExc,ori2.mExc) * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (137): * Single equations (assignments): 131 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006176/0.9407, allocations: 3.336 MB / 1.412 GB, free: 5.527 MB / 1.139 GB Notification: Performance of simCode: created initialization part: time 0.002601/0.9433, allocations: 1.236 MB / 1.414 GB, free: 4.277 MB / 1.139 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.9434, allocations: 448 / 1.414 GB, free: 4.277 MB / 1.139 GB Notification: Performance of simCode: created simulation system equations: time 0.001427/0.9448, allocations: 0.7713 MB / 1.414 GB, free: 3.496 MB / 1.139 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002404/0.9472, allocations: 0.5783 MB / 1.415 GB, free: 2.934 MB / 1.139 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01671/0.9639, allocations: 10.02 MB / 1.425 GB, free: 8.738 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009502/0.9649, allocations: 1.311 MB / 1.426 GB, free: 7.398 MB / 1.154 GB Notification: Performance of simCode: alias equations: time 0.001427/0.9663, allocations: 434.8 kB / 1.426 GB, free: 6.969 MB / 1.154 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009361/0.9673, allocations: 0.6672 MB / 1.427 GB, free: 6.301 MB / 1.154 GB Notification: Performance of SimCode: time 3.2e-07/0.9673, allocations: 4 kB / 1.427 GB, free: 6.297 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06815/1.035, allocations: 37.39 MB / 1.464 GB, free: 1.246 MB / 1.186 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.23/14.26, allocations: 17.81 kB / 1.464 GB, free: 1.23 MB / 1.186 GB (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_10_Buildings_Fluid_Sources_Examples_Outside_Cp.fmu > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_Cp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches