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.001323/0.001323, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001749/0.001749, allocations: 217.5 kB / 23.03 MB, free: 4.922 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.389/1.389, allocations: 230.6 MB / 256.8 MB, free: 7.789 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 3.019/3.019, allocations: 0.49 GB / 0.7959 GB, free: 35.39 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_12_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="cs",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.001856/0.001856, allocations: 71.22 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3103, allocations: 176.1 MB / 1.327 GB, free: 1.473 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1823/0.4926, allocations: 148.2 MB / 1.471 GB, free: 12.69 MB / 1.17 GB Notification: Performance of NFInst.instExpressions: time 0.02295/0.5155, allocations: 16.2 MB / 1.487 GB, free: 12.45 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001865/0.5174, allocations: 43.62 kB / 1.487 GB, free: 12.41 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.00153/0.5189, allocations: 0.5506 MB / 1.488 GB, free: 11.85 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.005269/0.5242, allocations: 1.856 MB / 1.49 GB, free: 9.992 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003645/0.5278, allocations: 1.462 MB / 1.491 GB, free: 8.543 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.003708/0.5315, allocations: 2.886 MB / 1.494 GB, free: 5.645 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002261/0.5338, allocations: 1.594 MB / 1.495 GB, free: 3.996 MB / 1.186 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004086/0.5379, allocations: 1.532 MB / 1.497 GB, free: 2.508 MB / 1.186 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001644/0.5395, allocations: 1.144 MB / 1.498 GB, free: 1.359 MB / 1.186 GB Notification: Performance of NFPackage.collectConstants: time 0.0003855/0.5399, allocations: 224 kB / 1.498 GB, free: 1.141 MB / 1.186 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002906/0.5428, allocations: 1.494 MB / 1.5 GB, free: 15.64 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0007946/0.5436, allocations: 0.81 MB / 1.5 GB, free: 14.83 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.001248/0.5448, allocations: 1.042 MB / 1.501 GB, free: 13.79 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.00517/0.55, allocations: 3.802 MB / 1.505 GB, free: 9.969 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.55, allocations: 0 / 1.505 GB, free: 9.969 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.863e-06/0.55, allocations: 0 / 1.505 GB, free: 9.969 MB / 1.201 GB Notification: Performance of Transformations before backend: time 6.013e-05/0.5501, allocations: 4 kB / 1.505 GB, free: 9.965 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.005374/0.5555, allocations: 2.946 MB / 1.508 GB, free: 6.965 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.252e-05/0.5555, allocations: 12.03 kB / 1.508 GB, free: 6.953 MB / 1.201 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.924e-05/0.5556, allocations: 43.38 kB / 1.508 GB, free: 6.91 MB / 1.201 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003036/0.5559, allocations: 248.9 kB / 1.508 GB, free: 6.656 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004451/0.5603, allocations: 0.6384 MB / 1.509 GB, free: 6.016 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004557/0.5649, allocations: 3.358 MB / 1.512 GB, free: 2.621 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001217/0.565, allocations: 131.4 kB / 1.512 GB, free: 2.492 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002725/0.5653, allocations: 167.9 kB / 1.513 GB, free: 2.328 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004068/0.5693, allocations: 2.709 MB / 1.515 GB, free: 15.38 MB / 1.217 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.963e-05/0.5694, allocations: 0 / 1.515 GB, free: 15.38 MB / 1.217 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001725/0.5695, allocations: 72 kB / 1.515 GB, free: 15.31 MB / 1.217 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.415e-05/0.5696, allocations: 40 kB / 1.515 GB, free: 15.27 MB / 1.217 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003684/0.5733, allocations: 2.093 MB / 1.517 GB, free: 13.18 MB / 1.217 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0103/0.5836, allocations: 4.956 MB / 1.522 GB, free: 8.129 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003307/0.5869, allocations: 1.707 MB / 1.524 GB, free: 6.422 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001336/0.5882, allocations: 0.6982 MB / 1.525 GB, free: 5.719 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004897/0.5887, allocations: 117.2 kB / 1.525 GB, free: 5.605 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002237/0.5909, allocations: 1.608 MB / 1.526 GB, free: 3.832 MB / 1.217 GB Notification: Performance of pre-optimization done (n=146): time 3.717e-06/0.5909, allocations: 0 / 1.526 GB, free: 3.832 MB / 1.217 GB Notification: Performance of matching and sorting (n=146): time 0.006985/0.5979, allocations: 2.597 MB / 1.529 GB, free: 1.211 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001317/0.598, allocations: 201.2 kB / 1.529 GB, free: 0.9727 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005145/0.6032, allocations: 4.081 MB / 1.533 GB, free: 12.88 MB / 1.232 GB Notification: Performance of collectPreVariables (initialization): time 0.0002816/0.6035, allocations: 57.7 kB / 1.533 GB, free: 12.82 MB / 1.232 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009382/0.6044, allocations: 0.9037 MB / 1.534 GB, free: 11.91 MB / 1.232 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005922/0.605, allocations: 0.4957 MB / 1.534 GB, free: 11.41 MB / 1.232 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004268/0.6054, allocations: 238.8 kB / 1.535 GB, free: 11.17 MB / 1.232 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.6056, allocations: 349.9 kB / 1.535 GB, free: 10.82 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001136/0.6067, allocations: 0.5803 MB / 1.535 GB, free: 10.24 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001595/0.6083, allocations: 1.224 MB / 1.537 GB, free: 8.848 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002409/0.6107, allocations: 1.31 MB / 1.538 GB, free: 7.527 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.256e-06/0.6108, allocations: 4 kB / 1.538 GB, free: 7.523 MB / 1.232 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004383/0.6151, allocations: 1.78 MB / 1.54 GB, free: 5.719 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.6152, allocations: 8 kB / 1.54 GB, free: 5.711 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.6152, allocations: 0 / 1.54 GB, free: 5.711 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001119/0.6163, allocations: 216.2 kB / 1.54 GB, free: 5.484 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001612/0.6179, allocations: 319.5 kB / 1.54 GB, free: 5.172 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006967/0.6249, allocations: 6.793 MB / 1.547 GB, free: 13.8 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001746/0.6266, allocations: 164.8 kB / 1.547 GB, free: 13.64 MB / 1.248 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001449/0.6268, allocations: 59.94 kB / 1.547 GB, free: 13.59 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.001095/0.6279, allocations: 490.4 kB / 1.548 GB, free: 13.1 MB / 1.248 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004797/0.6283, allocations: 198.7 kB / 1.548 GB, free: 12.9 MB / 1.248 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004619/0.633, allocations: 2.134 MB / 1.55 GB, free: 10.74 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.892e-05/0.633, allocations: 16 kB / 1.55 GB, free: 10.73 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.633, allocations: 0 / 1.55 GB, free: 10.73 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.556e-05/0.633, allocations: 7.969 kB / 1.55 GB, free: 10.72 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007187/0.6402, allocations: 3.811 MB / 1.554 GB, free: 6.836 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.949e-06/0.6402, allocations: 0 / 1.554 GB, free: 6.836 MB / 1.248 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00152/0.6417, allocations: 319.6 kB / 1.554 GB, free: 6.523 MB / 1.248 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009456/0.6427, allocations: 208.1 kB / 1.554 GB, free: 6.305 MB / 1.248 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001111/0.6428, allocations: 39.97 kB / 1.554 GB, free: 6.266 MB / 1.248 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006347/0.6491, allocations: 6.819 MB / 1.561 GB, free: 14.86 MB / 1.264 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.522e-06/0.6491, allocations: 0 / 1.561 GB, free: 14.86 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0044/0.6535, allocations: 2.01 MB / 1.563 GB, free: 12.82 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00107/0.6546, allocations: 470 kB / 1.563 GB, free: 12.36 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002621/0.6548, allocations: 28 kB / 1.563 GB, free: 12.33 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001309/0.6562, allocations: 105 kB / 1.563 GB, free: 12.23 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002632/0.6564, allocations: 121 kB / 1.563 GB, free: 12.11 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001585/0.6566, allocations: 71.94 kB / 1.563 GB, free: 12.04 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.003692/0.6603, allocations: 3.136 MB / 1.567 GB, free: 8.91 MB / 1.264 GB Notification: Performance of sort global known variables: time 7e-08/0.6603, allocations: 0 / 1.567 GB, free: 8.91 MB / 1.264 GB Notification: Performance of remove unused functions: time 0.001887/0.6622, allocations: 0.6937 MB / 1.567 GB, free: 8.215 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.0068/0.669, allocations: 3.244 MB / 1.57 GB, free: 5.137 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.003583/0.6725, allocations: 1.992 MB / 1.572 GB, free: 3.082 MB / 1.264 GB Notification: Performance of simCode: created event and clocks part: time 5.55e-06/0.6725, allocations: 4.656 kB / 1.572 GB, free: 3.078 MB / 1.264 GB Notification: Performance of simCode: created simulation system equations: time 0.002174/0.6747, allocations: 1.364 MB / 1.574 GB, free: 1.648 MB / 1.264 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002796/0.6775, allocations: 0.5557 MB / 1.574 GB, free: 1.113 MB / 1.264 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03507/0.7126, allocations: 20.9 MB / 1.595 GB, free: 11.97 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001519/0.7141, allocations: 0.9573 MB / 1.596 GB, free: 10.98 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.002289/0.7164, allocations: 0.5212 MB / 1.596 GB, free: 10.45 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001723/0.7181, allocations: 0.917 MB / 1.597 GB, free: 9.531 MB / 1.295 GB Notification: Performance of SimCode: time 1.313e-06/0.7181, allocations: 0 / 1.597 GB, free: 9.531 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7037/1.422, allocations: 52.62 MB / 1.648 GB, free: 259.6 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.85/18.27, allocations: 4.719 kB / 1.648 GB, free: 259.6 MB / 1.295 GB " [Timeout remaining time 281] (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: 25.0501477799844]