Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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: translateModel(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.QGen_flow|chi.QEva_flow|chi.QCon_flow|chi.CR|chi.PLR|per.PLRMax|per.PLRMin|QEva_QGen.y|QEva_P.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad") translateModel(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chi.sta_a1.T|chi.sta_b1.T|chi.sta_a2.T|chi.sta_b2.T|chi.QGen_flow|chi.QEva_flow|chi.QCon_flow|chi.CR|chi.PLR|per.PLRMax|per.PLRMin|QEva_QGen.y|QEva_P.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005541/0.005541, allocations: 100.4 kB / 15.73 MB, free: 6.023 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.00106/0.001061, allocations: 192.9 kB / 16.67 MB, free: 5.957 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.391/1.391, 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.0.1-master/package.mo): time 2.745/2.745, allocations: 461.9 MB / 0.7348 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 59.91 kB / 1.054 GB, free: 7.109 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3483, allocations: 157.4 MB / 1.208 GB, free: 9.586 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad): time 0.8839/1.232, allocations: 74.73 MB / 1.281 GB, free: 5.051 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.03245/1.265, allocations: 21.49 MB / 1.302 GB, free: 9.41 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005657/1.27, allocations: 97.34 kB / 1.302 GB, free: 9.379 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.007929/1.279, allocations: 2.161 MB / 1.304 GB, free: 8.332 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0132/1.292, allocations: 3.189 MB / 1.307 GB, free: 6.469 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.007672/1.299, allocations: 2.251 MB / 1.309 GB, free: 5.305 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.01571/1.315, allocations: 8.096 MB / 1.317 GB, free: 2.082 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004832/1.32, allocations: 2.005 MB / 1.319 GB, free: 1.129 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00762/1.328, allocations: 2.204 MB / 1.321 GB, free: 80 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004488/1.332, allocations: 1.592 MB / 1.323 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.001088/1.333, allocations: 216 kB / 1.323 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007523/1.341, allocations: 2.007 MB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.001939/1.343, allocations: 0.7884 MB / 1.326 GB, free: 14.22 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.005242/1.348, allocations: 1.406 MB / 1.327 GB, free: 13.32 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.01505/1.363, allocations: 4.448 MB / 1.331 GB, free: 11.64 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 8.576e-06/1.363, allocations: 4 kB / 1.331 GB, free: 11.63 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.074e-06/1.363, allocations: 0 / 1.331 GB, free: 11.63 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0002015/1.363, allocations: 1.25 kB / 1.331 GB, free: 11.63 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: 317 * Number of variables: 317 Notification: Performance of Generate backend data structure: time 0.01317/1.377, allocations: 3.208 MB / 1.335 GB, free: 9.582 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.46e-05/1.377, allocations: 9.25 kB / 1.335 GB, free: 9.582 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007683/1.384, allocations: 1.147 MB / 1.336 GB, free: 9.375 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008421/1.393, allocations: 3.006 MB / 1.339 GB, free: 7.348 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002438/1.393, allocations: 153.6 kB / 1.339 GB, free: 7.254 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003385/1.393, allocations: 128.8 kB / 1.339 GB, free: 7.215 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005228/1.399, allocations: 1.928 MB / 1.341 GB, free: 6.047 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.721e-05/1.399, allocations: 0 / 1.341 GB, free: 6.047 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001723/1.399, allocations: 52.38 kB / 1.341 GB, free: 6.008 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.499e-05/1.399, allocations: 30.75 kB / 1.341 GB, free: 6.008 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00628/1.405, allocations: 2.058 MB / 1.343 GB, free: 5.027 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.01702/1.422, allocations: 8.507 MB / 1.351 GB, free: 14 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005486/1.428, allocations: 1.631 MB / 1.353 GB, free: 13.22 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00226/1.43, allocations: 0.734 MB / 1.353 GB, free: 12.87 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007317/1.437, allocations: 3.848 MB / 1.357 GB, free: 9.477 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.579e-05/1.437, allocations: 45.34 kB / 1.357 GB, free: 9.426 MB / 1.045 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000901/1.438, allocations: 111.3 kB / 1.357 GB, free: 9.352 MB / 1.045 GB Notification: Performance of pre-optimization done (n=57): time 2.545e-06/1.438, allocations: 0 / 1.357 GB, free: 9.352 MB / 1.045 GB Notification: Performance of matching and sorting (n=57): time 0.01326/1.452, allocations: 3.071 MB / 1.36 GB, free: 7.82 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.225e-05/1.452, allocations: 57.28 kB / 1.36 GB, free: 7.758 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004279/1.456, allocations: 2.656 MB / 1.363 GB, free: 6.344 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 0.0001143/1.456, allocations: 39.3 kB / 1.363 GB, free: 6.305 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009596/1.457, allocations: 1.103 MB / 1.364 GB, free: 5.332 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002346/1.457, allocations: 210.2 kB / 1.364 GB, free: 5.152 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005395/1.458, allocations: 335.6 kB / 1.365 GB, free: 4.961 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001011/1.458, allocations: 309 kB / 1.365 GB, free: 4.656 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002471/1.46, allocations: 0.9138 MB / 1.366 GB, free: 4.223 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00276/1.463, allocations: 1.344 MB / 1.367 GB, free: 3.246 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004655/1.468, allocations: 2.007 MB / 1.369 GB, free: 2.004 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/1.468, allocations: 2.375 kB / 1.369 GB, free: 2.004 MB / 1.045 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.007676/1.476, allocations: 2.733 MB / 1.372 GB, free: 0.6797 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.74e-05/1.476, allocations: 8.625 kB / 1.372 GB, free: 0.6719 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.153e-05/1.476, allocations: 16 kB / 1.372 GB, free: 0.6562 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001366/1.477, allocations: 0.5121 MB / 1.372 GB, free: 144 kB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00155/1.479, allocations: 367.5 kB / 1.373 GB, free: 15.78 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002259/1.481, allocations: 1.122 MB / 1.374 GB, free: 14.63 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003015/1.484, allocations: 215.8 kB / 1.374 GB, free: 14.42 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001587/1.484, allocations: 71.95 kB / 1.374 GB, free: 14.35 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (146): * Single equations (assignments): 143 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001241/1.485, allocations: 0.5598 MB / 1.375 GB, free: 13.78 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005028/1.486, allocations: 240.8 kB / 1.375 GB, free: 13.54 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006311/1.492, allocations: 2.095 MB / 1.377 GB, free: 11.44 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.036e-05/1.492, allocations: 11.98 kB / 1.377 GB, free: 11.43 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/1.492, allocations: 0 / 1.377 GB, free: 11.43 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/1.492, allocations: 3.984 kB / 1.377 GB, free: 11.43 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009816/1.502, allocations: 4.102 MB / 1.381 GB, free: 7.223 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/1.502, allocations: 3.984 kB / 1.381 GB, free: 7.219 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001072/1.503, allocations: 204 kB / 1.381 GB, free: 7.02 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001191/1.504, allocations: 0.4887 MB / 1.382 GB, free: 6.527 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.746e-05/1.504, allocations: 31.95 kB / 1.382 GB, free: 6.496 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002265/1.507, allocations: 1.107 MB / 1.383 GB, free: 5.363 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/1.507, allocations: 7.938 kB / 1.383 GB, free: 5.355 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007062/1.514, allocations: 2.177 MB / 1.385 GB, free: 3.113 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001231/1.515, allocations: 493.7 kB / 1.385 GB, free: 2.609 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002987/1.515, allocations: 19.91 kB / 1.385 GB, free: 2.59 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001704/1.517, allocations: 163.8 kB / 1.385 GB, free: 2.43 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/1.517, allocations: 56.42 kB / 1.386 GB, free: 2.375 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001/1.517, allocations: 39.95 kB / 1.386 GB, free: 2.336 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.002805/1.52, allocations: 1.827 MB / 1.387 GB, free: 0.5078 MB / 1.061 GB Notification: Performance of sort global known variables: time 2.61e-07/1.52, allocations: 3.938 kB / 1.387 GB, free: 0.5039 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.002512/1.523, allocations: 0.7451 MB / 1.388 GB, free: 15.76 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001553/1.524, allocations: 0.7064 MB / 1.389 GB, free: 15.05 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.005901/1.53, allocations: 1.991 MB / 1.391 GB, free: 13.06 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/1.53, allocations: 0 / 1.391 GB, free: 13.06 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002967/1.533, allocations: 0.8511 MB / 1.392 GB, free: 12.21 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00535/1.538, allocations: 1.157 MB / 1.393 GB, free: 11.08 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009728/1.548, allocations: 4.113 MB / 1.397 GB, free: 6.902 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001635/1.55, allocations: 1.625 MB / 1.398 GB, free: 5.242 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.00235/1.552, allocations: 466.9 kB / 1.399 GB, free: 4.789 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005757/1.553, allocations: 191.3 kB / 1.399 GB, free: 4.602 MB / 1.076 GB Notification: Performance of SimCode: time 1.002e-06/1.553, allocations: 0 / 1.399 GB, free: 4.602 MB / 1.076 GB Notification: Performance of Templates: time 0.08237/1.635, allocations: 48.62 MB / 1.446 GB, free: 4.57 MB / 1.123 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Chillers_Examples_AbsorptionIndirectSteamVaryingLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Chillers.Examples.AbsorptionIndirectSteamVaryingLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches