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.0007702/0.0007702, 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.0008084/0.0008084, allocations: 169.9 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.8528/0.8528, 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 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.694/1.694, allocations: 377.8 MB / 0.6221 GB, free: 8.664 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0.981 GB, free: 1.473 MB / 0.8855 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.759e-05/1.963e-05, allocations: 6.219 kB / 0.981 GB, free: 1.465 MB / 0.8855 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.6118/0.6119, allocations: 199.5 MB / 1.176 GB, free: 8.152 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.01485/0.6267, allocations: 11.84 MB / 1.187 GB, free: 13.15 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002711/0.6294, allocations: 91.25 kB / 1.187 GB, free: 13.06 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 0.002472/0.6319, allocations: 1.18 MB / 1.189 GB, free: 11.87 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 0.006677/0.6386, allocations: 3.373 MB / 1.192 GB, free: 8.484 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.003714/0.6423, allocations: 1.916 MB / 1.194 GB, free: 6.582 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 0.006445/0.6487, allocations: 4.276 MB / 1.198 GB, free: 2.293 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001723/0.6505, allocations: 1.129 MB / 1.199 GB, free: 1.133 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005057/0.6555, allocations: 2.759 MB / 1.202 GB, free: 14.37 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001863/0.6574, allocations: 1.246 MB / 1.203 GB, free: 13.12 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 0.000229/0.6576, allocations: 180 kB / 1.203 GB, free: 12.95 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003669/0.6613, allocations: 2.31 MB / 1.205 GB, free: 10.63 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 0.0007026/0.662, allocations: 1.044 MB / 1.206 GB, free: 9.586 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 0.0009861/0.663, allocations: 0.9703 MB / 1.207 GB, free: 8.613 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.007009/0.67, allocations: 4.842 MB / 1.212 GB, free: 3.758 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.67, allocations: 0 / 1.212 GB, free: 3.758 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.433e-06/0.67, allocations: 0 / 1.212 GB, free: 3.758 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.695e-05/0.67, allocations: 0 / 1.212 GB, free: 3.758 MB / 1.042 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.004742/0.6748, allocations: 3.409 MB / 1.215 GB, free: 292 kB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.6748, allocations: 15.97 kB / 1.215 GB, free: 276 kB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001521/0.675, allocations: 169 kB / 1.216 GB, free: 96 kB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002389/0.6774, allocations: 0.8177 MB / 1.216 GB, free: 15.27 MB / 1.057 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006102/0.6835, allocations: 6.26 MB / 1.222 GB, free: 8.957 MB / 1.057 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/0.6836, allocations: 145.5 kB / 1.223 GB, free: 8.801 MB / 1.057 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.6837, allocations: 108 kB / 1.223 GB, free: 8.695 MB / 1.057 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002384/0.6861, allocations: 2.249 MB / 1.225 GB, free: 6.332 MB / 1.057 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.6861, allocations: 3.938 kB / 1.225 GB, free: 6.328 MB / 1.057 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.14e-05/0.6862, allocations: 47.98 kB / 1.225 GB, free: 6.281 MB / 1.057 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.739e-05/0.6862, allocations: 38.08 kB / 1.225 GB, free: 6.242 MB / 1.057 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002802/0.689, allocations: 2.619 MB / 1.228 GB, free: 3.602 MB / 1.057 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.009306/0.6983, allocations: 8.151 MB / 1.235 GB, free: 11.33 MB / 1.073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002619/0.701, allocations: 2.018 MB / 1.237 GB, free: 9.289 MB / 1.073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001114/0.7021, allocations: 0.9438 MB / 1.238 GB, free: 8.332 MB / 1.073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004041/0.7025, allocations: 168.5 kB / 1.239 GB, free: 8.168 MB / 1.073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001225/0.7037, allocations: 1.176 MB / 1.24 GB, free: 6.93 MB / 1.073 GB Notification: Performance of pre-optimization done (n=91): time 3.747e-06/0.7037, allocations: 4 kB / 1.24 GB, free: 6.926 MB / 1.073 GB Notification: Performance of matching and sorting (n=91): time 0.01276/0.7165, allocations: 5.783 MB / 1.245 GB, free: 1.082 MB / 1.073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.714e-05/0.7166, allocations: 149.2 kB / 1.245 GB, free: 0.9062 MB / 1.073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00954/0.7261, allocations: 8.907 MB / 1.254 GB, free: 7.984 MB / 1.089 GB Notification: Performance of collectPreVariables (initialization): time 0.0002567/0.7264, allocations: 45.7 kB / 1.254 GB, free: 7.934 MB / 1.089 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007403/0.7271, allocations: 1.115 MB / 1.255 GB, free: 6.809 MB / 1.089 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002899/0.7274, allocations: 309.3 kB / 1.256 GB, free: 6.504 MB / 1.089 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002779/0.7277, allocations: 214.5 kB / 1.256 GB, free: 6.289 MB / 1.089 GB Notification: Performance of setup shared object (initialization): time 0.000101/0.7278, allocations: 345.9 kB / 1.256 GB, free: 5.945 MB / 1.089 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001233/0.729, allocations: 1.153 MB / 1.257 GB, free: 4.781 MB / 1.089 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001629/0.7306, allocations: 1.596 MB / 1.259 GB, free: 3.047 MB / 1.089 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002168/0.7328, allocations: 2.186 MB / 1.261 GB, free: 0.7695 MB / 1.089 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/0.7328, allocations: 0 / 1.261 GB, free: 0.7695 MB / 1.089 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.005291/0.7381, allocations: 3.762 MB / 1.265 GB, free: 12.96 MB / 1.104 GB Notification: Performance of prepare postOptimizeDAE: time 6.055e-05/0.7382, allocations: 73.95 kB / 1.265 GB, free: 12.88 MB / 1.104 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.7382, allocations: 8 kB / 1.265 GB, free: 12.88 MB / 1.104 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002776/0.7409, allocations: 1.988 MB / 1.267 GB, free: 10.88 MB / 1.104 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005223/0.7415, allocations: 179.8 kB / 1.267 GB, free: 10.7 MB / 1.104 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005989/0.7475, allocations: 6.561 MB / 1.273 GB, free: 3.859 MB / 1.104 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001748/0.7492, allocations: 230.9 kB / 1.273 GB, free: 3.633 MB / 1.104 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/0.7493, allocations: 66.86 kB / 1.274 GB, free: 3.57 MB / 1.104 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.0009869/0.7503, allocations: 0.6684 MB / 1.274 GB, free: 2.879 MB / 1.104 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000548/0.7508, allocations: 286.2 kB / 1.274 GB, free: 2.598 MB / 1.104 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004224/0.7551, allocations: 3.279 MB / 1.278 GB, free: 15.27 MB / 1.12 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.261e-05/0.7551, allocations: 8 kB / 1.278 GB, free: 15.26 MB / 1.12 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.7551, allocations: 0 / 1.278 GB, free: 15.26 MB / 1.12 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/0.7551, allocations: 7.984 kB / 1.278 GB, free: 15.25 MB / 1.12 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007608/0.7627, allocations: 5.539 MB / 1.283 GB, free: 9.59 MB / 1.12 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.281e-06/0.7627, allocations: 3.938 kB / 1.283 GB, free: 9.586 MB / 1.12 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003151/0.763, allocations: 99.88 kB / 1.283 GB, free: 9.488 MB / 1.12 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002541/0.7656, allocations: 1.975 MB / 1.285 GB, free: 7.5 MB / 1.12 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.812e-05/0.7656, allocations: 31.98 kB / 1.285 GB, free: 7.469 MB / 1.12 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00558/0.7712, allocations: 6.492 MB / 1.291 GB, free: 0.6992 MB / 1.12 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/0.7712, allocations: 7.984 kB / 1.291 GB, free: 0.6914 MB / 1.12 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005695/0.7769, allocations: 3.351 MB / 1.295 GB, free: 13.24 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001706/0.7786, allocations: 0.5562 MB / 1.295 GB, free: 12.68 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000319/0.779, allocations: 31.98 kB / 1.295 GB, free: 12.65 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008323/0.7798, allocations: 130.5 kB / 1.295 GB, free: 12.53 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001663/0.78, allocations: 76.47 kB / 1.296 GB, free: 12.45 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.807e-05/0.78, allocations: 47.95 kB / 1.296 GB, free: 12.41 MB / 1.135 GB Notification: Performance of sorting global known variables: time 0.005117/0.7851, allocations: 6.831 MB / 1.302 GB, free: 5.574 MB / 1.135 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7851, allocations: 0 / 1.302 GB, free: 5.574 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.001816/0.787, allocations: 0.7373 MB / 1.303 GB, free: 4.836 MB / 1.135 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.005378/0.7923, allocations: 4.318 MB / 1.307 GB, free: 428 kB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.002992/0.7953, allocations: 2.673 MB / 1.31 GB, free: 13.67 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/0.7953, allocations: 0 / 1.31 GB, free: 13.67 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.00143/0.7968, allocations: 1.386 MB / 1.311 GB, free: 12.22 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002953/0.7997, allocations: 1.021 MB / 1.312 GB, free: 11.2 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04644/0.8462, allocations: 41.77 MB / 1.353 GB, free: 0.9648 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000916/0.8471, allocations: 1.112 MB / 1.354 GB, free: 15.82 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.001282/0.8484, allocations: 427 kB / 1.354 GB, free: 15.39 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009219/0.8493, allocations: 0.9728 MB / 1.355 GB, free: 14.42 MB / 1.198 GB Notification: Performance of SimCode: time 2.114e-06/0.8493, allocations: 0 / 1.355 GB, free: 14.42 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09635/0.9456, allocations: 80.08 MB / 1.434 GB, free: 15.63 MB / 1.276 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.749/10.69, allocations: 13.41 kB / 1.434 GB, free: 15.62 MB / 1.276 GB " [Timeout remaining time 289] (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/jenkins/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: 14.739357802085578]