Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_11_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.004213/0.004213, allocations: 99.52 kB / 15.73 MB, free: 6.043 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.001256/0.001256, allocations: 198.2 kB / 16.67 MB, free: 5.965 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.405/1.405, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.836/2.836, allocations: 469.8 MB / 0.7425 GB, free: 7.309 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 71.83 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.2726, allocations: 159.1 MB / 1.22 GB, free: 14.31 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.6839/0.9565, allocations: 176.2 MB / 1.392 GB, free: 11.69 MB / 1.092 GB Notification: Performance of NFInst.instExpressions: time 0.0211/0.9776, allocations: 15.66 MB / 1.407 GB, free: 15.02 MB / 1.107 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001268/0.9789, allocations: 35.62 kB / 1.408 GB, free: 15 MB / 1.107 GB Notification: Performance of NFTyping.typeComponents: time 0.00171/0.9806, allocations: 0.6147 MB / 1.408 GB, free: 14.48 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.004194/0.9849, allocations: 1.569 MB / 1.41 GB, free: 13.28 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.003939/0.9888, allocations: 1.683 MB / 1.411 GB, free: 12.01 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.003228/0.9921, allocations: 2.912 MB / 1.414 GB, free: 10.29 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002229/0.9943, allocations: 1.844 MB / 1.416 GB, free: 9.074 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003135/0.9974, allocations: 1.384 MB / 1.417 GB, free: 8.305 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001186/0.9986, allocations: 1.047 MB / 1.418 GB, free: 7.609 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0002328/0.9989, allocations: 196.9 kB / 1.418 GB, free: 7.609 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002248/1.001, allocations: 1.337 MB / 1.42 GB, free: 6.98 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.0005283/1.002, allocations: 0.5687 MB / 1.42 GB, free: 6.543 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.0009722/1.003, allocations: 1.04 MB / 1.421 GB, free: 5.82 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.00333/1.006, allocations: 3.03 MB / 1.424 GB, free: 3.715 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/1.006, allocations: 0 / 1.424 GB, free: 3.715 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.613e-06/1.006, allocations: 2.75 kB / 1.424 GB, free: 3.715 MB / 1.107 GB Notification: Performance of Transformations before backend: time 2.433e-05/1.006, allocations: 0 / 1.424 GB, free: 3.715 MB / 1.107 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.003829/1.01, allocations: 2.359 MB / 1.427 GB, free: 1.945 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/1.01, allocations: 10.38 kB / 1.427 GB, free: 1.945 MB / 1.107 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002826/1.01, allocations: 245.9 kB / 1.427 GB, free: 1.75 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003109/1.013, allocations: 473.3 kB / 1.427 GB, free: 1.359 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001781/1.015, allocations: 1.152 MB / 1.428 GB, free: 164 kB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/1.015, allocations: 119.2 kB / 1.429 GB, free: 44 kB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002441/1.015, allocations: 156.1 kB / 1.429 GB, free: 15.89 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003221/1.019, allocations: 1.792 MB / 1.43 GB, free: 14.02 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.404e-05/1.019, allocations: 4 kB / 1.43 GB, free: 14.01 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000166/1.019, allocations: 79.83 kB / 1.431 GB, free: 13.94 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.365e-05/1.019, allocations: 48 kB / 1.431 GB, free: 13.89 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003383/1.022, allocations: 1.76 MB / 1.432 GB, free: 12.12 MB / 1.123 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.008624/1.031, allocations: 6.169 MB / 1.438 GB, free: 5.594 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002948/1.034, allocations: 1.545 MB / 1.44 GB, free: 3.992 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00114/1.035, allocations: 0.5699 MB / 1.44 GB, free: 3.422 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001/1.036, allocations: 0.8789 MB / 1.441 GB, free: 2.355 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001551/1.038, allocations: 0.8011 MB / 1.442 GB, free: 1.539 MB / 1.123 GB Notification: Performance of pre-optimization done (n=126): time 2.555e-06/1.038, allocations: 4 kB / 1.442 GB, free: 1.535 MB / 1.123 GB Notification: Performance of matching and sorting (n=126): time 0.005075/1.043, allocations: 1.891 MB / 1.444 GB, free: 15.61 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001238/1.043, allocations: 200.9 kB / 1.444 GB, free: 15.38 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001317/1.044, allocations: 0.9798 MB / 1.445 GB, free: 14.38 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001027/1.044, allocations: 53.7 kB / 1.445 GB, free: 14.32 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005917/1.045, allocations: 0.6697 MB / 1.446 GB, free: 13.64 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003887/1.045, allocations: 436.2 kB / 1.446 GB, free: 13.21 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003828/1.046, allocations: 222.8 kB / 1.446 GB, free: 12.99 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001702/1.046, allocations: 345.9 kB / 1.447 GB, free: 12.64 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009986/1.047, allocations: 434.4 kB / 1.447 GB, free: 12.22 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001177/1.048, allocations: 0.5936 MB / 1.448 GB, free: 11.58 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00216/1.05, allocations: 1.015 MB / 1.449 GB, free: 10.54 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/1.05, allocations: 0 / 1.449 GB, free: 10.54 MB / 1.139 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003137/1.053, allocations: 1.313 MB / 1.45 GB, free: 9.215 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 1.554e-05/1.054, allocations: 4 kB / 1.45 GB, free: 9.211 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/1.054, allocations: 4 kB / 1.45 GB, free: 9.207 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006226/1.054, allocations: 92.92 kB / 1.45 GB, free: 9.113 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001366/1.056, allocations: 275.6 kB / 1.45 GB, free: 8.844 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002291/1.058, allocations: 1.652 MB / 1.452 GB, free: 7.051 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/1.059, allocations: 139.2 kB / 1.452 GB, free: 6.914 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/1.059, allocations: 51.95 kB / 1.452 GB, free: 6.863 MB / 1.139 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.000589/1.06, allocations: 377.5 kB / 1.452 GB, free: 6.484 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000275/1.06, allocations: 143.1 kB / 1.453 GB, free: 6.344 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003828/1.064, allocations: 1.614 MB / 1.454 GB, free: 4.719 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/1.064, allocations: 12 kB / 1.454 GB, free: 4.707 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/1.064, allocations: 0 / 1.454 GB, free: 4.707 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.51e-05/1.064, allocations: 15.91 kB / 1.454 GB, free: 4.691 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00563/1.069, allocations: 3.171 MB / 1.457 GB, free: 1.457 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-06/1.069, allocations: 0 / 1.457 GB, free: 1.457 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001316/1.071, allocations: 271.5 kB / 1.458 GB, free: 1.191 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000473/1.071, allocations: 76.78 kB / 1.458 GB, free: 1.113 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.429e-05/1.071, allocations: 35.97 kB / 1.458 GB, free: 1.078 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00213/1.073, allocations: 1.67 MB / 1.459 GB, free: 15.25 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/1.073, allocations: 0 / 1.459 GB, free: 15.25 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004557/1.078, allocations: 2.191 MB / 1.461 GB, free: 13.04 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000609/1.079, allocations: 411.7 kB / 1.462 GB, free: 12.62 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000191/1.079, allocations: 31.94 kB / 1.462 GB, free: 12.59 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/1.08, allocations: 83.98 kB / 1.462 GB, free: 12.5 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002025/1.08, allocations: 97.17 kB / 1.462 GB, free: 12.41 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001262/1.08, allocations: 59.95 kB / 1.462 GB, free: 12.35 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.0009616/1.081, allocations: 0.684 MB / 1.463 GB, free: 11.66 MB / 1.154 GB Notification: Performance of sort global known variables: time 1.8e-07/1.081, allocations: 4 kB / 1.463 GB, free: 11.66 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.001234/1.083, allocations: 0.5571 MB / 1.463 GB, free: 11.1 MB / 1.154 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.006955/1.09, allocations: 3.355 MB / 1.467 GB, free: 7.906 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.002649/1.092, allocations: 1.24 MB / 1.468 GB, free: 6.652 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/1.092, allocations: 448 / 1.468 GB, free: 6.652 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.001514/1.094, allocations: 0.7637 MB / 1.469 GB, free: 5.879 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002407/1.096, allocations: 0.565 MB / 1.469 GB, free: 5.332 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01743/1.114, allocations: 10.08 MB / 1.479 GB, free: 11.08 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/1.115, allocations: 1.308 MB / 1.48 GB, free: 9.746 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.00139/1.116, allocations: 442.7 kB / 1.481 GB, free: 9.309 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001019/1.117, allocations: 0.6672 MB / 1.481 GB, free: 8.641 MB / 1.17 GB Notification: Performance of SimCode: time 2.8e-07/1.117, allocations: 0 / 1.481 GB, free: 8.641 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0786/1.196, allocations: 37.38 MB / 1.518 GB, free: 3.707 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.78/14.97, allocations: 10.92 kB / 1.518 GB, free: 3.703 MB / 1.201 GB (rm -f Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp_res.csv --start-time 0 --stop-time 86400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_11_Buildings_Fluid_Sources_Examples_Outside_Cp.fmu > Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Sources.Examples.Outside_Cp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches