Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007504/0.0007504, 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.0008164/0.0008164, 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.8449/0.8449, allocations: 177.2 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.657/1.657, 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.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 3.938 kB / 0.9809 GB, free: 2.598 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.815e-05/1.957e-05, allocations: 2.281 kB / 0.981 GB, free: 2.594 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.4942/0.4942, allocations: 135.9 MB / 1.114 GB, free: 21.16 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.008002/0.5022, allocations: 9.953 MB / 1.123 GB, free: 14.52 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004611/0.5027, allocations: 28.75 kB / 1.123 GB, free: 14.51 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0006692/0.5034, allocations: 292.1 kB / 1.124 GB, free: 14.32 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.00183/0.5052, allocations: 1.015 MB / 1.125 GB, free: 13.77 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.00169/0.5069, allocations: 1.128 MB / 1.126 GB, free: 13.16 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.001046/0.5079, allocations: 1.816 MB / 1.128 GB, free: 12.21 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008004/0.5087, allocations: 0.9445 MB / 1.128 GB, free: 11.73 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001284/0.51, allocations: 1.049 MB / 1.13 GB, free: 11.25 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004446/0.5105, allocations: 0.516 MB / 1.13 GB, free: 11.06 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001398/0.5106, allocations: 141.9 kB / 1.13 GB, free: 11.06 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001225/0.5118, allocations: 1.035 MB / 1.131 GB, free: 10.77 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002235/0.5121, allocations: 406 kB / 1.132 GB, free: 10.53 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003205/0.5124, allocations: 484.2 kB / 1.132 GB, free: 10.29 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.001955/0.5143, allocations: 2.473 MB / 1.134 GB, free: 9.324 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.5143, allocations: 3.656 kB / 1.134 GB, free: 9.324 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.183e-06/0.5143, allocations: 1.312 kB / 1.134 GB, free: 9.324 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.454e-05/0.5144, allocations: 4 kB / 1.134 GB, free: 9.32 MB / 0.9948 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.001854/0.5162, allocations: 1.747 MB / 1.136 GB, free: 8.207 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.5162, allocations: 9.656 kB / 1.136 GB, free: 8.207 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001417/0.5164, allocations: 156.8 kB / 1.136 GB, free: 8.105 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001115/0.5175, allocations: 325.1 kB / 1.137 GB, free: 8.016 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001007/0.5185, allocations: 1.038 MB / 1.138 GB, free: 7.445 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.651e-05/0.5186, allocations: 76.61 kB / 1.138 GB, free: 7.41 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.269e-05/0.5186, allocations: 105.7 kB / 1.138 GB, free: 7.375 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001326/0.52, allocations: 1.502 MB / 1.139 GB, free: 6.426 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.52, allocations: 7.938 kB / 1.139 GB, free: 6.418 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.477e-05/0.5201, allocations: 44.62 kB / 1.139 GB, free: 6.387 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.786e-05/0.5201, allocations: 23.75 kB / 1.139 GB, free: 6.387 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001499/0.5216, allocations: 1.274 MB / 1.141 GB, free: 6.078 MB / 0.9948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003138/0.5247, allocations: 2.83 MB / 1.143 GB, free: 4.535 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001334/0.526, allocations: 1.02 MB / 1.144 GB, free: 4.164 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005202/0.5266, allocations: 410.1 kB / 1.145 GB, free: 4.012 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001564/0.5267, allocations: 52.41 kB / 1.145 GB, free: 4.008 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008417/0.5276, allocations: 0.8621 MB / 1.146 GB, free: 3.477 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=103): time 2.104e-06/0.5276, allocations: 0 / 1.146 GB, free: 3.477 MB / 0.9948 GB Notification: Performance of matching and sorting (n=103): time 0.002677/0.5302, allocations: 1.534 MB / 1.147 GB, free: 2.941 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.5303, allocations: 201.6 kB / 1.147 GB, free: 2.719 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009325/0.5312, allocations: 1.053 MB / 1.148 GB, free: 2.32 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 6.315e-05/0.5313, allocations: 55.09 kB / 1.148 GB, free: 2.27 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002315/0.5315, allocations: 491.5 kB / 1.149 GB, free: 1.887 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000146/0.5317, allocations: 351.1 kB / 1.149 GB, free: 1.605 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002023/0.5319, allocations: 186.5 kB / 1.149 GB, free: 1.523 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 5.083e-05/0.5319, allocations: 341.5 kB / 1.15 GB, free: 1.203 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004835/0.5324, allocations: 353.5 kB / 1.15 GB, free: 1.086 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005711/0.533, allocations: 0.6986 MB / 1.151 GB, free: 0.5859 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009625/0.5339, allocations: 0.8055 MB / 1.152 GB, free: 240 kB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.5339, allocations: 5.594 kB / 1.152 GB, free: 236 kB / 0.9948 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00154/0.5355, allocations: 1.107 MB / 1.153 GB, free: 15.8 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.5355, allocations: 5.5 kB / 1.153 GB, free: 15.8 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.5355, allocations: 0.6094 kB / 1.153 GB, free: 15.8 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003804/0.5359, allocations: 118.8 kB / 1.153 GB, free: 15.77 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004814/0.5364, allocations: 213.8 kB / 1.153 GB, free: 15.75 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001843/0.5382, allocations: 2.838 MB / 1.156 GB, free: 13.04 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004395/0.5386, allocations: 121.2 kB / 1.156 GB, free: 12.98 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.778e-05/0.5387, allocations: 41.89 kB / 1.156 GB, free: 12.97 MB / 1.01 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.0003337/0.539, allocations: 310.9 kB / 1.156 GB, free: 12.75 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001389/0.5392, allocations: 116.7 kB / 1.156 GB, free: 12.69 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00184/0.541, allocations: 1.354 MB / 1.158 GB, free: 12.17 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.444e-06/0.541, allocations: 12.67 kB / 1.158 GB, free: 12.17 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.541, allocations: 0 / 1.158 GB, free: 12.17 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.25e-05/0.541, allocations: 10.95 kB / 1.158 GB, free: 12.17 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00298/0.544, allocations: 2.454 MB / 1.16 GB, free: 11.02 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.544, allocations: 0.75 kB / 1.16 GB, free: 11.02 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000441/0.5445, allocations: 193.5 kB / 1.16 GB, free: 11 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002764/0.5447, allocations: 111 kB / 1.16 GB, free: 10.96 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.901e-05/0.5448, allocations: 27.25 kB / 1.16 GB, free: 10.95 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001631/0.5464, allocations: 2.874 MB / 1.163 GB, free: 8.227 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.5464, allocations: 11.94 kB / 1.163 GB, free: 8.215 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/0.548, allocations: 1.28 MB / 1.164 GB, free: 7.66 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000343/0.5484, allocations: 263.6 kB / 1.165 GB, free: 7.512 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.158e-05/0.5485, allocations: 25.2 kB / 1.165 GB, free: 7.496 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004062/0.5489, allocations: 82.86 kB / 1.165 GB, free: 7.477 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.549, allocations: 87.56 kB / 1.165 GB, free: 7.465 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.22e-05/0.5491, allocations: 43.31 kB / 1.165 GB, free: 7.457 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0006803/0.5498, allocations: 0.7694 MB / 1.166 GB, free: 7.16 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/0.5498, allocations: 0 / 1.166 GB, free: 7.16 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.000968/0.5507, allocations: 462 kB / 1.166 GB, free: 7.047 MB / 1.01 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 (112): * Single equations (assignments): 100 * 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.002938/0.5537, allocations: 2.501 MB / 1.168 GB, free: 5.754 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.001427/0.5551, allocations: 1.119 MB / 1.17 GB, free: 5.254 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5551, allocations: 1.062 kB / 1.17 GB, free: 5.254 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0007244/0.5558, allocations: 0.7332 MB / 1.17 GB, free: 4.855 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008989/0.5567, allocations: 375.9 kB / 1.171 GB, free: 4.73 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009442/0.5662, allocations: 8.725 MB / 1.179 GB, free: 0.6914 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003798/0.5666, allocations: 0.5225 MB / 1.18 GB, free: 0.5469 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0006415/0.5672, allocations: 321.7 kB / 1.18 GB, free: 468 kB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000457/0.5677, allocations: 482.5 kB / 1.18 GB, free: 124 kB / 1.01 GB Notification: Performance of SimCode: time 6.21e-07/0.5677, allocations: 0 / 1.18 GB, free: 124 kB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04053/0.6082, allocations: 31.3 MB / 1.211 GB, free: 14.4 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.4/9.008, allocations: 7.312 kB / 1.211 GB, free: 14.4 MB / 1.042 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_Specification_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_CpData_Specification.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 12.955330046825111]