Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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.001512/0.001512, allocations: 113 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.001678/0.001678, allocations: 210.2 kB / 22.25 MB, free: 5.086 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.406/1.406, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] 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 3.102/3.102, allocations: 0.505 GB / 0.8101 GB, free: 22.04 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.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",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.001921/0.001921, allocations: 74.78 kB / 1.177 GB, free: 17.04 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3268/0.3287, allocations: 180.2 MB / 1.353 GB, free: 8.441 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.005478/0.3342, allocations: 3.805 MB / 1.357 GB, free: 4.609 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004503/0.3387, allocations: 2.583 MB / 1.359 GB, free: 2.02 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005499/0.3392, allocations: 23.81 kB / 1.359 GB, free: 1.996 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0008118/0.34, allocations: 250.3 kB / 1.359 GB, free: 1.75 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001214/0.3413, allocations: 0.5452 MB / 1.36 GB, free: 1.203 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001338/0.3426, allocations: 0.5674 MB / 1.36 GB, free: 0.6367 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001834/0.3444, allocations: 1.402 MB / 1.362 GB, free: 15.23 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000279/0.3447, allocations: 105.7 kB / 1.362 GB, free: 15.12 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009954/0.3457, allocations: 446.5 kB / 1.362 GB, free: 14.68 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000837/0.3465, allocations: 498.1 kB / 1.363 GB, free: 14.2 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0001004/0.3466, allocations: 56 kB / 1.363 GB, free: 14.14 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001965/0.3468, allocations: 76 kB / 1.363 GB, free: 14.07 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0004594/0.3473, allocations: 402.8 kB / 1.363 GB, free: 13.67 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0004917/0.3478, allocations: 465.6 kB / 1.364 GB, free: 13.21 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.001107/0.3489, allocations: 0.953 MB / 1.365 GB, free: 12.26 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3489, allocations: 3.938 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.453e-06/0.3489, allocations: 0 / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.155e-05/0.3489, allocations: 4 kB / 1.365 GB, free: 12.25 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002493/0.3514, allocations: 1.236 MB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.876e-05/0.3515, allocations: 12.03 kB / 1.366 GB, free: 10.97 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.301e-05/0.3516, allocations: 66.72 kB / 1.366 GB, free: 10.89 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003048/0.3519, allocations: 112.3 kB / 1.366 GB, free: 10.79 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001126/0.353, allocations: 0.6182 MB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.88e-05/0.353, allocations: 37.03 kB / 1.367 GB, free: 10.11 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.239e-05/0.3531, allocations: 64.12 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006101/0.3537, allocations: 411 kB / 1.367 GB, free: 9.609 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.3537, allocations: 0 / 1.367 GB, free: 9.609 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.03e-05/0.3538, allocations: 12 kB / 1.367 GB, free: 9.598 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.929e-06/0.3538, allocations: 8 kB / 1.367 GB, free: 9.59 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004185/0.3542, allocations: 238.4 kB / 1.367 GB, free: 9.355 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002962/0.3572, allocations: 2.452 MB / 1.37 GB, free: 6.73 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001376/0.3585, allocations: 0.5298 MB / 1.37 GB, free: 6.191 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002353/0.3588, allocations: 145.3 kB / 1.37 GB, free: 6.047 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.3e-05/0.3588, allocations: 4 kB / 1.37 GB, free: 6.043 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.3588, allocations: 38.56 kB / 1.371 GB, free: 5.996 MB / 1.061 GB Notification: Performance of pre-optimization done (n=30): time 1.523e-06/0.3588, allocations: 3.938 kB / 1.371 GB, free: 5.992 MB / 1.061 GB Notification: Performance of matching and sorting (n=30): time 0.001436/0.3603, allocations: 0.6631 MB / 1.371 GB, free: 5.312 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.234e-05/0.3603, allocations: 55.41 kB / 1.371 GB, free: 5.246 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001141/0.3614, allocations: 0.9272 MB / 1.372 GB, free: 4.305 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.174e-05/0.3615, allocations: 41.7 kB / 1.372 GB, free: 4.258 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002919/0.3618, allocations: 373.2 kB / 1.373 GB, free: 3.891 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/0.3619, allocations: 118.9 kB / 1.373 GB, free: 3.773 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002207/0.3621, allocations: 178.6 kB / 1.373 GB, free: 3.594 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001941/0.3623, allocations: 394.7 kB / 1.373 GB, free: 3.199 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003829/0.3627, allocations: 241.8 kB / 1.373 GB, free: 2.961 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006745/0.3634, allocations: 0.643 MB / 1.374 GB, free: 2.129 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001042/0.3644, allocations: 0.8914 MB / 1.375 GB, free: 1.043 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.796e-06/0.3644, allocations: 8 kB / 1.375 GB, free: 1.035 MB / 1.061 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001527/0.3659, allocations: 1.015 MB / 1.376 GB, free: 4 kB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.706e-05/0.366, allocations: 13.92 kB / 1.376 GB, free: 15.99 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.005e-05/0.366, allocations: 23.88 kB / 1.376 GB, free: 15.96 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003606/0.3664, allocations: 122.7 kB / 1.376 GB, free: 15.84 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005911/0.3669, allocations: 191.7 kB / 1.376 GB, free: 15.65 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003334/0.3703, allocations: 4.159 MB / 1.38 GB, free: 11.14 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008325/0.3711, allocations: 123.2 kB / 1.38 GB, free: 11.02 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.171e-05/0.3712, allocations: 44 kB / 1.38 GB, free: 10.98 MB / 1.076 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (93): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003047/0.3715, allocations: 269.5 kB / 1.381 GB, free: 10.71 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.3716, allocations: 87.39 kB / 1.381 GB, free: 10.62 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001294/0.3717, allocations: 80.53 kB / 1.381 GB, free: 10.54 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.927e-06/0.3717, allocations: 4 kB / 1.381 GB, free: 10.53 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.764e-06/0.3717, allocations: 3.984 kB / 1.381 GB, free: 10.53 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.3717, allocations: 0 / 1.381 GB, free: 10.53 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007207/0.3725, allocations: 0.6327 MB / 1.382 GB, free: 9.852 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3725, allocations: 0 / 1.382 GB, free: 9.852 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003048/0.3728, allocations: 63.89 kB / 1.382 GB, free: 9.789 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002823/0.373, allocations: 106.5 kB / 1.382 GB, free: 9.676 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.682e-05/0.3731, allocations: 8 kB / 1.382 GB, free: 9.668 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003177/0.3762, allocations: 4.152 MB / 1.386 GB, free: 5.176 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3762, allocations: 0 / 1.386 GB, free: 5.176 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001066/0.3773, allocations: 0.7444 MB / 1.386 GB, free: 4.406 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003009/0.3776, allocations: 143.2 kB / 1.387 GB, free: 4.266 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.045e-05/0.3777, allocations: 12 kB / 1.387 GB, free: 4.254 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004726/0.3782, allocations: 31.95 kB / 1.387 GB, free: 4.223 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.245e-05/0.3782, allocations: 27.89 kB / 1.387 GB, free: 4.195 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.3783, allocations: 4 kB / 1.387 GB, free: 4.191 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0008084/0.3791, allocations: 0.6278 MB / 1.387 GB, free: 3.57 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.3791, allocations: 0 / 1.387 GB, free: 3.57 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0007883/0.3799, allocations: 271.8 kB / 1.388 GB, free: 3.305 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (con.T[1],con.T[2],con.T[3],con.T[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (23): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,3,100.0%), (1,3,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00134/0.3812, allocations: 1.289 MB / 1.389 GB, free: 1.977 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001336/0.3825, allocations: 0.9047 MB / 1.39 GB, free: 1.035 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3825, allocations: 0 / 1.39 GB, free: 1.035 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0005926/0.3831, allocations: 0.5083 MB / 1.39 GB, free: 500 kB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007666/0.3839, allocations: 167.5 kB / 1.39 GB, free: 332 kB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01006/0.394, allocations: 7.877 MB / 1.398 GB, free: 7.91 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005991/0.3946, allocations: 0.9839 MB / 1.399 GB, free: 6.898 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0003607/0.3949, allocations: 153.8 kB / 1.399 GB, free: 6.746 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00036/0.3953, allocations: 279.3 kB / 1.399 GB, free: 6.473 MB / 1.092 GB Notification: Performance of SimCode: time 7.02e-07/0.3953, allocations: 0 / 1.399 GB, free: 6.473 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07132/0.4666, allocations: 17.8 MB / 1.417 GB, free: 4.938 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.46/12.93, allocations: 11.98 kB / 1.417 GB, free: 4.926 MB / 1.107 GB " [Timeout remaining time 287] (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat --tempDir=temp_Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer2_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer2.fmu > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.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: 19.36972391512245]