Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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_CpLowRise,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",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.008776/0.008776, allocations: 100.6 kB / 15.73 MB, free: 5.492 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.001863/0.001863, allocations: 186.6 kB / 16.67 MB, free: 5.422 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 15.08 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.505/2.505, allocations: 437 MB / 0.7105 GB, free: 4.395 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 64.11 kB / 1.018 GB, free: 9.918 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8133/0.8154, allocations: 151.6 MB / 1.166 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1855/1.001, allocations: 168.3 MB / 1.33 GB, free: 10.82 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02461/1.026, allocations: 17.07 MB / 1.347 GB, free: 9.688 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001727/1.027, allocations: 31.81 kB / 1.347 GB, free: 9.656 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001935/1.029, allocations: 0.574 MB / 1.348 GB, free: 9.078 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.005163/1.035, allocations: 1.632 MB / 1.349 GB, free: 7.441 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.003702/1.038, allocations: 1.342 MB / 1.351 GB, free: 6.113 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003664/1.042, allocations: 2.7 MB / 1.353 GB, free: 3.406 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002845/1.045, allocations: 1.889 MB / 1.355 GB, free: 1.465 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003911/1.049, allocations: 1.379 MB / 1.356 GB, free: 128 kB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001531/1.05, allocations: 0.988 MB / 1.357 GB, free: 15.13 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0005809/1.051, allocations: 208 kB / 1.358 GB, free: 14.93 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003053/1.054, allocations: 1.427 MB / 1.359 GB, free: 13.5 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0006889/1.055, allocations: 0.5608 MB / 1.36 GB, free: 12.94 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001561/1.056, allocations: 1.038 MB / 1.361 GB, free: 11.89 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.00526/1.062, allocations: 3.108 MB / 1.364 GB, free: 8.777 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.354e-06/1.062, allocations: 0 / 1.364 GB, free: 8.777 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.705e-06/1.062, allocations: 3.938 kB / 1.364 GB, free: 8.773 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001189/1.062, allocations: 0 / 1.364 GB, free: 8.773 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: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.005147/1.067, allocations: 2.287 MB / 1.366 GB, free: 6.422 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/1.067, allocations: 8.922 kB / 1.366 GB, free: 6.414 MB / 1.092 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003972/1.067, allocations: 249 kB / 1.366 GB, free: 6.16 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003817/1.071, allocations: 0.5088 MB / 1.367 GB, free: 5.648 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001955/1.073, allocations: 1.117 MB / 1.368 GB, free: 4.484 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.73e-05/1.073, allocations: 131.4 kB / 1.368 GB, free: 4.355 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000231/1.074, allocations: 171.9 kB / 1.368 GB, free: 4.188 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003159/1.077, allocations: 1.843 MB / 1.37 GB, free: 2.293 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.275e-05/1.077, allocations: 3.938 kB / 1.37 GB, free: 2.289 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001517/1.077, allocations: 76 kB / 1.37 GB, free: 2.215 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.943e-05/1.077, allocations: 40 kB / 1.37 GB, free: 2.176 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003428/1.08, allocations: 1.875 MB / 1.372 GB, free: 304 kB / 1.092 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.009705/1.09, allocations: 5.496 MB / 1.377 GB, free: 10.46 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003123/1.093, allocations: 1.77 MB / 1.379 GB, free: 8.617 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001196/1.095, allocations: 0.6554 MB / 1.379 GB, free: 7.961 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000923/1.095, allocations: 0.8116 MB / 1.38 GB, free: 6.984 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001739/1.097, allocations: 0.8918 MB / 1.381 GB, free: 6.07 MB / 1.107 GB Notification: Performance of pre-optimization done (n=146): time 3.276e-06/1.097, allocations: 0 / 1.381 GB, free: 6.07 MB / 1.107 GB Notification: Performance of matching and sorting (n=146): time 0.006312/1.104, allocations: 2.552 MB / 1.384 GB, free: 3.406 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/1.104, allocations: 205.2 kB / 1.384 GB, free: 3.164 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001198/1.105, allocations: 0.8271 MB / 1.385 GB, free: 2.312 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001611/1.105, allocations: 61.7 kB / 1.385 GB, free: 2.246 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005276/1.106, allocations: 0.6484 MB / 1.385 GB, free: 1.586 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004286/1.106, allocations: 477 kB / 1.386 GB, free: 1.113 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003844/1.106, allocations: 242.8 kB / 1.386 GB, free: 0.8672 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0001273/1.107, allocations: 349.9 kB / 1.386 GB, free: 0.5195 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000944/1.108, allocations: 482.3 kB / 1.387 GB, free: 52 kB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001118/1.109, allocations: 0.634 MB / 1.387 GB, free: 15.38 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002077/1.111, allocations: 1.095 MB / 1.389 GB, free: 14.27 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/1.111, allocations: 0 / 1.389 GB, free: 14.27 MB / 1.123 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00354/1.114, allocations: 1.503 MB / 1.39 GB, free: 12.74 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/1.114, allocations: 8 kB / 1.39 GB, free: 12.73 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/1.114, allocations: 0 / 1.39 GB, free: 12.73 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009367/1.115, allocations: 196.2 kB / 1.39 GB, free: 12.53 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001553/1.117, allocations: 331.6 kB / 1.39 GB, free: 12.2 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006274/1.123, allocations: 7.285 MB / 1.398 GB, free: 4.215 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/1.125, allocations: 150.8 kB / 1.398 GB, free: 4.066 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001566/1.125, allocations: 51.97 kB / 1.398 GB, free: 4.016 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (148): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008237/1.126, allocations: 375.7 kB / 1.398 GB, free: 3.641 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003359/1.126, allocations: 130.5 kB / 1.398 GB, free: 3.512 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004077/1.13, allocations: 1.842 MB / 1.4 GB, free: 1.645 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/1.13, allocations: 16 kB / 1.4 GB, free: 1.629 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/1.13, allocations: 0 / 1.4 GB, free: 1.629 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.52e-05/1.13, allocations: 7.969 kB / 1.4 GB, free: 1.621 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005975/1.136, allocations: 3.444 MB / 1.403 GB, free: 14.1 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.532e-06/1.136, allocations: 0 / 1.403 GB, free: 14.1 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001431/1.138, allocations: 319.6 kB / 1.404 GB, free: 13.79 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007441/1.138, allocations: 180.1 kB / 1.404 GB, free: 13.59 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000108/1.139, allocations: 43.95 kB / 1.404 GB, free: 13.55 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005835/1.144, allocations: 7.319 MB / 1.411 GB, free: 5.527 MB / 1.139 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/1.144, allocations: 4 kB / 1.411 GB, free: 5.523 MB / 1.139 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004001/1.148, allocations: 1.713 MB / 1.413 GB, free: 3.773 MB / 1.139 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000792/1.149, allocations: 395 kB / 1.413 GB, free: 3.367 MB / 1.139 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002214/1.15, allocations: 35.92 kB / 1.413 GB, free: 3.332 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001179/1.151, allocations: 98.91 kB / 1.413 GB, free: 3.238 MB / 1.139 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002575/1.151, allocations: 113.1 kB / 1.413 GB, free: 3.129 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001556/1.151, allocations: 75.94 kB / 1.413 GB, free: 3.055 MB / 1.139 GB Notification: Performance of sorting global known variables: time 0.0007964/1.152, allocations: 0.5825 MB / 1.414 GB, free: 2.461 MB / 1.139 GB Notification: Performance of sort global known variables: time 1.3e-07/1.152, allocations: 0 / 1.414 GB, free: 2.461 MB / 1.139 GB Notification: Performance of remove unused functions: time 0.001692/1.154, allocations: 0.6 MB / 1.415 GB, free: 1.859 MB / 1.139 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.005294/1.159, allocations: 2.881 MB / 1.417 GB, free: 15.1 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.003242/1.162, allocations: 1.84 MB / 1.419 GB, free: 13.2 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 6.091e-06/1.162, allocations: 0.5625 kB / 1.419 GB, free: 13.2 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.00192/1.164, allocations: 1.309 MB / 1.421 GB, free: 11.82 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002189/1.166, allocations: 0.5159 MB / 1.421 GB, free: 11.32 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01764/1.184, allocations: 9.91 MB / 1.431 GB, free: 1.238 MB / 1.154 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009966/1.185, allocations: 1.3 MB / 1.432 GB, free: 15.91 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.001554/1.187, allocations: 446.4 kB / 1.432 GB, free: 15.46 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009302/1.188, allocations: 0.6437 MB / 1.433 GB, free: 14.82 MB / 1.17 GB Notification: Performance of SimCode: time 1.162e-06/1.188, allocations: 0 / 1.433 GB, free: 14.82 MB / 1.17 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0831/1.271, allocations: 37.59 MB / 1.47 GB, free: 9.574 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.45/15.72, allocations: 11.92 kB / 1.47 GB, free: 9.562 MB / 1.201 GB (rm -f Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.fmu > Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches