Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.Outside.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.0007391/0.0007391, 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.0007575/0.0007575, allocations: 170.3 kB / 22.46 MB, free: 2.102 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.8478/0.8478, allocations: 177.1 MB / 202.8 MB, free: 5.758 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.648/1.648, allocations: 377.8 MB / 0.6221 GB, free: 8.676 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,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 0.9809 GB, free: 2.613 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.97e-05/2.139e-05, allocations: 6.219 kB / 0.9809 GB, free: 2.605 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside): time 0.5724/0.5724, allocations: 155.7 MB / 1.133 GB, free: 7.965 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.009887/0.5823, allocations: 10.3 MB / 1.143 GB, free: 1.016 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001234/0.5836, allocations: 43.38 kB / 1.143 GB, free: 0.9922 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0009774/0.5845, allocations: 434.4 kB / 1.144 GB, free: 0.707 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.002585/0.5871, allocations: 1.163 MB / 1.145 GB, free: 24 kB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.003439/0.5906, allocations: 1.786 MB / 1.146 GB, free: 15.09 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.002441/0.593, allocations: 2.468 MB / 1.149 GB, free: 13.84 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001588/0.5946, allocations: 1.118 MB / 1.15 GB, free: 13.27 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003238/0.5978, allocations: 1.862 MB / 1.152 GB, free: 12.44 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001041/0.5989, allocations: 0.6705 MB / 1.152 GB, free: 12.2 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 0.0003392/0.5992, allocations: 166.7 kB / 1.153 GB, free: 12.19 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002644/0.6019, allocations: 1.284 MB / 1.154 GB, free: 11.8 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 0.0004723/0.6023, allocations: 489.5 kB / 1.154 GB, free: 11.51 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0007507/0.6031, allocations: 0.5518 MB / 1.155 GB, free: 11.24 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.004727/0.6078, allocations: 2.802 MB / 1.158 GB, free: 10.15 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.6078, allocations: 0.6094 kB / 1.158 GB, free: 10.15 MB / 1.01 GB Notification: Performance of FrontEnd: time 2.054e-06/0.6078, allocations: 0 / 1.158 GB, free: 10.15 MB / 1.01 GB Notification: Performance of Transformations before backend: time 3.402e-05/0.6079, allocations: 0 / 1.158 GB, free: 10.15 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: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.00295/0.6108, allocations: 1.903 MB / 1.159 GB, free: 8.938 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.6108, allocations: 8.969 kB / 1.159 GB, free: 8.938 MB / 1.01 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001743/0.611, allocations: 185.8 kB / 1.16 GB, free: 8.816 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001514/0.6125, allocations: 407.4 kB / 1.16 GB, free: 8.711 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001288/0.6138, allocations: 0.9316 MB / 1.161 GB, free: 8.16 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.01e-05/0.6139, allocations: 92.77 kB / 1.161 GB, free: 8.117 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001265/0.614, allocations: 130 kB / 1.161 GB, free: 8.07 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001708/0.6157, allocations: 1.702 MB / 1.163 GB, free: 7.016 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.6157, allocations: 0.9375 kB / 1.163 GB, free: 7.016 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.243e-05/0.6158, allocations: 52.8 kB / 1.163 GB, free: 6.977 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.712e-05/0.6158, allocations: 28.75 kB / 1.163 GB, free: 6.977 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001719/0.6176, allocations: 1.417 MB / 1.164 GB, free: 6.598 MB / 1.01 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.004335/0.6219, allocations: 3.194 MB / 1.167 GB, free: 4.871 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001445/0.6233, allocations: 1.131 MB / 1.168 GB, free: 4.426 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005218/0.6239, allocations: 430.1 kB / 1.169 GB, free: 4.27 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003556/0.6242, allocations: 116.2 kB / 1.169 GB, free: 4.254 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009241/0.6251, allocations: 0.8959 MB / 1.17 GB, free: 3.711 MB / 1.01 GB Notification: Performance of pre-optimization done (n=114): time 3.416e-06/0.6251, allocations: 0.8125 kB / 1.17 GB, free: 3.711 MB / 1.01 GB Notification: Performance of matching and sorting (n=114): time 0.002689/0.6278, allocations: 1.585 MB / 1.171 GB, free: 3.145 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.104e-05/0.6279, allocations: 202.1 kB / 1.172 GB, free: 2.922 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001113/0.629, allocations: 0.9168 MB / 1.172 GB, free: 2.531 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 0.0001305/0.6292, allocations: 51.45 kB / 1.173 GB, free: 2.484 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003721/0.6295, allocations: 0.529 MB / 1.173 GB, free: 2.066 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002786/0.6298, allocations: 387.6 kB / 1.173 GB, free: 1.758 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002375/0.6301, allocations: 215.5 kB / 1.174 GB, free: 1.66 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 9.905e-05/0.6302, allocations: 346.6 kB / 1.174 GB, free: 1.34 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005368/0.6307, allocations: 387 kB / 1.174 GB, free: 1.203 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006756/0.6314, allocations: 0.7132 MB / 1.175 GB, free: 0.7188 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001109/0.6325, allocations: 0.8891 MB / 1.176 GB, free: 312 kB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.74e-06/0.6325, allocations: 1.281 kB / 1.176 GB, free: 312 kB / 1.01 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.001821/0.6343, allocations: 1.203 MB / 1.177 GB, free: 15.82 MB / 1.026 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.6343, allocations: 13.44 kB / 1.177 GB, free: 15.82 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.6343, allocations: 1.375 kB / 1.177 GB, free: 15.82 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003177/0.6347, allocations: 82.58 kB / 1.177 GB, free: 15.8 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005591/0.6352, allocations: 230.5 kB / 1.177 GB, free: 15.78 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001342/0.6366, allocations: 1.543 MB / 1.179 GB, free: 14.37 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006757/0.6372, allocations: 130.1 kB / 1.179 GB, free: 14.3 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.292e-05/0.6373, allocations: 44.62 kB / 1.179 GB, free: 14.29 MB / 1.026 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (133): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005555/0.6379, allocations: 333 kB / 1.179 GB, free: 14.05 MB / 1.026 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001806/0.638, allocations: 133.5 kB / 1.18 GB, free: 13.98 MB / 1.026 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001939/0.64, allocations: 1.546 MB / 1.181 GB, free: 13.36 MB / 1.026 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.366e-06/0.64, allocations: 16.5 kB / 1.181 GB, free: 13.35 MB / 1.026 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.64, allocations: 0 / 1.181 GB, free: 13.35 MB / 1.026 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.987e-06/0.64, allocations: 5.562 kB / 1.181 GB, free: 13.35 MB / 1.026 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 postOpt removeSimpleEquations (simulation): time 0.003331/0.6433, allocations: 2.671 MB / 1.184 GB, free: 12.09 MB / 1.026 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.6433, allocations: 5.562 kB / 1.184 GB, free: 12.08 MB / 1.026 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004831/0.6438, allocations: 210.6 kB / 1.184 GB, free: 12.06 MB / 1.026 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000215/0.644, allocations: 75.27 kB / 1.184 GB, free: 12.04 MB / 1.026 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.546e-05/0.6441, allocations: 35.2 kB / 1.184 GB, free: 12.02 MB / 1.026 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001086/0.6452, allocations: 1.565 MB / 1.185 GB, free: 10.6 MB / 1.026 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.6452, allocations: 6.75 kB / 1.185 GB, free: 10.59 MB / 1.026 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00224/0.6474, allocations: 1.908 MB / 1.187 GB, free: 9.734 MB / 1.026 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004609/0.6479, allocations: 289.4 kB / 1.188 GB, free: 9.57 MB / 1.026 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/0.648, allocations: 29.34 kB / 1.188 GB, free: 9.551 MB / 1.026 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004558/0.6485, allocations: 78.47 kB / 1.188 GB, free: 9.531 MB / 1.026 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001366/0.6486, allocations: 97.17 kB / 1.188 GB, free: 9.516 MB / 1.026 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-05/0.6487, allocations: 50.52 kB / 1.188 GB, free: 9.504 MB / 1.026 GB Notification: Performance of sorting global known variables: time 0.0006693/0.6493, allocations: 0.6477 MB / 1.189 GB, free: 9.227 MB / 1.026 GB Notification: Performance of sort global known variables: time 8e-08/0.6493, allocations: 0 / 1.189 GB, free: 9.227 MB / 1.026 GB Notification: Performance of remove unused functions: time 0.001111/0.6504, allocations: 468.9 kB / 1.189 GB, free: 9.109 MB / 1.026 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * 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 (122): * Single equations (assignments): 111 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003526/0.654, allocations: 3.109 MB / 1.192 GB, free: 7.508 MB / 1.026 GB Notification: Performance of simCode: created initialization part: time 0.001495/0.6555, allocations: 1.077 MB / 1.193 GB, free: 7.082 MB / 1.026 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.6555, allocations: 5.234 kB / 1.193 GB, free: 7.082 MB / 1.026 GB Notification: Performance of simCode: created simulation system equations: time 0.0006815/0.6562, allocations: 0.641 MB / 1.194 GB, free: 6.793 MB / 1.026 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001552/0.6577, allocations: 0.5385 MB / 1.194 GB, free: 6.605 MB / 1.026 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01103/0.6687, allocations: 9.103 MB / 1.203 GB, free: 1.457 MB / 1.026 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004133/0.6691, allocations: 0.5869 MB / 1.204 GB, free: 1.137 MB / 1.026 GB Notification: Performance of simCode: alias equations: time 0.0009487/0.6701, allocations: 378.3 kB / 1.204 GB, free: 0.9492 MB / 1.026 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005727/0.6707, allocations: 0.5455 MB / 1.205 GB, free: 0.5078 MB / 1.026 GB Notification: Performance of SimCode: time 1.222e-06/0.6707, allocations: 0 / 1.205 GB, free: 0.5078 MB / 1.026 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05013/0.7208, allocations: 36.89 MB / 1.241 GB, free: 304 kB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.358/9.079, allocations: 6.578 kB / 1.241 GB, free: 300 kB / 1.057 GB " [Timeout remaining time 291] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sources.Examples.Outside_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sources_Examples_Outside_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sources_Examples_Outside.fmu > Buildings_12_Buildings.Fluid.Sources.Examples.Outside.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside.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.400447790510952]