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.001447/0.001447, allocations: 99.75 kB / 18.94 MB, free: 2.832 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.001621/0.001621, allocations: 217.6 kB / 22.25 MB, free: 5.102 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.318/1.318, allocations: 230.6 MB / 256 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 179] 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.836/2.836, allocations: 0.49 GB / 0.7951 GB, free: 35.47 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.001869/0.001869, allocations: 60.62 kB / 1.154 GB, free: 25.4 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2944/0.2963, allocations: 176.1 MB / 1.326 GB, free: 1.469 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1668/0.4631, allocations: 148.3 MB / 1.471 GB, free: 12.57 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02119/0.4843, allocations: 16.2 MB / 1.487 GB, free: 12.32 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001435/0.4857, allocations: 39.62 kB / 1.487 GB, free: 12.28 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001453/0.4872, allocations: 0.5623 MB / 1.487 GB, free: 11.71 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004443/0.4916, allocations: 1.848 MB / 1.489 GB, free: 9.863 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003153/0.4948, allocations: 1.465 MB / 1.49 GB, free: 8.41 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003025/0.4978, allocations: 2.886 MB / 1.493 GB, free: 5.512 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001988/0.4998, allocations: 1.606 MB / 1.495 GB, free: 3.848 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003635/0.5034, allocations: 1.521 MB / 1.496 GB, free: 2.371 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001417/0.5048, allocations: 1.148 MB / 1.497 GB, free: 1.219 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0002861/0.5051, allocations: 220 kB / 1.498 GB, free: 1.004 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002878/0.508, allocations: 1.494 MB / 1.499 GB, free: 15.51 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0007198/0.5087, allocations: 0.8139 MB / 1.5 GB, free: 14.69 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001049/0.5098, allocations: 1.042 MB / 1.501 GB, free: 13.64 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.004351/0.5141, allocations: 3.802 MB / 1.505 GB, free: 9.828 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.5141, allocations: 4 kB / 1.505 GB, free: 9.824 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.022e-06/0.5141, allocations: 0 / 1.505 GB, free: 9.824 MB / 1.201 GB Notification: Performance of Transformations before backend: time 2.982e-05/0.5142, allocations: 0 / 1.505 GB, free: 9.824 MB / 1.201 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.00498/0.5191, allocations: 2.942 MB / 1.507 GB, free: 6.828 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.5192, allocations: 12.03 kB / 1.507 GB, free: 6.816 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003083/0.5195, allocations: 248.8 kB / 1.508 GB, free: 6.562 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004302/0.5238, allocations: 0.6345 MB / 1.508 GB, free: 5.926 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004249/0.528, allocations: 3.366 MB / 1.512 GB, free: 2.523 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001145/0.5281, allocations: 131.4 kB / 1.512 GB, free: 2.395 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002482/0.5284, allocations: 168 kB / 1.512 GB, free: 2.23 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00376/0.5322, allocations: 2.701 MB / 1.514 GB, free: 15.29 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.241e-05/0.5322, allocations: 0 / 1.514 GB, free: 15.29 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001707/0.5324, allocations: 79.92 kB / 1.515 GB, free: 15.21 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-05/0.5324, allocations: 44 kB / 1.515 GB, free: 15.17 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003483/0.5359, allocations: 2.035 MB / 1.517 GB, free: 13.13 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008804/0.5447, allocations: 4.963 MB / 1.521 GB, free: 8.082 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003117/0.5478, allocations: 1.707 MB / 1.523 GB, free: 6.371 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001256/0.5491, allocations: 0.7022 MB / 1.524 GB, free: 5.66 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004712/0.5495, allocations: 117.2 kB / 1.524 GB, free: 5.547 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002173/0.5517, allocations: 1.611 MB / 1.525 GB, free: 3.77 MB / 1.217 GB Notification: Performance of pre-optimization done (n=146): time 3.316e-06/0.5517, allocations: 0 / 1.525 GB, free: 3.77 MB / 1.217 GB Notification: Performance of matching and sorting (n=146): time 0.006979/0.5587, allocations: 2.597 MB / 1.528 GB, free: 1.148 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/0.5588, allocations: 193.2 kB / 1.528 GB, free: 0.918 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00502/0.5638, allocations: 4.077 MB / 1.532 GB, free: 12.83 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0001929/0.564, allocations: 61.7 kB / 1.532 GB, free: 12.77 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008458/0.5649, allocations: 0.9037 MB / 1.533 GB, free: 11.85 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004673/0.5653, allocations: 0.4995 MB / 1.534 GB, free: 11.35 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004031/0.5657, allocations: 238.8 kB / 1.534 GB, free: 11.11 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001754/0.5659, allocations: 357.9 kB / 1.534 GB, free: 10.76 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001123/0.567, allocations: 0.5687 MB / 1.535 GB, free: 10.19 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001495/0.5685, allocations: 1.224 MB / 1.536 GB, free: 8.797 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00238/0.5709, allocations: 1.314 MB / 1.537 GB, free: 7.473 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.23e-06/0.5709, allocations: 0 / 1.537 GB, free: 7.473 MB / 1.232 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004008/0.5749, allocations: 1.776 MB / 1.539 GB, free: 5.672 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/0.5749, allocations: 10.19 kB / 1.539 GB, free: 5.664 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.575, allocations: 96 / 1.539 GB, free: 5.664 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00113/0.5761, allocations: 216.1 kB / 1.539 GB, free: 5.438 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001547/0.5776, allocations: 323.5 kB / 1.539 GB, free: 5.121 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006386/0.584, allocations: 6.792 MB / 1.546 GB, free: 13.75 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001452/0.5855, allocations: 163.1 kB / 1.546 GB, free: 13.59 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/0.5856, allocations: 56.03 kB / 1.546 GB, free: 13.54 MB / 1.248 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.0008687/0.5864, allocations: 488.2 kB / 1.547 GB, free: 13.05 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003585/0.5868, allocations: 202.8 kB / 1.547 GB, free: 12.86 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004424/0.5912, allocations: 2.138 MB / 1.549 GB, free: 10.69 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.5912, allocations: 12 kB / 1.549 GB, free: 10.68 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.5912, allocations: 4 kB / 1.549 GB, free: 10.67 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.363e-05/0.5913, allocations: 7.969 kB / 1.549 GB, free: 10.66 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006765/0.598, allocations: 3.807 MB / 1.553 GB, free: 6.789 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.629e-06/0.598, allocations: 3.938 kB / 1.553 GB, free: 6.785 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001487/0.5995, allocations: 315.6 kB / 1.553 GB, free: 6.477 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000881/0.6004, allocations: 204.1 kB / 1.553 GB, free: 6.262 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.653e-05/0.6005, allocations: 43.95 kB / 1.553 GB, free: 6.219 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006105/0.6066, allocations: 6.819 MB / 1.56 GB, free: 14.81 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.6066, allocations: 0 / 1.56 GB, free: 14.81 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004368/0.611, allocations: 2.01 MB / 1.562 GB, free: 12.77 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001135/0.6121, allocations: 466 kB / 1.562 GB, free: 12.31 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002372/0.6123, allocations: 28 kB / 1.562 GB, free: 12.28 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001288/0.6136, allocations: 109.3 kB / 1.563 GB, free: 12.18 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002317/0.6139, allocations: 121 kB / 1.563 GB, free: 12.06 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001612/0.614, allocations: 79.88 kB / 1.563 GB, free: 11.98 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.003504/0.6175, allocations: 3.132 MB / 1.566 GB, free: 8.855 MB / 1.264 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6175, allocations: 0 / 1.566 GB, free: 8.855 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001736/0.6193, allocations: 0.6937 MB / 1.566 GB, free: 8.16 MB / 1.264 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.006556/0.6258, allocations: 3.241 MB / 1.57 GB, free: 5.086 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.003392/0.6292, allocations: 1.996 MB / 1.572 GB, free: 3.023 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.6292, allocations: 4.594 kB / 1.572 GB, free: 3.02 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002045/0.6313, allocations: 1.36 MB / 1.573 GB, free: 1.598 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002245/0.6335, allocations: 0.5518 MB / 1.573 GB, free: 1.07 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0296/0.6631, allocations: 20.9 MB / 1.594 GB, free: 11.93 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001059/0.6642, allocations: 0.9535 MB / 1.595 GB, free: 10.94 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001676/0.6658, allocations: 0.5366 MB / 1.595 GB, free: 10.4 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001339/0.6672, allocations: 0.9132 MB / 1.596 GB, free: 9.484 MB / 1.295 GB Notification: Performance of SimCode: time 7.32e-07/0.6672, allocations: 0 / 1.596 GB, free: 9.484 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6735/1.341, allocations: 53.17 MB / 1.648 GB, free: 257.8 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.21/15.55, allocations: 14.88 kB / 1.648 GB, free: 257.8 MB / 1.295 GB " [Timeout remaining time 284] (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: 21.727530973003013]