Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_Sources_Examples_Outside_Cp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_Cp,fileNamePrefix="Buildings_9_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.00527/0.00527, allocations: 107.8 kB / 15.74 MB, free: 6.449 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.001341/0.001341, allocations: 196 kB / 16.67 MB, free: 6.355 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.342/2.342, allocations: 390.3 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 62.75 kB / 0.9504 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2249, allocations: 140.4 MB / 1.087 GB, free: 2.023 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.1716/0.3965, allocations: 175.2 MB / 1.259 GB, free: 2.152 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.5359/0.9325, allocations: 15.52 MB / 1.274 GB, free: 3.102 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001186/0.9337, allocations: 30.06 kB / 1.274 GB, free: 3.102 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001384/0.9351, allocations: 0.5798 MB / 1.274 GB, free: 3.09 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003794/0.939, allocations: 1.493 MB / 1.276 GB, free: 3.035 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004215/0.9432, allocations: 1.669 MB / 1.277 GB, free: 2.988 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003822/0.947, allocations: 2.735 MB / 1.28 GB, free: 2.984 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002741/0.9498, allocations: 1.9 MB / 1.282 GB, free: 2.734 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003367/0.9532, allocations: 1.37 MB / 1.283 GB, free: 2.711 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001246/0.9544, allocations: 1.026 MB / 1.284 GB, free: 2.707 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0003253/0.9547, allocations: 198 kB / 1.284 GB, free: 2.707 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002843/0.9576, allocations: 1.333 MB / 1.286 GB, free: 2.688 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005183/0.9581, allocations: 0.5682 MB / 1.286 GB, free: 2.688 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0009858/0.9591, allocations: 0.9978 MB / 1.287 GB, free: 2.637 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.003858/0.963, allocations: 2.969 MB / 1.29 GB, free: 2.215 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.963, allocations: 0 / 1.29 GB, free: 2.215 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.443e-06/0.963, allocations: 0 / 1.29 GB, free: 2.215 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.821e-05/0.963, allocations: 2.188 kB / 1.29 GB, free: 2.215 MB / 1.014 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.003989/0.967, allocations: 2.277 MB / 1.292 GB, free: 1.125 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.9671, allocations: 11.28 kB / 1.292 GB, free: 1.125 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002826/0.9674, allocations: 237.8 kB / 1.293 GB, free: 1.078 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003076/0.9705, allocations: 472.9 kB / 1.293 GB, free: 0.9648 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001804/0.9723, allocations: 1.137 MB / 1.294 GB, free: 0.582 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.895e-05/0.9724, allocations: 127.3 kB / 1.294 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002183/0.9726, allocations: 157.5 kB / 1.294 GB, free: 0.5742 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002907/0.9755, allocations: 1.786 MB / 1.296 GB, free: 340 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.816e-05/0.9756, allocations: 1.062 kB / 1.296 GB, free: 340 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001622/0.9757, allocations: 70.22 kB / 1.296 GB, free: 340 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-05/0.9758, allocations: 51.36 kB / 1.296 GB, free: 340 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003174/0.979, allocations: 1.771 MB / 1.298 GB, free: 324 kB / 1.014 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.007803/0.9868, allocations: 5.83 MB / 1.304 GB, free: 13.8 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00261/0.9894, allocations: 1.563 MB / 1.305 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009955/0.9904, allocations: 0.5647 MB / 1.306 GB, free: 13.46 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009086/0.9913, allocations: 0.8815 MB / 1.307 GB, free: 12.52 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001386/0.9927, allocations: 0.8011 MB / 1.307 GB, free: 12.45 MB / 1.029 GB Notification: Performance of pre-optimization done (n=126): time 3.066e-06/0.9928, allocations: 1.344 kB / 1.307 GB, free: 12.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=126): time 0.004932/0.9977, allocations: 1.882 MB / 1.309 GB, free: 12.21 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001/0.9978, allocations: 202.4 kB / 1.31 GB, free: 11.99 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001365/0.9992, allocations: 0.9809 MB / 1.31 GB, free: 11.84 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001459/0.9993, allocations: 51.64 kB / 1.311 GB, free: 11.81 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005471/0.9999, allocations: 0.6646 MB / 1.311 GB, free: 11.54 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003643/1, allocations: 414.9 kB / 1.312 GB, free: 11.27 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003802/1.001, allocations: 217.3 kB / 1.312 GB, free: 11.25 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001355/1.001, allocations: 349.3 kB / 1.312 GB, free: 10.94 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009036/1.002, allocations: 430.4 kB / 1.313 GB, free: 10.94 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001056/1.003, allocations: 0.5936 MB / 1.313 GB, free: 10.8 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001907/1.005, allocations: 1.014 MB / 1.314 GB, free: 10.71 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/1.005, allocations: 2.031 kB / 1.314 GB, free: 10.71 MB / 1.029 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002994/1.008, allocations: 1.306 MB / 1.315 GB, free: 10.57 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/1.008, allocations: 5.219 kB / 1.315 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.447e-06/1.008, allocations: 3.531 kB / 1.315 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005986/1.008, allocations: 87.16 kB / 1.315 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001313/1.01, allocations: 281.5 kB / 1.316 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00233/1.012, allocations: 1.646 MB / 1.317 GB, free: 9.184 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001513/1.014, allocations: 142.5 kB / 1.317 GB, free: 9.125 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/1.014, allocations: 47.33 kB / 1.318 GB, free: 9.125 MB / 1.029 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.001077/1.015, allocations: 378.1 kB / 1.318 GB, free: 9.004 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005163/1.015, allocations: 136 kB / 1.318 GB, free: 8.938 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003721/1.019, allocations: 1.615 MB / 1.32 GB, free: 8.797 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.094e-05/1.019, allocations: 16.25 kB / 1.32 GB, free: 8.797 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/1.019, allocations: 0.8125 kB / 1.32 GB, free: 8.797 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.615e-05/1.019, allocations: 5.438 kB / 1.32 GB, free: 8.797 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005234/1.024, allocations: 3.163 MB / 1.323 GB, free: 8.406 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/1.024, allocations: 3.375 kB / 1.323 GB, free: 8.406 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001233/1.026, allocations: 268.7 kB / 1.323 GB, free: 8.406 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004411/1.026, allocations: 69.94 kB / 1.323 GB, free: 8.398 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.657e-05/1.026, allocations: 39.3 kB / 1.323 GB, free: 8.398 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001915/1.028, allocations: 1.673 MB / 1.325 GB, free: 6.902 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.028, allocations: 3.188 kB / 1.325 GB, free: 6.902 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004216/1.032, allocations: 2.178 MB / 1.327 GB, free: 5.961 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007791/1.033, allocations: 400.4 kB / 1.327 GB, free: 5.695 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002064/1.033, allocations: 27.97 kB / 1.327 GB, free: 5.676 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001172/1.034, allocations: 94.12 kB / 1.327 GB, free: 5.652 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000194/1.035, allocations: 98.48 kB / 1.327 GB, free: 5.637 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001183/1.035, allocations: 60.45 kB / 1.327 GB, free: 5.625 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0009032/1.036, allocations: 0.6859 MB / 1.328 GB, free: 5.34 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.01e-07/1.036, allocations: 0.9062 kB / 1.328 GB, free: 5.34 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001418/1.037, allocations: 0.5321 MB / 1.329 GB, free: 5.191 MB / 1.029 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.005761/1.043, allocations: 3.341 MB / 1.332 GB, free: 3.543 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.002441/1.045, allocations: 1.247 MB / 1.333 GB, free: 3.082 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/1.045, allocations: 4.297 kB / 1.333 GB, free: 3.078 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001278/1.047, allocations: 0.7604 MB / 1.334 GB, free: 2.785 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002232/1.049, allocations: 0.5543 MB / 1.334 GB, free: 2.613 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0188/1.068, allocations: 10.23 MB / 1.344 GB, free: 14.3 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000915/1.069, allocations: 1.305 MB / 1.346 GB, free: 13.54 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.00148/1.07, allocations: 437.3 kB / 1.346 GB, free: 13.41 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000935/1.071, allocations: 0.6675 MB / 1.347 GB, free: 12.91 MB / 1.045 GB Notification: Performance of SimCode: time 5.01e-07/1.071, allocations: 0 / 1.347 GB, free: 12.91 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07179/1.143, allocations: 36.68 MB / 1.383 GB, free: 5.344 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.35/14.49, allocations: 10.62 kB / 1.383 GB, free: 5.336 MB / 1.061 GB (rm -f Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe >> ../files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_Sources_Examples_Outside_Cp.fmu > Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Sources_Examples_Outside_Cp.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches