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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001946/0.001946, allocations: 102.7 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001493/0.001493, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.493/1.493, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.899/2.899, allocations: 497.2 MB / 0.7812 GB, free: 11.89 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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: "" <> 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 0.002055/0.002055, allocations: 67.89 kB / 1.134 GB, free: 11.04 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.176/1.178, allocations: 173.9 MB / 1.304 GB, free: 15.66 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.2852/1.463, allocations: 225.7 MB / 1.524 GB, free: 2.406 MB / 1.201 GB Notification: Performance of NFInst.instExpressions: time 0.02258/1.486, allocations: 12.7 MB / 1.537 GB, free: 5.676 MB / 1.217 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003601/1.49, allocations: 71.62 kB / 1.537 GB, free: 5.605 MB / 1.217 GB Notification: Performance of NFTyping.typeComponents: time 0.003719/1.493, allocations: 1.232 MB / 1.538 GB, free: 4.367 MB / 1.217 GB Notification: Performance of NFTyping.typeBindings: time 0.009432/1.503, allocations: 3.286 MB / 1.541 GB, free: 1.07 MB / 1.217 GB Notification: Performance of NFTyping.typeClassSections: time 0.006038/1.509, allocations: 1.826 MB / 1.543 GB, free: 15.25 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.007717/1.517, allocations: 4.165 MB / 1.547 GB, free: 11.08 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002298/1.519, allocations: 1.171 MB / 1.548 GB, free: 9.875 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005626/1.524, allocations: 2.154 MB / 1.55 GB, free: 7.715 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002898/1.527, allocations: 1.466 MB / 1.552 GB, free: 6.246 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.0004298/1.528, allocations: 180 kB / 1.552 GB, free: 6.07 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005785/1.534, allocations: 2.787 MB / 1.555 GB, free: 3.277 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.00119/1.535, allocations: 1.005 MB / 1.556 GB, free: 2.27 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.002161/1.537, allocations: 1.446 MB / 1.557 GB, free: 0.8164 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.009357/1.546, allocations: 4.792 MB / 1.562 GB, free: 12.01 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/1.546, allocations: 7.984 kB / 1.562 GB, free: 12 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.974e-06/1.546, allocations: 0 / 1.562 GB, free: 12 MB / 1.248 GB Notification: Performance of Transformations before backend: time 9.068e-05/1.546, allocations: 0 / 1.562 GB, free: 12 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.007728/1.554, allocations: 3.465 MB / 1.565 GB, free: 8.453 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.866e-05/1.554, allocations: 8.031 kB / 1.565 GB, free: 8.445 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002319/1.554, allocations: 177 kB / 1.565 GB, free: 8.262 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004836/1.559, allocations: 0.8138 MB / 1.566 GB, free: 7.445 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01015/1.569, allocations: 6.303 MB / 1.572 GB, free: 1.074 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001927/1.57, allocations: 123.8 kB / 1.572 GB, free: 0.9453 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002666/1.57, allocations: 108 kB / 1.572 GB, free: 0.8398 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003974/1.574, allocations: 2.058 MB / 1.574 GB, free: 14.71 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.113e-05/1.574, allocations: 8 kB / 1.574 GB, free: 14.7 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001283/1.574, allocations: 44 kB / 1.575 GB, free: 14.66 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.723e-05/1.574, allocations: 38.08 kB / 1.575 GB, free: 14.62 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004888/1.579, allocations: 2.561 MB / 1.577 GB, free: 12.05 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.01635/1.595, allocations: 9.544 MB / 1.586 GB, free: 2.195 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004301/1.6, allocations: 2.093 MB / 1.588 GB, free: 64 kB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00193/1.601, allocations: 0.8871 MB / 1.589 GB, free: 15.17 MB / 1.279 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001389/1.603, allocations: 1.06 MB / 1.59 GB, free: 13.89 MB / 1.279 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002055/1.605, allocations: 1.024 MB / 1.591 GB, free: 12.85 MB / 1.279 GB Notification: Performance of pre-optimization done (n=91): time 3.837e-06/1.605, allocations: 4 kB / 1.591 GB, free: 12.84 MB / 1.279 GB Notification: Performance of matching and sorting (n=91): time 0.02342/1.628, allocations: 5.944 MB / 1.597 GB, free: 6.793 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001332/1.628, allocations: 153.2 kB / 1.597 GB, free: 6.613 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01354/1.642, allocations: 8.883 MB / 1.606 GB, free: 13.71 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0003038/1.642, allocations: 45.7 kB / 1.606 GB, free: 13.66 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.001272/1.644, allocations: 1.111 MB / 1.607 GB, free: 12.54 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005043/1.644, allocations: 317.3 kB / 1.607 GB, free: 12.23 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004553/1.645, allocations: 218.5 kB / 1.608 GB, free: 12.01 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001812/1.645, allocations: 345.9 kB / 1.608 GB, free: 11.66 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002047/1.647, allocations: 1.092 MB / 1.609 GB, free: 10.57 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002296/1.649, allocations: 1.301 MB / 1.61 GB, free: 9.199 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004078/1.653, allocations: 2.175 MB / 1.612 GB, free: 6.941 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/1.653, allocations: 4 kB / 1.612 GB, free: 6.938 MB / 1.295 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.009262/1.662, allocations: 3.684 MB / 1.616 GB, free: 3.215 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 9.841e-05/1.663, allocations: 71.39 kB / 1.616 GB, free: 3.133 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/1.663, allocations: 7.938 kB / 1.616 GB, free: 3.125 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004734/1.667, allocations: 1.983 MB / 1.618 GB, free: 1.129 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009815/1.668, allocations: 191.7 kB / 1.618 GB, free: 0.9414 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01028/1.679, allocations: 6.777 MB / 1.625 GB, free: 9.828 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003034/1.682, allocations: 246.9 kB / 1.625 GB, free: 9.586 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002919/1.682, allocations: 48.08 kB / 1.625 GB, free: 9.539 MB / 1.311 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.00148/1.683, allocations: 0.6686 MB / 1.626 GB, free: 8.848 MB / 1.311 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008583/1.684, allocations: 278.5 kB / 1.626 GB, free: 8.574 MB / 1.311 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008609/1.693, allocations: 3.201 MB / 1.629 GB, free: 5.332 MB / 1.311 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.527e-05/1.693, allocations: 8 kB / 1.629 GB, free: 5.324 MB / 1.311 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/1.693, allocations: 0 / 1.629 GB, free: 5.324 MB / 1.311 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.611e-05/1.693, allocations: 15.97 kB / 1.629 GB, free: 5.309 MB / 1.311 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01383/1.707, allocations: 5.876 MB / 1.635 GB, free: 15.3 MB / 1.326 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.23e-05/1.707, allocations: 4 kB / 1.635 GB, free: 15.3 MB / 1.326 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006619/1.707, allocations: 103.8 kB / 1.635 GB, free: 15.2 MB / 1.326 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00479/1.712, allocations: 1.975 MB / 1.637 GB, free: 13.21 MB / 1.326 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001823/1.712, allocations: 31.97 kB / 1.637 GB, free: 13.18 MB / 1.326 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009635/1.722, allocations: 6.737 MB / 1.644 GB, free: 6.109 MB / 1.326 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.631e-06/1.722, allocations: 3.938 kB / 1.644 GB, free: 6.105 MB / 1.326 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00827/1.73, allocations: 3.277 MB / 1.647 GB, free: 2.754 MB / 1.326 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002/1.732, allocations: 0.616 MB / 1.647 GB, free: 2.117 MB / 1.326 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005752/1.733, allocations: 31.92 kB / 1.647 GB, free: 2.086 MB / 1.326 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001776/1.735, allocations: 131.9 kB / 1.648 GB, free: 1.957 MB / 1.326 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002119/1.735, allocations: 72.5 kB / 1.648 GB, free: 1.887 MB / 1.326 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/1.735, allocations: 43.97 kB / 1.648 GB, free: 1.844 MB / 1.326 GB Notification: Performance of sorting global known variables: time 0.008964/1.744, allocations: 6.831 MB / 1.654 GB, free: 11.01 MB / 1.342 GB Notification: Performance of sort global known variables: time 8.1e-08/1.744, allocations: 0 / 1.654 GB, free: 11.01 MB / 1.342 GB Notification: Performance of remove unused functions: time 0.002982/1.747, allocations: 0.7412 MB / 1.655 GB, free: 10.27 MB / 1.342 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.01023/1.757, allocations: 4.241 MB / 1.659 GB, free: 5.949 MB / 1.342 GB Notification: Performance of simCode: created initialization part: time 0.005677/1.763, allocations: 2.526 MB / 1.662 GB, free: 3.375 MB / 1.342 GB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/1.763, allocations: 4 kB / 1.662 GB, free: 3.371 MB / 1.342 GB Notification: Performance of simCode: created simulation system equations: time 0.002815/1.766, allocations: 1.328 MB / 1.663 GB, free: 1.992 MB / 1.342 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00682/1.772, allocations: 1.022 MB / 1.664 GB, free: 0.9805 MB / 1.342 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07591/1.848, allocations: 41.47 MB / 1.704 GB, free: 7.094 MB / 1.389 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001604/1.85, allocations: 1.684 MB / 1.706 GB, free: 5.379 MB / 1.389 GB Notification: Performance of simCode: alias equations: time 0.001816/1.852, allocations: 426.9 kB / 1.706 GB, free: 4.957 MB / 1.389 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001627/1.853, allocations: 0.9601 MB / 1.707 GB, free: 3.996 MB / 1.389 GB Notification: Performance of SimCode: time 1.713e-06/1.853, allocations: 3.938 kB / 1.707 GB, free: 3.992 MB / 1.389 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1595/2.013, allocations: 78.94 MB / 1.784 GB, free: 5.871 MB / 1.467 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.31/20.33, allocations: 6.875 kB / 1.784 GB, free: 5.867 MB / 1.467 GB " [Timeout remaining time 280] (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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 27.116172204725444]