Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001312/0.001312, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.001398/0.001398, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9109/0.9109, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.78/1.78, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_CHPs_OrganicRankine_Validation_VariableSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource,fileNamePrefix="Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_Validation_VariableSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.224e-06/2.224e-06, allocations: 0 / 0.9997 GB, free: 12.35 MB / 0.9167 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.183e-05/2.406e-05, allocations: 2.281 kB / 0.9997 GB, free: 12.35 MB / 0.9167 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.6344/0.6344, allocations: 199.4 MB / 1.194 GB, free: 10.72 MB / 1.042 GB Notification: Performance of NFInst.instExpressions: time 0.01454/0.649, allocations: 11.81 MB / 1.206 GB, free: 14.89 MB / 1.057 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00296/0.652, allocations: 91.25 kB / 1.206 GB, free: 14.8 MB / 1.057 GB Notification: Performance of NFTyping.typeComponents: time 0.003174/0.6551, allocations: 1.177 MB / 1.207 GB, free: 13.62 MB / 1.057 GB Notification: Performance of NFTyping.typeBindings: time 0.00704/0.6622, allocations: 3.37 MB / 1.21 GB, free: 10.23 MB / 1.057 GB Notification: Performance of NFTyping.typeClassSections: time 0.003502/0.6657, allocations: 1.906 MB / 1.212 GB, free: 8.344 MB / 1.057 GB Notification: Performance of NFFlatten.flatten: time 0.005012/0.6707, allocations: 4.238 MB / 1.216 GB, free: 4.09 MB / 1.057 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001669/0.6724, allocations: 1.091 MB / 1.218 GB, free: 2.965 MB / 1.057 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005048/0.6774, allocations: 2.737 MB / 1.22 GB, free: 228 kB / 1.057 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001958/0.6794, allocations: 1.238 MB / 1.221 GB, free: 14.98 MB / 1.073 GB Notification: Performance of NFPackage.collectConstants: time 0.0002535/0.6796, allocations: 180 kB / 1.222 GB, free: 14.81 MB / 1.073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003945/0.6836, allocations: 2.314 MB / 1.224 GB, free: 12.49 MB / 1.073 GB Notification: Performance of NFScalarize.scalarize: time 0.0006917/0.6842, allocations: 1.052 MB / 1.225 GB, free: 11.43 MB / 1.073 GB Notification: Performance of NFVerifyModel.verify: time 0.0009743/0.6852, allocations: 0.9625 MB / 1.226 GB, free: 10.47 MB / 1.073 GB Notification: Performance of NFConvertDAE.convert: time 0.005884/0.6911, allocations: 4.841 MB / 1.231 GB, free: 5.613 MB / 1.073 GB Notification: Performance of FrontEnd - DAE generated: time 6.141e-06/0.6911, allocations: 0 / 1.231 GB, free: 5.613 MB / 1.073 GB Notification: Performance of FrontEnd: time 1.934e-06/0.6911, allocations: 0 / 1.231 GB, free: 5.613 MB / 1.073 GB Notification: Performance of Transformations before backend: time 5.472e-05/0.6912, allocations: 0 / 1.231 GB, free: 5.613 MB / 1.073 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.004427/0.6956, allocations: 3.397 MB / 1.234 GB, free: 2.152 MB / 1.073 GB Notification: Performance of prepare preOptimizeDAE: time 4.203e-05/0.6956, allocations: 12.75 kB / 1.234 GB, free: 2.141 MB / 1.073 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001425/0.6958, allocations: 165 kB / 1.234 GB, free: 1.969 MB / 1.073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002246/0.698, allocations: 0.8294 MB / 1.235 GB, free: 1.137 MB / 1.073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005712/0.7037, allocations: 6.224 MB / 1.241 GB, free: 10.85 MB / 1.089 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001123/0.7039, allocations: 149.4 kB / 1.241 GB, free: 10.69 MB / 1.089 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.704, allocations: 112 kB / 1.241 GB, free: 10.58 MB / 1.089 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002387/0.7064, allocations: 2.249 MB / 1.243 GB, free: 8.219 MB / 1.089 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.959e-05/0.7064, allocations: 3.984 kB / 1.243 GB, free: 8.215 MB / 1.089 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.354e-05/0.7065, allocations: 44 kB / 1.243 GB, free: 8.172 MB / 1.089 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.699e-05/0.7065, allocations: 38.08 kB / 1.243 GB, free: 8.133 MB / 1.089 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003056/0.7096, allocations: 2.623 MB / 1.246 GB, free: 5.488 MB / 1.089 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.008738/0.7183, allocations: 8.158 MB / 1.254 GB, free: 13.21 MB / 1.104 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002203/0.7205, allocations: 2.002 MB / 1.256 GB, free: 11.19 MB / 1.104 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001021/0.7215, allocations: 0.9556 MB / 1.257 GB, free: 10.21 MB / 1.104 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003705/0.7219, allocations: 168.5 kB / 1.257 GB, free: 10.05 MB / 1.104 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001364/0.7233, allocations: 1.178 MB / 1.258 GB, free: 8.812 MB / 1.104 GB Notification: Performance of pre-optimization done (n=91): time 2.795e-06/0.7233, allocations: 4 kB / 1.258 GB, free: 8.809 MB / 1.104 GB Notification: Performance of matching and sorting (n=91): time 0.01125/0.7345, allocations: 5.783 MB / 1.264 GB, free: 2.969 MB / 1.104 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.839e-05/0.7346, allocations: 145.2 kB / 1.264 GB, free: 2.797 MB / 1.104 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009227/0.7438, allocations: 8.895 MB / 1.273 GB, free: 9.883 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 0.000271/0.7441, allocations: 45.7 kB / 1.273 GB, free: 9.832 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007423/0.7448, allocations: 1.107 MB / 1.274 GB, free: 8.715 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003182/0.7451, allocations: 309.3 kB / 1.274 GB, free: 8.414 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002742/0.7454, allocations: 218.5 kB / 1.274 GB, free: 8.191 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 0.000102/0.7455, allocations: 353.9 kB / 1.275 GB, free: 7.84 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001239/0.7468, allocations: 1.153 MB / 1.276 GB, free: 6.676 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00141/0.7482, allocations: 1.593 MB / 1.277 GB, free: 4.941 MB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002441/0.7506, allocations: 2.186 MB / 1.279 GB, free: 2.672 MB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.7506, allocations: 4 kB / 1.279 GB, free: 2.668 MB / 1.12 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.004959/0.7556, allocations: 3.762 MB / 1.283 GB, free: 14.86 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 6.54e-05/0.7556, allocations: 73.56 kB / 1.283 GB, free: 14.78 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.459e-05/0.7557, allocations: 8 kB / 1.283 GB, free: 14.77 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002864/0.7585, allocations: 1.977 MB / 1.285 GB, free: 12.78 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005334/0.7591, allocations: 187.8 kB / 1.285 GB, free: 12.6 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006018/0.7651, allocations: 6.559 MB / 1.292 GB, free: 5.762 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001898/0.767, allocations: 244.1 kB / 1.292 GB, free: 5.523 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001362/0.7671, allocations: 47.98 kB / 1.292 GB, free: 5.477 MB / 1.135 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.001249/0.7684, allocations: 0.6723 MB / 1.293 GB, free: 4.781 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007573/0.7691, allocations: 282.3 kB / 1.293 GB, free: 4.504 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00477/0.7739, allocations: 3.267 MB / 1.296 GB, free: 1.18 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/0.7739, allocations: 12 kB / 1.296 GB, free: 1.168 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.7739, allocations: 4 kB / 1.296 GB, free: 1.164 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.7739, allocations: 3.984 kB / 1.296 GB, free: 1.16 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007291/0.7812, allocations: 5.535 MB / 1.302 GB, free: 11.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.7812, allocations: 8.031 kB / 1.302 GB, free: 11.49 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003111/0.7815, allocations: 99.88 kB / 1.302 GB, free: 11.39 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002562/0.7841, allocations: 1.979 MB / 1.304 GB, free: 9.398 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.667e-05/0.7842, allocations: 27.98 kB / 1.304 GB, free: 9.371 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005374/0.7895, allocations: 6.491 MB / 1.31 GB, free: 2.594 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.559e-06/0.7896, allocations: 3.984 kB / 1.31 GB, free: 2.59 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004755/0.7943, allocations: 3.347 MB / 1.313 GB, free: 15.15 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001319/0.7956, allocations: 0.5524 MB / 1.314 GB, free: 14.6 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003584/0.796, allocations: 27.98 kB / 1.314 GB, free: 14.57 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008351/0.7968, allocations: 127.9 kB / 1.314 GB, free: 14.45 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003796/0.7972, allocations: 76.41 kB / 1.314 GB, free: 14.37 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.761e-05/0.7973, allocations: 43.97 kB / 1.314 GB, free: 14.33 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.005072/0.8023, allocations: 6.831 MB / 1.321 GB, free: 7.496 MB / 1.167 GB Notification: Performance of sort global known variables: time 4.51e-07/0.8023, allocations: 4 kB / 1.321 GB, free: 7.492 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.002269/0.8046, allocations: 0.7295 MB / 1.321 GB, free: 6.762 MB / 1.167 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.004994/0.8096, allocations: 4.328 MB / 1.326 GB, free: 2.336 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.003291/0.8129, allocations: 2.661 MB / 1.328 GB, free: 15.6 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.8129, allocations: 448 / 1.328 GB, free: 15.6 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001401/0.8143, allocations: 1.401 MB / 1.33 GB, free: 14.14 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002922/0.8172, allocations: 1.006 MB / 1.331 GB, free: 13.14 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0449/0.8621, allocations: 41.73 MB / 1.371 GB, free: 2.93 MB / 1.214 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001069/0.8632, allocations: 1.104 MB / 1.372 GB, free: 1.793 MB / 1.214 GB Notification: Performance of simCode: alias equations: time 0.001633/0.8648, allocations: 434.8 kB / 1.373 GB, free: 1.363 MB / 1.214 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001161/0.866, allocations: 0.965 MB / 1.374 GB, free: 408 kB / 1.214 GB Notification: Performance of SimCode: time 2.084e-06/0.866, allocations: 0 / 1.374 GB, free: 408 kB / 1.214 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08686/0.9528, allocations: 79.67 MB / 1.452 GB, free: 1.859 MB / 1.292 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.34/11.3, allocations: 2.188 kB / 1.452 GB, free: 1.859 MB / 1.292 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_Validation_VariableSource_fmu --startTime=0 --stopTime=300 --stepSize=0.12 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_CHPs_OrganicRankine_Validation_VariableSource.fmu > Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_OrganicRankine_Validation_VariableSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.577561235055327]