Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001671/0.001671, allocations: 103.6 kB / 18.95 MB, free: 2.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002319/0.002319, allocations: 216 kB / 22.24 MB, free: 5.258 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.495/1.495, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.36/3.36, allocations: 0.49 GB / 0.7951 GB, free: 35.52 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_OrganicRankine_Validation_VariableSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource,fileNamePrefix="Buildings_12_Buildings_Fluid_CHPs_OrganicRankine_Validation_VariableSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001965/0.001965, allocations: 74.59 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3848/0.3868, allocations: 176.1 MB / 1.326 GB, free: 1.48 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.2753/0.6621, allocations: 199.9 MB / 1.521 GB, free: 8.891 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.02148/0.6836, allocations: 11.83 MB / 1.533 GB, free: 13.04 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00317/0.6868, allocations: 95.19 kB / 1.533 GB, free: 12.94 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.00372/0.6905, allocations: 1.169 MB / 1.534 GB, free: 11.77 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.01132/0.7018, allocations: 3.3 MB / 1.537 GB, free: 8.453 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.006593/0.7084, allocations: 1.859 MB / 1.539 GB, free: 6.605 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.00824/0.7167, allocations: 4.212 MB / 1.543 GB, free: 2.383 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002733/0.7194, allocations: 1.133 MB / 1.544 GB, free: 1.211 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006609/0.726, allocations: 2.222 MB / 1.546 GB, free: 14.98 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003435/0.7294, allocations: 1.46 MB / 1.548 GB, free: 13.52 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0005888/0.73, allocations: 180 kB / 1.548 GB, free: 13.34 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00602/0.736, allocations: 2.331 MB / 1.55 GB, free: 11.01 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.00153/0.7376, allocations: 1.008 MB / 1.551 GB, free: 9.996 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.002238/0.7398, allocations: 1.158 MB / 1.552 GB, free: 8.832 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.009083/0.7489, allocations: 4.78 MB / 1.557 GB, free: 4.035 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 7.744e-06/0.7489, allocations: 4 kB / 1.557 GB, free: 4.031 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.854e-06/0.7489, allocations: 0 / 1.557 GB, free: 4.031 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.0001019/0.749, allocations: 0 / 1.557 GB, free: 4.031 MB / 1.248 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.008416/0.7574, allocations: 3.397 MB / 1.56 GB, free: 0.5703 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.7575, allocations: 12.03 kB / 1.56 GB, free: 0.5586 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002716/0.7577, allocations: 169 kB / 1.56 GB, free: 392 kB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005196/0.7629, allocations: 0.8216 MB / 1.561 GB, free: 15.56 MB / 1.264 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01015/0.7731, allocations: 6.24 MB / 1.567 GB, free: 9.262 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000188/0.7733, allocations: 145.5 kB / 1.567 GB, free: 9.105 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002433/0.7735, allocations: 108 kB / 1.568 GB, free: 9 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004178/0.7777, allocations: 2.241 MB / 1.57 GB, free: 6.645 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.086e-05/0.7777, allocations: 3.938 kB / 1.57 GB, free: 6.641 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001405/0.7779, allocations: 51.98 kB / 1.57 GB, free: 6.59 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.703e-05/0.7779, allocations: 42.08 kB / 1.57 GB, free: 6.547 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005024/0.783, allocations: 2.615 MB / 1.572 GB, free: 3.91 MB / 1.264 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.01595/0.7989, allocations: 8.161 MB / 1.58 GB, free: 11.62 MB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004212/0.8031, allocations: 2.001 MB / 1.582 GB, free: 9.605 MB / 1.279 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001856/0.805, allocations: 0.9454 MB / 1.583 GB, free: 8.645 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007427/0.8057, allocations: 168.5 kB / 1.583 GB, free: 8.48 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002053/0.8078, allocations: 1.179 MB / 1.585 GB, free: 7.234 MB / 1.279 GB Notification: Performance of pre-optimization done (n=91): time 3.868e-06/0.8078, allocations: 0 / 1.585 GB, free: 7.234 MB / 1.279 GB Notification: Performance of matching and sorting (n=91): time 0.02467/0.8324, allocations: 5.78 MB / 1.59 GB, free: 1.398 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001242/0.8326, allocations: 145.2 kB / 1.59 GB, free: 1.227 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01357/0.8461, allocations: 8.899 MB / 1.599 GB, free: 8.312 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0003147/0.8464, allocations: 41.7 kB / 1.599 GB, free: 8.266 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.001282/0.8477, allocations: 1.119 MB / 1.6 GB, free: 7.137 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004789/0.8482, allocations: 321.2 kB / 1.6 GB, free: 6.82 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000461/0.8487, allocations: 214.5 kB / 1.601 GB, free: 6.605 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001815/0.8489, allocations: 349.9 kB / 1.601 GB, free: 6.258 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002154/0.851, allocations: 1.153 MB / 1.602 GB, free: 5.094 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002551/0.8536, allocations: 1.592 MB / 1.604 GB, free: 3.355 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00391/0.8575, allocations: 2.186 MB / 1.606 GB, free: 1.082 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.764e-06/0.8575, allocations: 0 / 1.606 GB, free: 1.082 MB / 1.295 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.7606/1.618, allocations: 3.762 MB / 1.609 GB, free: 279.2 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 7.143e-05/1.618, allocations: 72.31 kB / 1.61 GB, free: 279.1 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.522e-05/1.618, allocations: 4.469 kB / 1.61 GB, free: 279.1 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005002/1.623, allocations: 1.982 MB / 1.611 GB, free: 279.1 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/1.624, allocations: 183.5 kB / 1.612 GB, free: 279.1 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008232/1.632, allocations: 6.561 MB / 1.618 GB, free: 274.8 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002828/1.635, allocations: 234.2 kB / 1.618 GB, free: 274.7 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002916/1.636, allocations: 50.48 kB / 1.618 GB, free: 274.7 MB / 1.295 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 17 (THotIn_set.nextEventScaled,THotIn_set.nextEvent,$PRE.THotIn_set.nextEvent,THotIn_set.last,THotIn_set.b,THotIn_set.a,mHot_flow_set.nextEventScaled,mHot_flow_set.nextEvent,$PRE.mHot_flow_set.nextEvent,mHot_flow_set.last,mHot_flow_set.b,mHot_flow_set.a,orc.cyc.hys.y,$PRE.orc.cyc.hys.y,orc.on_actual,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 79 * Array equations: 1 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,4), (1,4), (4,26)} Notification: Performance of prepare postOptimizeDAE: time 0.001617/1.637, allocations: 0.6624 MB / 1.619 GB, free: 274.3 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001095/1.638, allocations: 280.2 kB / 1.619 GB, free: 274.3 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009847/1.648, allocations: 3.275 MB / 1.622 GB, free: 273.2 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.013e-05/1.648, allocations: 10.23 kB / 1.622 GB, free: 273.2 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/1.648, allocations: 0 / 1.622 GB, free: 273.2 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-05/1.648, allocations: 5.391 kB / 1.622 GB, free: 273.2 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01664/1.665, allocations: 5.535 MB / 1.628 GB, free: 271 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.416e-05/1.665, allocations: 3.891 kB / 1.628 GB, free: 271 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000707/1.666, allocations: 102.7 kB / 1.628 GB, free: 271 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004836/1.67, allocations: 1.972 MB / 1.63 GB, free: 270.6 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002213/1.671, allocations: 35.19 kB / 1.63 GB, free: 270.5 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008594/1.679, allocations: 6.494 MB / 1.636 GB, free: 265.9 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/1.679, allocations: 6.875 kB / 1.636 GB, free: 265.8 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008615/1.688, allocations: 3.347 MB / 1.64 GB, free: 264.5 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002098/1.69, allocations: 0.5508 MB / 1.64 GB, free: 264.2 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005924/1.691, allocations: 28.61 kB / 1.64 GB, free: 264.2 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001839/1.692, allocations: 128.2 kB / 1.64 GB, free: 264.1 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002553/1.693, allocations: 71.09 kB / 1.64 GB, free: 264.1 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001401/1.693, allocations: 43.14 kB / 1.64 GB, free: 264.1 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.008809/1.702, allocations: 6.837 MB / 1.647 GB, free: 261.1 MB / 1.295 GB Notification: Performance of sort global known variables: time 2.51e-07/1.702, allocations: 0 / 1.647 GB, free: 261.1 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.003009/1.705, allocations: 0.7284 MB / 1.648 GB, free: 260.5 MB / 1.295 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,orc.on_actual,orc.cyc.hys.y,mHot_flow_set.a,mHot_flow_set.b,mHot_flow_set.last,mHot_flow_set.nextEvent,mHot_flow_set.nextEventScaled,THotIn_set.a,THotIn_set.b,THotIn_set.last,THotIn_set.nextEvent,THotIn_set.nextEventScaled) * Number of discrete states: 13 (THotIn_set.nextEvent,THotIn_set.last,THotIn_set.nextEventScaled,THotIn_set.b,THotIn_set.a,$whenCondition2,mHot_flow_set.nextEvent,mHot_flow_set.last,mHot_flow_set.nextEventScaled,mHot_flow_set.b,mHot_flow_set.a,$whenCondition1,orc.cyc.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,4), (1,4), (4,26)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0081/1.713, allocations: 4.3 MB / 1.652 GB, free: 256.6 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.004471/1.717, allocations: 2.663 MB / 1.655 GB, free: 254.1 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/1.717, allocations: 4 kB / 1.655 GB, free: 254.1 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002236/1.719, allocations: 1.402 MB / 1.656 GB, free: 252.8 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004858/1.724, allocations: 1.011 MB / 1.657 GB, free: 252 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05245/1.777, allocations: 41.82 MB / 1.698 GB, free: 209.9 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009645/1.778, allocations: 1.113 MB / 1.699 GB, free: 208.8 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001659/1.779, allocations: 427 kB / 1.699 GB, free: 208.4 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001082/1.78, allocations: 0.9601 MB / 1.7 GB, free: 207.4 MB / 1.295 GB Notification: Performance of SimCode: time 1.072e-06/1.78, allocations: 0 / 1.7 GB, free: 207.4 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1261/1.906, allocations: 80.97 MB / 1.779 GB, free: 127.7 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.61/18.51, allocations: 5.812 kB / 1.779 GB, free: 127.7 MB / 1.295 GB " [Timeout remaining time 281] (rm -f Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; mkfifo Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe >> ../files/Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_CHPs_OrganicRankine_Validation_VariableSource_fmu --startTime=0 --stopTime=300 --stepSize=0.12 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_CHPs_OrganicRankine_Validation_VariableSource.fmu > Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_CHPs_OrganicRankine_Validation_VariableSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 25.794215176982107]