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.007249/0.007249, allocations: 103.3 kB / 15.73 MB, free: 5.996 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.001369/0.001369, allocations: 187.6 kB / 16.67 MB, free: 5.926 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.316/1.316, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.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.118/2.118, allocations: 390.3 MB / 0.6648 GB, free: 0.5781 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001571/0.001571, allocations: 59.91 kB / 0.9504 GB, free: 8.121 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8827/0.8843, allocations: 140.4 MB / 1.087 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_Cp): time 0.2147/1.099, allocations: 175.2 MB / 1.259 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02245/1.122, allocations: 15.56 MB / 1.274 GB, free: 14.83 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001742/1.123, allocations: 31.81 kB / 1.274 GB, free: 14.8 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001992/1.125, allocations: 0.578 MB / 1.274 GB, free: 14.22 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.005201/1.131, allocations: 1.497 MB / 1.276 GB, free: 12.72 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.004803/1.135, allocations: 1.658 MB / 1.277 GB, free: 11.07 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.004075/1.139, allocations: 2.743 MB / 1.28 GB, free: 8.316 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003064/1.143, allocations: 1.91 MB / 1.282 GB, free: 6.344 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004112/1.147, allocations: 1.37 MB / 1.283 GB, free: 5.004 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001747/1.148, allocations: 1.019 MB / 1.284 GB, free: 3.98 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0006739/1.149, allocations: 204 kB / 1.284 GB, free: 3.781 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003163/1.152, allocations: 1.337 MB / 1.286 GB, free: 2.441 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0009027/1.153, allocations: 0.5724 MB / 1.286 GB, free: 1.867 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.001938/1.155, allocations: 0.9911 MB / 1.287 GB, free: 0.8711 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.005596/1.161, allocations: 2.96 MB / 1.29 GB, free: 13.9 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/1.161, allocations: 0 / 1.29 GB, free: 13.9 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.943e-06/1.161, allocations: 4 kB / 1.29 GB, free: 13.9 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001165/1.161, allocations: 0 / 1.29 GB, free: 13.9 MB / 1.029 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.006575/1.168, allocations: 2.283 MB / 1.292 GB, free: 11.55 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.111e-05/1.168, allocations: 12.03 kB / 1.292 GB, free: 11.54 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004913/1.168, allocations: 236.3 kB / 1.293 GB, free: 11.3 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003363/1.171, allocations: 469 kB / 1.293 GB, free: 10.84 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00236/1.174, allocations: 1.144 MB / 1.294 GB, free: 9.648 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001118/1.174, allocations: 119.2 kB / 1.294 GB, free: 9.531 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003325/1.174, allocations: 160 kB / 1.294 GB, free: 9.375 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003517/1.178, allocations: 1.786 MB / 1.296 GB, free: 7.512 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.878e-05/1.178, allocations: 0 / 1.296 GB, free: 7.512 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001711/1.178, allocations: 72 kB / 1.296 GB, free: 7.441 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.429e-05/1.178, allocations: 47.98 kB / 1.296 GB, free: 7.395 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003148/1.181, allocations: 1.768 MB / 1.298 GB, free: 5.621 MB / 1.029 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.008805/1.19, allocations: 5.82 MB / 1.304 GB, free: 15.51 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002752/1.193, allocations: 1.56 MB / 1.305 GB, free: 13.89 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001015/1.194, allocations: 0.5621 MB / 1.306 GB, free: 13.32 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001045/1.195, allocations: 0.8906 MB / 1.307 GB, free: 12.25 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001561/1.197, allocations: 0.801 MB / 1.307 GB, free: 11.43 MB / 1.045 GB Notification: Performance of pre-optimization done (n=126): time 4.128e-06/1.197, allocations: 0 / 1.307 GB, free: 11.43 MB / 1.045 GB Notification: Performance of matching and sorting (n=126): time 0.004916/1.202, allocations: 1.887 MB / 1.309 GB, free: 9.512 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/1.202, allocations: 196.9 kB / 1.31 GB, free: 9.277 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00153/1.203, allocations: 0.9837 MB / 1.31 GB, free: 8.277 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001393/1.203, allocations: 49.7 kB / 1.311 GB, free: 8.223 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005854/1.204, allocations: 0.6645 MB / 1.311 GB, free: 7.547 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004962/1.204, allocations: 421.9 kB / 1.312 GB, free: 7.129 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004515/1.205, allocations: 218.8 kB / 1.312 GB, free: 6.91 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001713/1.205, allocations: 345.9 kB / 1.312 GB, free: 6.566 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009873/1.206, allocations: 426.4 kB / 1.313 GB, free: 6.148 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/1.207, allocations: 0.5936 MB / 1.313 GB, free: 5.508 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001929/1.209, allocations: 1.015 MB / 1.314 GB, free: 4.473 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/1.209, allocations: 0 / 1.314 GB, free: 4.473 MB / 1.045 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003062/1.212, allocations: 1.301 MB / 1.315 GB, free: 3.16 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.037e-05/1.212, allocations: 15.92 kB / 1.315 GB, free: 3.145 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/1.212, allocations: 0 / 1.315 GB, free: 3.145 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000614/1.213, allocations: 84.94 kB / 1.315 GB, free: 3.059 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001302/1.214, allocations: 283.6 kB / 1.316 GB, free: 2.781 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002225/1.216, allocations: 1.654 MB / 1.317 GB, free: 0.9805 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/1.218, allocations: 140.4 kB / 1.317 GB, free: 0.8438 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001278/1.218, allocations: 47.97 kB / 1.318 GB, free: 0.7969 MB / 1.045 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.0008556/1.219, allocations: 377.4 kB / 1.318 GB, free: 428 kB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004363/1.219, allocations: 142.3 kB / 1.318 GB, free: 284 kB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003793/1.223, allocations: 1.602 MB / 1.32 GB, free: 14.66 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.43e-05/1.223, allocations: 16 kB / 1.32 GB, free: 14.64 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/1.223, allocations: 0 / 1.32 GB, free: 14.64 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.542e-05/1.223, allocations: 11.97 kB / 1.32 GB, free: 14.63 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006251/1.229, allocations: 3.155 MB / 1.323 GB, free: 11.41 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.476e-06/1.229, allocations: 3.938 kB / 1.323 GB, free: 11.41 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001252/1.231, allocations: 271.7 kB / 1.323 GB, free: 11.14 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004642/1.231, allocations: 72.78 kB / 1.323 GB, free: 11.07 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001092/1.231, allocations: 39.95 kB / 1.323 GB, free: 11.03 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00201/1.233, allocations: 1.674 MB / 1.325 GB, free: 9.211 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/1.233, allocations: 0 / 1.325 GB, free: 9.211 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004431/1.238, allocations: 2.186 MB / 1.327 GB, free: 7.004 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008837/1.239, allocations: 406.9 kB / 1.327 GB, free: 6.586 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000287/1.239, allocations: 28 kB / 1.327 GB, free: 6.559 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001241/1.24, allocations: 81.97 kB / 1.327 GB, free: 6.48 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002123/1.24, allocations: 97.19 kB / 1.327 GB, free: 6.387 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001434/1.24, allocations: 59.95 kB / 1.327 GB, free: 6.328 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.00111/1.242, allocations: 0.688 MB / 1.328 GB, free: 5.633 MB / 1.061 GB Notification: Performance of sort global known variables: time 5.31e-07/1.242, allocations: 0 / 1.328 GB, free: 5.633 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.001503/1.243, allocations: 0.5259 MB / 1.329 GB, free: 5.105 MB / 1.061 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.006246/1.249, allocations: 3.348 MB / 1.332 GB, free: 1.918 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002735/1.252, allocations: 1.24 MB / 1.333 GB, free: 0.6641 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 8.236e-06/1.252, allocations: 16.36 kB / 1.333 GB, free: 0.6484 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001469/1.254, allocations: 0.7518 MB / 1.334 GB, free: 15.88 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002773/1.256, allocations: 0.5532 MB / 1.334 GB, free: 15.35 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0195/1.276, allocations: 10.14 MB / 1.344 GB, free: 5.035 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/1.277, allocations: 1.307 MB / 1.346 GB, free: 3.695 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.001662/1.279, allocations: 438.7 kB / 1.346 GB, free: 3.262 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001028/1.28, allocations: 0.6593 MB / 1.347 GB, free: 2.602 MB / 1.076 GB Notification: Performance of SimCode: time 7.01e-07/1.28, allocations: 4 kB / 1.347 GB, free: 2.598 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07631/1.356, allocations: 37.31 MB / 1.383 GB, free: 13.72 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.98/15.33, allocations: 7.266 kB / 1.383 GB, free: 13.71 MB / 1.123 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sources.Examples.Outside_Cp_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sources_Examples_Outside_Cp_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 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.mat","/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