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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001771/0.001771, allocations: 113.9 kB / 17.61 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002611/0.002611, allocations: 185.9 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.54/1.54, allocations: 225.6 MB / 249.4 MB, free: 3.297 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.098/3.098, allocations: 496.1 MB / 0.7819 GB, free: 12.25 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayer2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con1.port_a.T|con1.port_b.T|con2.port_a.T|con2.port_b.T|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 72.06 kB / 1.136 GB, free: 10.33 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.161/1.163, allocations: 173.6 MB / 1.305 GB, free: 0.6992 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.006562/1.169, allocations: 3.783 MB / 1.309 GB, free: 14.02 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005728/1.175, allocations: 2.526 MB / 1.312 GB, free: 12.32 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007289/1.176, allocations: 17.5 kB / 1.312 GB, free: 12.31 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0009244/1.177, allocations: 250.3 kB / 1.312 GB, free: 12.19 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.001415/1.178, allocations: 0.5087 MB / 1.312 GB, free: 11.9 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.001852/1.18, allocations: 0.5303 MB / 1.313 GB, free: 11.65 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.002387/1.182, allocations: 1.39 MB / 1.314 GB, free: 10.87 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002805/1.183, allocations: 108.2 kB / 1.314 GB, free: 10.79 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009713/1.184, allocations: 442.3 kB / 1.315 GB, free: 10.55 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008057/1.185, allocations: 485 kB / 1.315 GB, free: 10.25 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0001143/1.185, allocations: 54.56 kB / 1.315 GB, free: 10.25 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001632/1.185, allocations: 57 kB / 1.315 GB, free: 10.25 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005411/1.185, allocations: 391.4 kB / 1.316 GB, free: 9.992 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0006174/1.186, allocations: 465.3 kB / 1.316 GB, free: 9.691 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.001444/1.187, allocations: 0.9424 MB / 1.317 GB, free: 9.059 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/1.187, allocations: 1.312 kB / 1.317 GB, free: 9.059 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.064e-06/1.187, allocations: 0 / 1.317 GB, free: 9.059 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.22e-05/1.187, allocations: 4 kB / 1.317 GB, free: 9.055 MB / 1.014 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.002656/1.19, allocations: 1.3 MB / 1.318 GB, free: 8.059 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.067e-05/1.19, allocations: 12.55 kB / 1.318 GB, free: 8.055 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001912/1.19, allocations: 108.1 kB / 1.318 GB, free: 8 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/1.192, allocations: 0.6776 MB / 1.319 GB, free: 7.473 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.694e-05/1.192, allocations: 38.22 kB / 1.319 GB, free: 7.457 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/1.192, allocations: 57.62 kB / 1.319 GB, free: 7.438 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007599/1.193, allocations: 415.8 kB / 1.32 GB, free: 7.148 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/1.193, allocations: 1.125 kB / 1.32 GB, free: 7.148 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.585e-05/1.193, allocations: 11.47 kB / 1.32 GB, free: 7.141 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.569e-05/1.193, allocations: 8.656 kB / 1.32 GB, free: 7.141 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004505/1.193, allocations: 236.1 kB / 1.32 GB, free: 7.027 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003584/1.197, allocations: 2.493 MB / 1.322 GB, free: 4.816 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001488/1.198, allocations: 0.5318 MB / 1.323 GB, free: 4.57 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002767/1.198, allocations: 147.3 kB / 1.323 GB, free: 4.496 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/1.198, allocations: 3.625 kB / 1.323 GB, free: 4.496 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/1.198, allocations: 35.94 kB / 1.323 GB, free: 4.453 MB / 1.014 GB Notification: Performance of pre-optimization done (n=30): time 2.394e-06/1.198, allocations: 0 / 1.323 GB, free: 4.453 MB / 1.014 GB Notification: Performance of matching and sorting (n=30): time 0.001914/1.2, allocations: 0.8928 MB / 1.324 GB, free: 3.812 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.451e-05/1.2, allocations: 58.44 kB / 1.324 GB, free: 3.746 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001592/1.202, allocations: 0.9297 MB / 1.325 GB, free: 3.223 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 5.897e-05/1.202, allocations: 37.02 kB / 1.325 GB, free: 3.184 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.000371/1.202, allocations: 366.6 kB / 1.325 GB, free: 2.867 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001826/1.203, allocations: 118.6 kB / 1.325 GB, free: 2.766 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002982/1.203, allocations: 167.5 kB / 1.325 GB, free: 2.672 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002929/1.203, allocations: 401.4 kB / 1.326 GB, free: 2.293 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004959/1.204, allocations: 243.8 kB / 1.326 GB, free: 2.184 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009241/1.205, allocations: 0.6398 MB / 1.327 GB, free: 1.52 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/1.206, allocations: 0.8834 MB / 1.328 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.1e-05/1.206, allocations: 4.562 kB / 1.328 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001935/1.208, allocations: 1.025 MB / 1.329 GB, free: 176 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 3e-05/1.208, allocations: 12.12 kB / 1.329 GB, free: 176 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.213e-05/1.208, allocations: 13.06 kB / 1.329 GB, free: 176 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004839/1.208, allocations: 129.6 kB / 1.329 GB, free: 104 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007056/1.209, allocations: 191.3 kB / 1.329 GB, free: 56 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004202/1.213, allocations: 4.481 MB / 1.333 GB, free: 11.55 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/1.215, allocations: 113.2 kB / 1.333 GB, free: 11.48 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.002e-05/1.215, allocations: 44.41 kB / 1.333 GB, free: 11.47 MB / 1.029 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.0004507/1.215, allocations: 273.7 kB / 1.334 GB, free: 11.25 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/1.215, allocations: 84.5 kB / 1.334 GB, free: 11.21 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001433/1.215, allocations: 82.17 kB / 1.334 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/1.215, allocations: 3.406 kB / 1.334 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.447e-05/1.215, allocations: 1.344 kB / 1.334 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/1.215, allocations: 192 / 1.334 GB, free: 11.14 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009911/1.216, allocations: 0.6597 MB / 1.334 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/1.216, allocations: 1.062 kB / 1.334 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003318/1.217, allocations: 64.56 kB / 1.335 GB, free: 10.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003212/1.217, allocations: 106.6 kB / 1.335 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.085e-05/1.217, allocations: 7.625 kB / 1.335 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004619/1.222, allocations: 4.458 MB / 1.339 GB, free: 6.023 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/1.222, allocations: 0 / 1.339 GB, free: 6.023 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001635/1.223, allocations: 0.7368 MB / 1.34 GB, free: 5.562 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005682/1.224, allocations: 215.9 kB / 1.34 GB, free: 5.371 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001048/1.224, allocations: 12.05 kB / 1.34 GB, free: 5.363 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005304/1.225, allocations: 25 kB / 1.34 GB, free: 5.348 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001201/1.225, allocations: 30.72 kB / 1.34 GB, free: 5.328 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.951e-05/1.225, allocations: 5.469 kB / 1.34 GB, free: 5.328 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001133/1.226, allocations: 0.6265 MB / 1.341 GB, free: 4.984 MB / 1.029 GB Notification: Performance of sort global known variables: time 7.1e-08/1.226, allocations: 0 / 1.341 GB, free: 4.984 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001179/1.227, allocations: 259.6 kB / 1.341 GB, free: 4.961 MB / 1.029 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.0002077/1.227, allocations: 115.4 kB / 1.341 GB, free: 4.855 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001748/1.229, allocations: 0.8906 MB / 1.342 GB, free: 4.258 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/1.229, allocations: 1.062 kB / 1.342 GB, free: 4.258 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0007926/1.23, allocations: 0.5134 MB / 1.342 GB, free: 3.82 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009847/1.231, allocations: 178.8 kB / 1.343 GB, free: 3.723 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003458/1.234, allocations: 1.769 MB / 1.344 GB, free: 2.539 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008827/1.235, allocations: 0.9922 MB / 1.345 GB, free: 1.699 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.000561/1.236, allocations: 141.1 kB / 1.345 GB, free: 1.645 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001684/1.236, allocations: 50.42 kB / 1.345 GB, free: 1.633 MB / 1.029 GB Notification: Performance of SimCode: time 1.764e-06/1.236, allocations: 0 / 1.345 GB, free: 1.633 MB / 1.029 GB Notification: Performance of Templates: time 0.02615/1.262, allocations: 10.45 MB / 1.356 GB, free: 12.59 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","/var/lib/jenkins/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: 10.392844629473984]