Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.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.0007376/0.0007376, 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.0007739/0.0007739, 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.8164/0.8164, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.723/1.723, allocations: 389 MB / 0.633 GB, free: 12.71 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.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.9997 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.057e-05/2.211e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.519/0.519, allocations: 135.9 MB / 1.132 GB, free: 15.61 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.01079/0.5298, allocations: 9.926 MB / 1.142 GB, free: 8.98 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009204/0.5307, allocations: 25.56 kB / 1.142 GB, free: 8.969 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0008067/0.5315, allocations: 298.6 kB / 1.142 GB, free: 8.773 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 0.002468/0.534, allocations: 1.011 MB / 1.143 GB, free: 8.227 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.00217/0.5361, allocations: 1.134 MB / 1.144 GB, free: 7.613 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.001787/0.5379, allocations: 1.802 MB / 1.146 GB, free: 6.68 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001132/0.5391, allocations: 0.8974 MB / 1.147 GB, free: 6.215 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001871/0.5409, allocations: 1.047 MB / 1.148 GB, free: 5.738 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000658/0.5416, allocations: 0.5105 MB / 1.149 GB, free: 5.547 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0001897/0.5418, allocations: 142.8 kB / 1.149 GB, free: 5.547 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001795/0.5436, allocations: 1.019 MB / 1.15 GB, free: 5.277 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0002917/0.5439, allocations: 410.7 kB / 1.15 GB, free: 5.027 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0004252/0.5443, allocations: 484.4 kB / 1.151 GB, free: 4.789 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.003279/0.5476, allocations: 2.478 MB / 1.153 GB, free: 3.816 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.5476, allocations: 4.516 kB / 1.153 GB, free: 3.812 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.733e-06/0.5476, allocations: 0 / 1.153 GB, free: 3.812 MB / 1.01 GB Notification: Performance of Transformations before backend: time 2.299e-05/0.5476, allocations: 0 / 1.153 GB, free: 3.812 MB / 1.01 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 250 * Number of variables: 250 Notification: Performance of Generate backend data structure: time 0.002655/0.5503, allocations: 1.75 MB / 1.155 GB, free: 2.695 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.104e-05/0.5503, allocations: 10.38 kB / 1.155 GB, free: 2.695 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001499/0.5504, allocations: 152.2 kB / 1.155 GB, free: 2.598 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001235/0.5517, allocations: 326.1 kB / 1.155 GB, free: 2.508 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/0.5529, allocations: 1.031 MB / 1.156 GB, free: 1.941 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.663e-05/0.553, allocations: 78.98 kB / 1.156 GB, free: 1.906 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001055/0.5531, allocations: 105.3 kB / 1.156 GB, free: 1.871 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001521/0.5546, allocations: 1.508 MB / 1.158 GB, free: 0.918 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.639e-05/0.5546, allocations: 1.125 kB / 1.158 GB, free: 0.918 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.098e-05/0.5547, allocations: 43.33 kB / 1.158 GB, free: 0.8867 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.71e-05/0.5547, allocations: 23.31 kB / 1.158 GB, free: 0.8867 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001593/0.5563, allocations: 1.279 MB / 1.159 GB, free: 0.5703 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003803/0.5601, allocations: 2.83 MB / 1.162 GB, free: 15.03 MB / 1.026 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001385/0.5615, allocations: 1.018 MB / 1.163 GB, free: 14.65 MB / 1.026 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005198/0.562, allocations: 410 kB / 1.163 GB, free: 14.5 MB / 1.026 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001587/0.5622, allocations: 52.83 kB / 1.163 GB, free: 14.49 MB / 1.026 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008636/0.5631, allocations: 0.8628 MB / 1.164 GB, free: 13.96 MB / 1.026 GB Notification: Performance of pre-optimization done (n=103): time 3.306e-06/0.5631, allocations: 4 kB / 1.164 GB, free: 13.96 MB / 1.026 GB Notification: Performance of matching and sorting (n=103): time 0.002639/0.5657, allocations: 1.53 MB / 1.166 GB, free: 13.43 MB / 1.026 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.007e-05/0.5658, allocations: 204.5 kB / 1.166 GB, free: 13.2 MB / 1.026 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001041/0.5668, allocations: 1.05 MB / 1.167 GB, free: 12.8 MB / 1.026 GB Notification: Performance of collectPreVariables (initialization): time 7.829e-05/0.5669, allocations: 55.72 kB / 1.167 GB, free: 12.75 MB / 1.026 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003039/0.5672, allocations: 485.2 kB / 1.167 GB, free: 12.38 MB / 1.026 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001931/0.5674, allocations: 345.1 kB / 1.168 GB, free: 12.1 MB / 1.026 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002043/0.5676, allocations: 185 kB / 1.168 GB, free: 12.02 MB / 1.026 GB Notification: Performance of setup shared object (initialization): time 9.105e-05/0.5677, allocations: 339.1 kB / 1.168 GB, free: 11.7 MB / 1.026 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004796/0.5682, allocations: 362.6 kB / 1.169 GB, free: 11.58 MB / 1.026 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006293/0.5688, allocations: 0.6947 MB / 1.169 GB, free: 11.09 MB / 1.026 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00101/0.5698, allocations: 0.8127 MB / 1.17 GB, free: 10.73 MB / 1.026 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.5698, allocations: 0 / 1.17 GB, free: 10.73 MB / 1.026 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001657/0.5715, allocations: 1.114 MB / 1.171 GB, free: 10.3 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 2.006e-05/0.5715, allocations: 9.031 kB / 1.171 GB, free: 10.3 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.5715, allocations: 0.7188 kB / 1.171 GB, free: 10.3 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003969/0.5719, allocations: 123 kB / 1.171 GB, free: 10.26 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005068/0.5724, allocations: 210 kB / 1.171 GB, free: 10.23 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00194/0.5743, allocations: 2.838 MB / 1.174 GB, free: 7.531 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005532/0.5749, allocations: 124.1 kB / 1.174 GB, free: 7.469 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.699e-05/0.5749, allocations: 34.14 kB / 1.174 GB, free: 7.465 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 25 (weaDat.decAng.k,$PRE.weaDat.decAng.k,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.k,$PRE.weaDat.eqnTim.k,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.k,$PRE.weaDat.conTim.k,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.k,$PRE.weaDat.conTimMin.k,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.k,$PRE.weaDat.locTim.k,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 (113): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.000597/0.5755, allocations: 319.8 kB / 1.175 GB, free: 7.242 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002099/0.5758, allocations: 111.8 kB / 1.175 GB, free: 7.184 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001928/0.5777, allocations: 1.347 MB / 1.176 GB, free: 6.66 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.825e-06/0.5777, allocations: 11.38 kB / 1.176 GB, free: 6.66 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.5777, allocations: 3.938 kB / 1.176 GB, free: 6.656 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.5777, allocations: 6.859 kB / 1.176 GB, free: 6.656 MB / 1.026 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003132/0.5808, allocations: 2.444 MB / 1.179 GB, free: 5.516 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.848e-06/0.5808, allocations: 0 / 1.179 GB, free: 5.516 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004523/0.5813, allocations: 189.8 kB / 1.179 GB, free: 5.504 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002788/0.5816, allocations: 103.2 kB / 1.179 GB, free: 5.473 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.793e-05/0.5816, allocations: 31.56 kB / 1.179 GB, free: 5.457 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001792/0.5834, allocations: 2.873 MB / 1.182 GB, free: 2.734 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.5834, allocations: 8.188 kB / 1.182 GB, free: 2.727 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001735/0.5851, allocations: 1.276 MB / 1.183 GB, free: 2.168 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004289/0.5856, allocations: 262.7 kB / 1.183 GB, free: 2.02 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.5857, allocations: 24.03 kB / 1.183 GB, free: 2.004 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004347/0.5861, allocations: 86.27 kB / 1.183 GB, free: 1.984 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/0.5862, allocations: 85.95 kB / 1.183 GB, free: 1.973 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.414e-05/0.5863, allocations: 43.95 kB / 1.183 GB, free: 1.965 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0007079/0.587, allocations: 0.7668 MB / 1.184 GB, free: 1.668 MB / 1.026 GB Notification: Performance of sort global known variables: time 8e-08/0.587, allocations: 1.062 kB / 1.184 GB, free: 1.668 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.001203/0.5882, allocations: 459.6 kB / 1.185 GB, free: 1.555 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.locTim.k,weaDat.conTimMin.tNext,weaDat.conTimMin.k,weaDat.conTim.tNext,weaDat.conTim.k,weaDat.eqnTim.tNext,weaDat.eqnTim.k,weaDat.decAng.tNext,weaDat.decAng.k) * Number of discrete states: 10 (weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.locTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext,weaDat.decAng.k,weaDat.eqnTim.k,weaDat.conTim.k,weaDat.conTimMin.k,weaDat.locTim.k) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,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.003064/0.5913, allocations: 2.507 MB / 1.187 GB, free: 260 kB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.001563/0.5929, allocations: 1.116 MB / 1.188 GB, free: 15.76 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.5929, allocations: 1.031 kB / 1.188 GB, free: 15.76 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007508/0.5936, allocations: 0.7169 MB / 1.189 GB, free: 15.38 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.5946, allocations: 361.9 kB / 1.189 GB, free: 15.25 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009406/0.604, allocations: 8.721 MB / 1.198 GB, free: 11.21 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003448/0.6044, allocations: 0.5166 MB / 1.198 GB, free: 11.07 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 0.0007733/0.6051, allocations: 317.2 kB / 1.198 GB, free: 10.98 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004632/0.6056, allocations: 482.2 kB / 1.199 GB, free: 10.65 MB / 1.042 GB Notification: Performance of SimCode: time 1.223e-06/0.6056, allocations: 0 / 1.199 GB, free: 10.65 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04508/0.6507, allocations: 31.13 MB / 1.229 GB, free: 404 kB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.538/9.189, allocations: 4.234 kB / 1.229 GB, free: 404 kB / 1.057 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.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: 13.204214638099074]