Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.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.001613/0.001613, allocations: 102.6 kB / 16.45 MB, free: 6.449 MB / 14.72 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.001765/0.001765, allocations: 210.4 kB / 19.43 MB, free: 3.637 MB / 14.72 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 1.379/1.379, allocations: 230.6 MB / 252.8 MB, free: 9.098 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.996/2.996, allocations: 0.49 GB / 0.7916 GB, free: 33.57 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001982/0.001982, allocations: 74.55 kB / 1.149 GB, free: 26.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3172, allocations: 176.1 MB / 1.321 GB, free: 3.262 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1937/0.511, allocations: 171.9 MB / 1.489 GB, free: 6.715 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.02563/0.5366, allocations: 17.52 MB / 1.506 GB, free: 5.137 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002452/0.5391, allocations: 43.62 kB / 1.506 GB, free: 5.094 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.002217/0.5413, allocations: 0.5895 MB / 1.506 GB, free: 4.5 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.006195/0.5475, allocations: 1.844 MB / 1.508 GB, free: 2.652 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.004294/0.5518, allocations: 1.458 MB / 1.51 GB, free: 1.207 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.004494/0.5563, allocations: 2.882 MB / 1.512 GB, free: 14.31 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002965/0.5592, allocations: 1.601 MB / 1.514 GB, free: 12.65 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005065/0.5643, allocations: 1.513 MB / 1.515 GB, free: 11.18 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002025/0.5663, allocations: 1.145 MB / 1.517 GB, free: 10.03 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.0004667/0.5668, allocations: 228 kB / 1.517 GB, free: 9.809 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003609/0.5704, allocations: 1.626 MB / 1.518 GB, free: 8.18 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.0008636/0.5713, allocations: 0.8216 MB / 1.519 GB, free: 7.355 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.00156/0.5728, allocations: 1.275 MB / 1.52 GB, free: 6.074 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.005954/0.5788, allocations: 3.79 MB / 1.524 GB, free: 2.27 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.5788, allocations: 0 / 1.524 GB, free: 2.27 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.423e-06/0.5788, allocations: 0 / 1.524 GB, free: 2.27 MB / 1.217 GB Notification: Performance of Transformations before backend: time 8.004e-05/0.5789, allocations: 0 / 1.524 GB, free: 2.27 MB / 1.217 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.005568/0.5844, allocations: 3.029 MB / 1.527 GB, free: 15.17 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 4.192e-05/0.5845, allocations: 11.98 kB / 1.527 GB, free: 15.16 MB / 1.232 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003136/0.5848, allocations: 248.9 kB / 1.527 GB, free: 14.9 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004483/0.5893, allocations: 0.6267 MB / 1.528 GB, free: 14.27 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004997/0.5943, allocations: 3.454 MB / 1.531 GB, free: 10.77 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/0.5944, allocations: 127.4 kB / 1.531 GB, free: 10.64 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002602/0.5946, allocations: 168 kB / 1.532 GB, free: 10.48 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003723/0.5984, allocations: 1.948 MB / 1.534 GB, free: 8.48 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.727e-05/0.5984, allocations: 0 / 1.534 GB, free: 8.48 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001918/0.5986, allocations: 76 kB / 1.534 GB, free: 8.406 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.584e-05/0.5986, allocations: 43.98 kB / 1.534 GB, free: 8.363 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003917/0.6025, allocations: 2.085 MB / 1.536 GB, free: 6.273 MB / 1.232 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01073/0.6133, allocations: 6.769 MB / 1.542 GB, free: 15.11 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003648/0.6169, allocations: 2.011 MB / 1.544 GB, free: 13.04 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001386/0.6183, allocations: 0.6983 MB / 1.545 GB, free: 12.33 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006381/0.6189, allocations: 433.6 kB / 1.545 GB, free: 11.84 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001963/0.6209, allocations: 1.005 MB / 1.546 GB, free: 10.81 MB / 1.248 GB Notification: Performance of pre-optimization done (n=146): time 2.886e-06/0.6209, allocations: 4 kB / 1.546 GB, free: 10.8 MB / 1.248 GB Notification: Performance of matching and sorting (n=146): time 0.007541/0.6285, allocations: 2.966 MB / 1.549 GB, free: 7.727 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001442/0.6286, allocations: 201.2 kB / 1.549 GB, free: 7.488 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005487/0.6341, allocations: 4.081 MB / 1.553 GB, free: 3.402 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0003141/0.6344, allocations: 57.7 kB / 1.553 GB, free: 3.34 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.000938/0.6353, allocations: 0.9115 MB / 1.554 GB, free: 2.418 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005958/0.6359, allocations: 0.4958 MB / 1.555 GB, free: 1.918 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005174/0.6365, allocations: 238.8 kB / 1.555 GB, free: 1.676 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0002271/0.6367, allocations: 353.9 kB / 1.555 GB, free: 1.324 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001259/0.6379, allocations: 0.5726 MB / 1.556 GB, free: 0.7539 MB / 1.248 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001454/0.6394, allocations: 0.793 MB / 1.557 GB, free: 15.89 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002643/0.642, allocations: 1.314 MB / 1.558 GB, free: 14.57 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.642, allocations: 0 / 1.558 GB, free: 14.57 MB / 1.264 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004343/0.6464, allocations: 1.78 MB / 1.56 GB, free: 12.77 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.935e-05/0.6464, allocations: 4 kB / 1.56 GB, free: 12.77 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.6464, allocations: 0 / 1.56 GB, free: 12.77 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001135/0.6475, allocations: 216.2 kB / 1.56 GB, free: 12.54 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00159/0.6491, allocations: 323.5 kB / 1.56 GB, free: 12.22 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007626/0.6568, allocations: 7.337 MB / 1.567 GB, free: 4.176 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001778/0.6585, allocations: 155.2 kB / 1.568 GB, free: 4.023 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001406/0.6587, allocations: 55.95 kB / 1.568 GB, free: 3.969 MB / 1.264 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 (144): * Single equations (assignments): 139 * 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.001084/0.6598, allocations: 485.4 kB / 1.568 GB, free: 3.484 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004497/0.6602, allocations: 198.7 kB / 1.568 GB, free: 3.289 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004937/0.6651, allocations: 2.138 MB / 1.57 GB, free: 1.121 MB / 1.264 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.662e-05/0.6652, allocations: 16 kB / 1.57 GB, free: 1.105 MB / 1.264 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.6652, allocations: 8 kB / 1.57 GB, free: 1.098 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.008e-05/0.6652, allocations: 7.969 kB / 1.57 GB, free: 1.09 MB / 1.264 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007564/0.6728, allocations: 4.116 MB / 1.574 GB, free: 12.9 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.6728, allocations: 0 / 1.574 GB, free: 12.9 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001528/0.6743, allocations: 319.6 kB / 1.575 GB, free: 12.59 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009728/0.6753, allocations: 204.1 kB / 1.575 GB, free: 12.37 MB / 1.279 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001098/0.6754, allocations: 39.97 kB / 1.575 GB, free: 12.33 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006972/0.6823, allocations: 7.364 MB / 1.582 GB, free: 4.258 MB / 1.279 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.6823, allocations: 0 / 1.582 GB, free: 4.258 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004729/0.6871, allocations: 2.002 MB / 1.584 GB, free: 2.223 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009719/0.688, allocations: 0.5226 MB / 1.585 GB, free: 1.68 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000241/0.6883, allocations: 36 kB / 1.585 GB, free: 1.645 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001285/0.6896, allocations: 102.1 kB / 1.585 GB, free: 1.547 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002571/0.6898, allocations: 113.1 kB / 1.585 GB, free: 1.434 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001533/0.69, allocations: 79.89 kB / 1.585 GB, free: 1.355 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.003718/0.6937, allocations: 3.136 MB / 1.588 GB, free: 14.22 MB / 1.295 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6937, allocations: 0 / 1.588 GB, free: 14.22 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.002016/0.6957, allocations: 0.6898 MB / 1.589 GB, free: 13.53 MB / 1.295 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.007184/0.7029, allocations: 3.201 MB / 1.592 GB, free: 10.47 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.003807/0.7067, allocations: 2.008 MB / 1.594 GB, free: 8.398 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 9.368e-06/0.7067, allocations: 4.5 kB / 1.594 GB, free: 8.395 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002346/0.7091, allocations: 1.36 MB / 1.595 GB, free: 6.973 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00272/0.7118, allocations: 0.5492 MB / 1.596 GB, free: 6.445 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6259/1.338, allocations: 20.89 MB / 1.616 GB, free: 272.6 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001195/1.339, allocations: 1.537 MB / 1.618 GB, free: 271.8 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.00178/1.341, allocations: 0.5357 MB / 1.618 GB, free: 271.8 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001174/1.342, allocations: 0.9082 MB / 1.619 GB, free: 271.1 MB / 1.295 GB Notification: Performance of SimCode: time 1.012e-06/1.342, allocations: 0 / 1.619 GB, free: 271.1 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09805/1.44, allocations: 49.54 MB / 1.667 GB, free: 237.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.29/16.73, allocations: 26.03 kB / 1.667 GB, free: 237.2 MB / 1.295 GB " [Timeout remaining time 283] (rm -f Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --stepSize=241.92 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpData.fmu > Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Sources.Examples.Outside_CpData.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: 23.25040126708336]