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.002101/0.002101, allocations: 110.4 kB / 19.73 MB, free: 2.242 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.002232/0.002232, allocations: 220 kB / 23.05 MB, free: 5.074 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.438/1.438, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.261/3.261, allocations: 0.5003 GB / 0.8061 GB, free: 26.69 MB / 0.6231 GB " [Timeout remaining time 176] 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,fileNamePrefix="Buildings_latest_Buildings_HeatTransfer_Examples_ConductorSingleLayer2",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.001933/0.001933, allocations: 72.84 kB / 1.171 GB, free: 19.88 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3424, allocations: 179 MB / 1.345 GB, free: 432 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.005947/0.3483, allocations: 3.799 MB / 1.349 GB, free: 12.59 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.004972/0.3533, allocations: 2.591 MB / 1.352 GB, free: 9.996 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004377/0.3537, allocations: 27.75 kB / 1.352 GB, free: 9.969 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0008773/0.3546, allocations: 250.4 kB / 1.352 GB, free: 9.723 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.001323/0.3559, allocations: 0.5405 MB / 1.352 GB, free: 9.18 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001434/0.3573, allocations: 0.5612 MB / 1.353 GB, free: 8.617 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.001736/0.3591, allocations: 1.406 MB / 1.354 GB, free: 7.207 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002284/0.3593, allocations: 101.7 kB / 1.354 GB, free: 7.102 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006585/0.36, allocations: 442.5 kB / 1.355 GB, free: 6.668 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006967/0.3607, allocations: 0.4942 MB / 1.355 GB, free: 6.172 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 9.476e-05/0.3608, allocations: 63.94 kB / 1.355 GB, free: 6.109 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001758/0.3609, allocations: 76 kB / 1.355 GB, free: 6.035 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.000407/0.3613, allocations: 382.9 kB / 1.356 GB, free: 5.66 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 0.0004514/0.3618, allocations: 473.6 kB / 1.356 GB, free: 5.195 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.001015/0.3628, allocations: 0.9568 MB / 1.357 GB, free: 4.234 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.3628, allocations: 3.984 kB / 1.357 GB, free: 4.23 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3628, allocations: 0 / 1.357 GB, free: 4.23 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.116e-05/0.3628, allocations: 0 / 1.357 GB, free: 4.23 MB / 1.045 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.002425/0.3653, allocations: 1.236 MB / 1.358 GB, free: 2.961 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.3653, allocations: 8.031 kB / 1.358 GB, free: 2.953 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.185e-05/0.3653, allocations: 8.844 kB / 1.358 GB, free: 2.945 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.2e-05/0.3654, allocations: 74.72 kB / 1.358 GB, free: 2.863 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002862/0.3657, allocations: 108.3 kB / 1.359 GB, free: 2.758 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001042/0.3667, allocations: 0.6221 MB / 1.359 GB, free: 2.105 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.514e-05/0.3667, allocations: 37.03 kB / 1.359 GB, free: 2.07 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.852e-05/0.3668, allocations: 63.94 kB / 1.359 GB, free: 2.008 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000609/0.3674, allocations: 414.9 kB / 1.36 GB, free: 1.566 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.3675, allocations: 7.938 kB / 1.36 GB, free: 1.559 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.822e-05/0.3675, allocations: 11.94 kB / 1.36 GB, free: 1.547 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.408e-06/0.3675, allocations: 12 kB / 1.36 GB, free: 1.535 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000423/0.3679, allocations: 230.4 kB / 1.36 GB, free: 1.312 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003175/0.3711, allocations: 2.459 MB / 1.362 GB, free: 14.68 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001482/0.3726, allocations: 0.5259 MB / 1.363 GB, free: 14.14 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002567/0.3728, allocations: 152.7 kB / 1.363 GB, free: 13.99 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.282e-05/0.3729, allocations: 4 kB / 1.363 GB, free: 13.99 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.772e-05/0.3729, allocations: 34.56 kB / 1.363 GB, free: 13.95 MB / 1.061 GB Notification: Performance of pre-optimization done (n=30): time 1.673e-06/0.3729, allocations: 0 / 1.363 GB, free: 13.95 MB / 1.061 GB Notification: Performance of matching and sorting (n=30): time 0.001615/0.3745, allocations: 0.6598 MB / 1.364 GB, free: 13.27 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.3745, allocations: 55.41 kB / 1.364 GB, free: 13.2 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001288/0.3758, allocations: 0.9311 MB / 1.365 GB, free: 12.27 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 5.198e-05/0.3759, allocations: 41.7 kB / 1.365 GB, free: 12.22 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003248/0.3762, allocations: 369.2 kB / 1.365 GB, free: 11.85 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001351/0.3763, allocations: 123 kB / 1.365 GB, free: 11.73 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002222/0.3766, allocations: 170.5 kB / 1.365 GB, free: 11.56 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002255/0.3768, allocations: 402.7 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004087/0.3772, allocations: 237.8 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007708/0.378, allocations: 0.643 MB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/0.3791, allocations: 0.8877 MB / 1.367 GB, free: 9.008 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/0.3791, allocations: 4 kB / 1.367 GB, free: 9.004 MB / 1.061 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001783/0.3809, allocations: 1.022 MB / 1.368 GB, free: 7.965 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.283e-05/0.3809, allocations: 17.66 kB / 1.368 GB, free: 7.949 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.939e-05/0.3809, allocations: 12 kB / 1.368 GB, free: 7.938 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000444/0.3813, allocations: 126.7 kB / 1.369 GB, free: 7.805 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006482/0.382, allocations: 195.6 kB / 1.369 GB, free: 7.613 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003596/0.3856, allocations: 4.163 MB / 1.373 GB, free: 3.102 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000992/0.3866, allocations: 119.2 kB / 1.373 GB, free: 2.984 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.381e-05/0.3866, allocations: 43.94 kB / 1.373 GB, free: 2.941 MB / 1.061 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.0003461/0.387, allocations: 277.4 kB / 1.373 GB, free: 2.66 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.3871, allocations: 87.39 kB / 1.373 GB, free: 2.574 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001286/0.3872, allocations: 76.53 kB / 1.373 GB, free: 2.496 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-06/0.3873, allocations: 4 kB / 1.373 GB, free: 2.492 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.926e-06/0.3873, allocations: 4 kB / 1.373 GB, free: 2.488 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.811e-06/0.3873, allocations: 3.984 kB / 1.373 GB, free: 2.484 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007754/0.388, allocations: 0.6326 MB / 1.374 GB, free: 1.809 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.388, allocations: 0 / 1.374 GB, free: 1.809 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003251/0.3884, allocations: 59.95 kB / 1.374 GB, free: 1.75 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003113/0.3887, allocations: 114.4 kB / 1.374 GB, free: 1.629 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.831e-05/0.3887, allocations: 8 kB / 1.374 GB, free: 1.621 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003532/0.3922, allocations: 4.147 MB / 1.378 GB, free: 13.13 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.3922, allocations: 0 / 1.378 GB, free: 13.13 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001342/0.3936, allocations: 0.752 MB / 1.379 GB, free: 12.36 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003719/0.394, allocations: 139.2 kB / 1.379 GB, free: 12.22 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.514e-05/0.3941, allocations: 8 kB / 1.379 GB, free: 12.21 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005086/0.3946, allocations: 23.97 kB / 1.379 GB, free: 12.19 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.95e-05/0.3946, allocations: 31.94 kB / 1.379 GB, free: 12.16 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.3947, allocations: 8 kB / 1.379 GB, free: 12.15 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.000897/0.3956, allocations: 0.6239 MB / 1.38 GB, free: 11.53 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.3956, allocations: 0 / 1.38 GB, free: 11.53 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009143/0.3965, allocations: 267.8 kB / 1.38 GB, free: 11.27 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.001528/0.398, allocations: 1.288 MB / 1.381 GB, free: 9.938 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001545/0.3995, allocations: 0.9037 MB / 1.382 GB, free: 8.996 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.3995, allocations: 0 / 1.382 GB, free: 8.996 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006485/0.4002, allocations: 0.5061 MB / 1.383 GB, free: 8.453 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008631/0.4011, allocations: 174.3 kB / 1.383 GB, free: 8.285 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01116/0.4122, allocations: 7.865 MB / 1.39 GB, free: 15.88 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006566/0.4129, allocations: 0.9878 MB / 1.391 GB, free: 14.87 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0004248/0.4133, allocations: 153.8 kB / 1.392 GB, free: 14.71 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003869/0.4137, allocations: 283.3 kB / 1.392 GB, free: 14.44 MB / 1.092 GB Notification: Performance of SimCode: time 1.182e-06/0.4137, allocations: 3.938 kB / 1.392 GB, free: 14.43 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0579/0.4716, allocations: 17.82 MB / 1.409 GB, free: 12.89 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.72/14.19, allocations: 10.97 kB / 1.409 GB, free: 12.88 MB / 1.107 GB " [Timeout remaining time 286] (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: 21.27617124095559]