Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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.00141/0.00141, allocations: 105.8 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.001351/0.001351, allocations: 187.7 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.451/1.451, allocations: 225.6 MB / 247.8 MB, free: 3.719 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.902/2.902, allocations: 497.2 MB / 0.7812 GB, free: 12.04 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.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 67.89 kB / 1.134 GB, free: 13.14 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8522/0.8543, allocations: 173.9 MB / 1.304 GB, free: 32.14 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1973/1.052, allocations: 168.9 MB / 1.469 GB, free: 5.465 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02507/1.077, allocations: 17.16 MB / 1.486 GB, free: 8.434 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001936/1.079, allocations: 29.72 kB / 1.486 GB, free: 8.422 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.001885/1.08, allocations: 0.5748 MB / 1.486 GB, free: 7.934 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.005286/1.086, allocations: 1.64 MB / 1.488 GB, free: 6.68 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.003567/1.089, allocations: 1.338 MB / 1.489 GB, free: 5.66 MB / 1.17 GB Notification: Performance of NFFlatten.flatten: time 0.003735/1.093, allocations: 2.693 MB / 1.492 GB, free: 4.031 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002372/1.095, allocations: 1.543 MB / 1.493 GB, free: 2.898 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004374/1.1, allocations: 1.384 MB / 1.495 GB, free: 2.117 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001902/1.102, allocations: 0.9922 MB / 1.496 GB, free: 1.438 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0005761/1.102, allocations: 210.8 kB / 1.496 GB, free: 1.434 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003682/1.106, allocations: 1.475 MB / 1.497 GB, free: 0.7188 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.0009795/1.107, allocations: 0.5584 MB / 1.498 GB, free: 288 kB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.002412/1.109, allocations: 1.036 MB / 1.499 GB, free: 15.55 MB / 1.186 GB Notification: Performance of NFConvertDAE.convert: time 0.006353/1.116, allocations: 3.129 MB / 1.502 GB, free: 12.82 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.553e-06/1.116, allocations: 0 / 1.502 GB, free: 12.82 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.215e-06/1.116, allocations: 0 / 1.502 GB, free: 12.82 MB / 1.186 GB Notification: Performance of Transformations before backend: time 8.194e-05/1.116, allocations: 0 / 1.502 GB, free: 12.82 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.004494/1.12, allocations: 2.342 MB / 1.504 GB, free: 10.41 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/1.12, allocations: 12.03 kB / 1.504 GB, free: 10.4 MB / 1.186 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000312/1.121, allocations: 257 kB / 1.504 GB, free: 10.14 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003658/1.124, allocations: 0.5178 MB / 1.505 GB, free: 9.617 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002255/1.127, allocations: 1.126 MB / 1.506 GB, free: 8.445 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001324/1.127, allocations: 131.4 kB / 1.506 GB, free: 8.316 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000296/1.127, allocations: 164 kB / 1.506 GB, free: 8.156 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00357/1.131, allocations: 1.847 MB / 1.508 GB, free: 6.258 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.195e-05/1.131, allocations: 0 / 1.508 GB, free: 6.258 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001709/1.131, allocations: 76 kB / 1.508 GB, free: 6.184 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.504e-05/1.131, allocations: 40 kB / 1.508 GB, free: 6.145 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003411/1.134, allocations: 1.875 MB / 1.51 GB, free: 4.266 MB / 1.186 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009325/1.144, allocations: 5.729 MB / 1.516 GB, free: 14.15 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003151/1.147, allocations: 1.671 MB / 1.517 GB, free: 12.41 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001211/1.148, allocations: 0.589 MB / 1.518 GB, free: 11.82 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001057/1.149, allocations: 0.8156 MB / 1.519 GB, free: 10.84 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001778/1.151, allocations: 0.8918 MB / 1.519 GB, free: 9.926 MB / 1.201 GB Notification: Performance of pre-optimization done (n=146): time 3.897e-06/1.151, allocations: 0 / 1.519 GB, free: 9.926 MB / 1.201 GB Notification: Performance of matching and sorting (n=146): time 0.00645/1.157, allocations: 2.553 MB / 1.522 GB, free: 7.262 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/1.157, allocations: 205.2 kB / 1.522 GB, free: 7.02 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001221/1.159, allocations: 0.8271 MB / 1.523 GB, free: 6.168 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001741/1.159, allocations: 61.7 kB / 1.523 GB, free: 6.102 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006527/1.159, allocations: 0.6577 MB / 1.524 GB, free: 5.434 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004869/1.16, allocations: 0.4957 MB / 1.524 GB, free: 4.934 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003993/1.16, allocations: 234.8 kB / 1.524 GB, free: 4.695 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.000175/1.16, allocations: 353.9 kB / 1.525 GB, free: 4.344 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001017/1.161, allocations: 478.4 kB / 1.525 GB, free: 3.879 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001198/1.163, allocations: 0.6379 MB / 1.526 GB, free: 3.199 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002178/1.165, allocations: 1.095 MB / 1.527 GB, free: 2.094 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.708e-06/1.165, allocations: 0 / 1.527 GB, free: 2.094 MB / 1.201 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.00364/1.168, allocations: 1.5 MB / 1.528 GB, free: 0.5703 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 2.404e-05/1.168, allocations: 8 kB / 1.528 GB, free: 0.5625 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/1.168, allocations: 3.938 kB / 1.528 GB, free: 0.5586 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009169/1.169, allocations: 192.3 kB / 1.529 GB, free: 364 kB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00159/1.171, allocations: 335.5 kB / 1.529 GB, free: 28 kB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006894/1.178, allocations: 7.292 MB / 1.536 GB, free: 8.027 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00151/1.179, allocations: 153 kB / 1.536 GB, free: 7.879 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001556/1.18, allocations: 51.91 kB / 1.536 GB, free: 7.828 MB / 1.217 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0008622/1.18, allocations: 377.5 kB / 1.537 GB, free: 7.449 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000382/1.181, allocations: 135.2 kB / 1.537 GB, free: 7.316 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004186/1.185, allocations: 1.839 MB / 1.538 GB, free: 5.453 MB / 1.217 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.812e-05/1.185, allocations: 16 kB / 1.538 GB, free: 5.438 MB / 1.217 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/1.185, allocations: 0 / 1.538 GB, free: 5.438 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.744e-05/1.185, allocations: 11.97 kB / 1.538 GB, free: 5.426 MB / 1.217 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006494/1.192, allocations: 3.448 MB / 1.542 GB, free: 1.898 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.242e-06/1.192, allocations: 0 / 1.542 GB, free: 1.898 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001431/1.193, allocations: 307.6 kB / 1.542 GB, free: 1.598 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007426/1.194, allocations: 184.1 kB / 1.542 GB, free: 1.402 MB / 1.217 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000102/1.194, allocations: 43.95 kB / 1.542 GB, free: 1.359 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006486/1.2, allocations: 7.323 MB / 1.55 GB, free: 9.324 MB / 1.232 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.363e-06/1.2, allocations: 0 / 1.55 GB, free: 9.324 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003888/1.204, allocations: 1.713 MB / 1.551 GB, free: 7.574 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008168/1.205, allocations: 407.7 kB / 1.552 GB, free: 7.156 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001838/1.205, allocations: 39.92 kB / 1.552 GB, free: 7.117 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001092/1.206, allocations: 93.41 kB / 1.552 GB, free: 7.027 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002811/1.207, allocations: 121.1 kB / 1.552 GB, free: 6.91 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001513/1.207, allocations: 71.95 kB / 1.552 GB, free: 6.84 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0009242/1.208, allocations: 0.5786 MB / 1.552 GB, free: 6.25 MB / 1.232 GB Notification: Performance of sort global known variables: time 1.1e-07/1.208, allocations: 0 / 1.552 GB, free: 6.25 MB / 1.232 GB Notification: Performance of remove unused functions: time 0.00204/1.21, allocations: 0.6 MB / 1.553 GB, free: 5.648 MB / 1.232 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006161/1.216, allocations: 2.892 MB / 1.556 GB, free: 2.918 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.003406/1.219, allocations: 1.789 MB / 1.558 GB, free: 1.066 MB / 1.232 GB Notification: Performance of simCode: created event and clocks part: time 9.398e-06/1.219, allocations: 0.5625 kB / 1.558 GB, free: 1.066 MB / 1.232 GB Notification: Performance of simCode: created simulation system equations: time 0.002092/1.221, allocations: 1.254 MB / 1.559 GB, free: 15.75 MB / 1.248 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002368/1.224, allocations: 0.5263 MB / 1.559 GB, free: 15.24 MB / 1.248 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01847/1.242, allocations: 9.969 MB / 1.569 GB, free: 5.098 MB / 1.248 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001018/1.243, allocations: 1.29 MB / 1.57 GB, free: 3.777 MB / 1.248 GB Notification: Performance of simCode: alias equations: time 0.001558/1.245, allocations: 450.4 kB / 1.571 GB, free: 3.332 MB / 1.248 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009253/1.246, allocations: 0.6437 MB / 1.571 GB, free: 2.688 MB / 1.248 GB Notification: Performance of SimCode: time 1.143e-06/1.246, allocations: 0 / 1.571 GB, free: 2.688 MB / 1.248 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09279/1.338, allocations: 37.78 MB / 1.608 GB, free: 13.32 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.86/16.2, allocations: 14.11 kB / 1.608 GB, free: 13.31 MB / 1.295 GB " [Timeout remaining time 284] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --stepSize=241.92 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpLowRise.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpLowRise.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpLowRise.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: 22.697025118861347]