Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001421/0.001421, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001608/0.001608, allocations: 215.8 kB / 22.26 MB, free: 5.078 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.334/1.334, allocations: 230.6 MB / 256 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.97/2.97, allocations: 0.505 GB / 0.8101 GB, free: 22.06 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Fluid_Sources_Examples_Outside_CpData",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="Buildings_latest_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.001925/0.001925, allocations: 70.67 kB / 1.177 GB, free: 17.11 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2959/0.2979, allocations: 180.2 MB / 1.353 GB, free: 8.453 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.Outside_CpData): time 0.1916/0.4894, allocations: 172.1 MB / 1.521 GB, free: 11.71 MB / 1.217 GB Notification: Performance of NFInst.instExpressions: time 0.02475/0.5142, allocations: 17.73 MB / 1.538 GB, free: 9.926 MB / 1.232 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001492/0.5157, allocations: 43.62 kB / 1.538 GB, free: 9.883 MB / 1.232 GB Notification: Performance of NFTyping.typeComponents: time 0.001871/0.5175, allocations: 0.5973 MB / 1.539 GB, free: 9.281 MB / 1.232 GB Notification: Performance of NFTyping.typeBindings: time 0.005248/0.5228, allocations: 1.86 MB / 1.541 GB, free: 7.418 MB / 1.232 GB Notification: Performance of NFTyping.typeClassSections: time 0.00372/0.5265, allocations: 1.506 MB / 1.542 GB, free: 5.926 MB / 1.232 GB Notification: Performance of NFFlatten.flatten: time 0.003923/0.5304, allocations: 2.89 MB / 1.545 GB, free: 3.027 MB / 1.232 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002818/0.5332, allocations: 1.594 MB / 1.547 GB, free: 1.375 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00466/0.5379, allocations: 1.511 MB / 1.548 GB, free: 15.9 MB / 1.248 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001911/0.5398, allocations: 1.151 MB / 1.549 GB, free: 14.75 MB / 1.248 GB Notification: Performance of NFPackage.collectConstants: time 0.0005877/0.5404, allocations: 224 kB / 1.549 GB, free: 14.53 MB / 1.248 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003508/0.5439, allocations: 1.669 MB / 1.551 GB, free: 12.86 MB / 1.248 GB Notification: Performance of NFScalarize.scalarize: time 0.001138/0.545, allocations: 0.8139 MB / 1.552 GB, free: 12.04 MB / 1.248 GB Notification: Performance of NFVerifyModel.verify: time 0.001819/0.5469, allocations: 1.283 MB / 1.553 GB, free: 10.75 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.005851/0.5527, allocations: 3.782 MB / 1.557 GB, free: 6.957 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.5527, allocations: 0 / 1.557 GB, free: 6.957 MB / 1.248 GB Notification: Performance of FrontEnd: time 1.713e-06/0.5527, allocations: 0 / 1.557 GB, free: 6.957 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.0001091/0.5528, allocations: 0 / 1.557 GB, free: 6.957 MB / 1.248 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.006193/0.559, allocations: 2.95 MB / 1.56 GB, free: 3.953 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.5591, allocations: 8.031 kB / 1.56 GB, free: 3.945 MB / 1.248 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003945/0.5595, allocations: 252.9 kB / 1.56 GB, free: 3.688 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004235/0.5637, allocations: 0.6345 MB / 1.56 GB, free: 3.051 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004645/0.5683, allocations: 3.374 MB / 1.564 GB, free: 15.64 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001414/0.5685, allocations: 127.4 kB / 1.564 GB, free: 15.52 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002528/0.5687, allocations: 168 kB / 1.564 GB, free: 15.35 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003403/0.5721, allocations: 1.952 MB / 1.566 GB, free: 13.35 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.794e-05/0.5722, allocations: 0 / 1.566 GB, free: 13.35 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001602/0.5723, allocations: 75.98 kB / 1.566 GB, free: 13.27 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.166e-05/0.5724, allocations: 40 kB / 1.566 GB, free: 13.23 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003548/0.5759, allocations: 2.089 MB / 1.568 GB, free: 11.14 MB / 1.264 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009911/0.5858, allocations: 6.692 MB / 1.575 GB, free: 4.055 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003165/0.589, allocations: 1.708 MB / 1.576 GB, free: 2.348 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001239/0.5902, allocations: 0.7022 MB / 1.577 GB, free: 1.637 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004322/0.5907, allocations: 121.1 kB / 1.577 GB, free: 1.52 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00175/0.5924, allocations: 1.005 MB / 1.578 GB, free: 0.4961 MB / 1.264 GB Notification: Performance of pre-optimization done (n=146): time 3.035e-06/0.5924, allocations: 4 kB / 1.578 GB, free: 0.4922 MB / 1.264 GB Notification: Performance of matching and sorting (n=146): time 0.006492/0.5989, allocations: 2.594 MB / 1.581 GB, free: 13.88 MB / 1.279 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/0.599, allocations: 193.2 kB / 1.581 GB, free: 13.64 MB / 1.279 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004728/0.6038, allocations: 4.085 MB / 1.585 GB, free: 9.555 MB / 1.279 GB Notification: Performance of collectPreVariables (initialization): time 0.0001791/0.6039, allocations: 57.7 kB / 1.585 GB, free: 9.492 MB / 1.279 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008779/0.6048, allocations: 0.9192 MB / 1.586 GB, free: 8.562 MB / 1.279 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004371/0.6052, allocations: 0.4957 MB / 1.586 GB, free: 8.062 MB / 1.279 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000362/0.6056, allocations: 230.9 kB / 1.586 GB, free: 7.832 MB / 1.279 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.6058, allocations: 357.9 kB / 1.587 GB, free: 7.477 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001065/0.6068, allocations: 0.5687 MB / 1.587 GB, free: 6.906 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001275/0.6081, allocations: 0.7891 MB / 1.588 GB, free: 6.055 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002266/0.6104, allocations: 1.318 MB / 1.589 GB, free: 4.727 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.6104, allocations: 0 / 1.589 GB, free: 4.727 MB / 1.279 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003803/0.6142, allocations: 1.78 MB / 1.591 GB, free: 2.922 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.6142, allocations: 4 kB / 1.591 GB, free: 2.918 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.6142, allocations: 0 / 1.591 GB, free: 2.918 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/0.6153, allocations: 220.1 kB / 1.591 GB, free: 2.688 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001482/0.6167, allocations: 323.6 kB / 1.592 GB, free: 2.371 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006136/0.6229, allocations: 6.807 MB / 1.598 GB, free: 10.99 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/0.6242, allocations: 171.2 kB / 1.598 GB, free: 10.82 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/0.6243, allocations: 47.97 kB / 1.599 GB, free: 10.77 MB / 1.295 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.000864/0.6252, allocations: 489.4 kB / 1.599 GB, free: 10.29 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003696/0.6256, allocations: 202.7 kB / 1.599 GB, free: 10.09 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004326/0.6299, allocations: 2.13 MB / 1.601 GB, free: 7.926 MB / 1.295 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.321e-05/0.6299, allocations: 20 kB / 1.601 GB, free: 7.906 MB / 1.295 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.626e-06/0.6299, allocations: 7.938 kB / 1.601 GB, free: 7.898 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.474e-05/0.6299, allocations: 11.91 kB / 1.601 GB, free: 7.887 MB / 1.295 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006901/0.6368, allocations: 4.084 MB / 1.605 GB, free: 3.734 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.6368, allocations: 0 / 1.605 GB, free: 3.734 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001406/0.6382, allocations: 319.6 kB / 1.606 GB, free: 3.422 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008366/0.6391, allocations: 200.1 kB / 1.606 GB, free: 3.211 MB / 1.295 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.609e-05/0.6392, allocations: 39.97 kB / 1.606 GB, free: 3.172 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.5784/1.218, allocations: 6.834 MB / 1.612 GB, free: 248.7 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/1.218, allocations: 5.234 kB / 1.612 GB, free: 248.7 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004152/1.222, allocations: 2.01 MB / 1.614 GB, free: 248.5 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009847/1.223, allocations: 455.7 kB / 1.615 GB, free: 248.5 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000219/1.223, allocations: 30.86 kB / 1.615 GB, free: 248.5 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/1.224, allocations: 112 kB / 1.615 GB, free: 248.5 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002402/1.224, allocations: 117.2 kB / 1.615 GB, free: 248.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001434/1.224, allocations: 79.38 kB / 1.615 GB, free: 248.5 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.003604/1.228, allocations: 3.134 MB / 1.618 GB, free: 247.9 MB / 1.295 GB Notification: Performance of sort global known variables: time 9e-08/1.228, allocations: 0 / 1.618 GB, free: 247.9 MB / 1.295 GB Notification: Performance of remove unused functions: time 0.001825/1.23, allocations: 0.6967 MB / 1.619 GB, free: 247.8 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.00558/1.236, allocations: 3.199 MB / 1.622 GB, free: 246.4 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.00322/1.239, allocations: 2.003 MB / 1.624 GB, free: 245.4 MB / 1.295 GB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/1.239, allocations: 5.766 kB / 1.624 GB, free: 245.4 MB / 1.295 GB Notification: Performance of simCode: created simulation system equations: time 0.002152/1.241, allocations: 1.364 MB / 1.625 GB, free: 244.6 MB / 1.295 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002269/1.243, allocations: 0.5456 MB / 1.626 GB, free: 244.5 MB / 1.295 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02816/1.271, allocations: 20.9 MB / 1.646 GB, free: 236.8 MB / 1.295 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001299/1.273, allocations: 1.535 MB / 1.648 GB, free: 236 MB / 1.295 GB Notification: Performance of simCode: alias equations: time 0.001833/1.274, allocations: 0.5315 MB / 1.648 GB, free: 235.9 MB / 1.295 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001013/1.275, allocations: 0.9082 MB / 1.649 GB, free: 235.2 MB / 1.295 GB Notification: Performance of SimCode: time 1.142e-06/1.275, allocations: 0 / 1.649 GB, free: 235.2 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09342/1.369, allocations: 50.52 MB / 1.699 GB, free: 191 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.46/16.83, allocations: 0 / 1.699 GB, free: 191 MB / 1.295 GB " [Timeout remaining time 283] (rm -f Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --stepSize=241.92 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sources_Examples_Outside_CpData.fmu > Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Sources.Examples.Outside_CpData_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Sources_Examples_Outside_CpData.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.153576555894688]