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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007819/0.007819, allocations: 102.7 kB / 15.73 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001936/0.001936, allocations: 193.3 kB / 16.67 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.602/2.602, allocations: 461.9 MB / 0.7347 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 67.89 kB / 1.054 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8744/0.8764, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.00583/0.8823, allocations: 3.742 MB / 1.211 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004497/0.8868, allocations: 2.501 MB / 1.214 GB, free: 7.336 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006756/0.8875, allocations: 15.94 kB / 1.214 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0009853/0.8885, allocations: 248.3 kB / 1.214 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001333/0.8899, allocations: 0.4899 MB / 1.215 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001684/0.8916, allocations: 0.5412 MB / 1.215 GB, free: 6.047 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001937/0.8936, allocations: 1.387 MB / 1.216 GB, free: 4.656 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003077/0.8939, allocations: 149.1 kB / 1.217 GB, free: 4.508 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008279/0.8947, allocations: 430.6 kB / 1.217 GB, free: 4.086 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007514/0.8955, allocations: 470.2 kB / 1.217 GB, free: 3.625 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001427/0.8956, allocations: 60 kB / 1.217 GB, free: 3.566 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001816/0.8958, allocations: 56 kB / 1.218 GB, free: 3.512 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004127/0.8963, allocations: 374.9 kB / 1.218 GB, free: 3.145 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.000724/0.897, allocations: 469.6 kB / 1.218 GB, free: 2.684 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0009338/0.8979, allocations: 0.9303 MB / 1.219 GB, free: 1.75 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.8979, allocations: 0 / 1.219 GB, free: 1.75 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.637e-06/0.898, allocations: 0 / 1.219 GB, free: 1.75 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.226e-05/0.898, allocations: 3.938 kB / 1.219 GB, free: 1.746 MB / 0.9356 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.002411/0.9004, allocations: 1.269 MB / 1.22 GB, free: 428 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.9005, allocations: 8.031 kB / 1.22 GB, free: 420 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001922/0.9007, allocations: 103.7 kB / 1.221 GB, free: 316 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001033/0.9017, allocations: 0.6754 MB / 1.221 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.399e-05/0.9017, allocations: 41.03 kB / 1.221 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.326e-05/0.9018, allocations: 52.38 kB / 1.221 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000585/0.9024, allocations: 414.9 kB / 1.222 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.9025, allocations: 4 kB / 1.222 GB, free: 15.06 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.882e-05/0.9025, allocations: 8 kB / 1.222 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.9025, allocations: 12 kB / 1.222 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004042/0.9029, allocations: 238.4 kB / 1.222 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003012/0.9059, allocations: 2.494 MB / 1.224 GB, free: 12.13 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/0.9074, allocations: 0.5454 MB / 1.225 GB, free: 11.57 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002436/0.9076, allocations: 165.3 kB / 1.225 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.9076, allocations: 8 kB / 1.225 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.483e-05/0.9077, allocations: 38.56 kB / 1.225 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=30): time 1.633e-06/0.9077, allocations: 0 / 1.225 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30): time 0.001527/0.9092, allocations: 0.8793 MB / 1.226 GB, free: 10.41 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.916e-05/0.9093, allocations: 55.41 kB / 1.226 GB, free: 10.34 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.9103, allocations: 0.9309 MB / 1.227 GB, free: 9.402 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 3.694e-05/0.9104, allocations: 45.64 kB / 1.227 GB, free: 9.352 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002621/0.9107, allocations: 364.7 kB / 1.227 GB, free: 8.988 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 9.92e-05/0.9108, allocations: 118.4 kB / 1.227 GB, free: 8.871 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001983/0.911, allocations: 166.6 kB / 1.228 GB, free: 8.703 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.9111, allocations: 394.8 kB / 1.228 GB, free: 8.309 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003742/0.9115, allocations: 245.8 kB / 1.228 GB, free: 8.07 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005959/0.9121, allocations: 0.6348 MB / 1.229 GB, free: 7.246 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009791/0.9131, allocations: 0.8854 MB / 1.23 GB, free: 6.168 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.9131, allocations: 4 kB / 1.23 GB, free: 6.164 MB / 0.9512 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001524/0.9147, allocations: 1.022 MB / 1.231 GB, free: 5.125 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.716e-05/0.9147, allocations: 20.06 kB / 1.231 GB, free: 5.105 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/0.9147, allocations: 16 kB / 1.231 GB, free: 5.09 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004111/0.9151, allocations: 126.4 kB / 1.231 GB, free: 4.957 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005893/0.9157, allocations: 187.7 kB / 1.231 GB, free: 4.773 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00344/0.9192, allocations: 4.481 MB / 1.235 GB, free: 15.87 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007737/0.92, allocations: 111 kB / 1.236 GB, free: 15.76 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.114e-05/0.92, allocations: 44 kB / 1.236 GB, free: 15.71 MB / 0.9669 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.000367/0.9204, allocations: 265.3 kB / 1.236 GB, free: 15.45 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001106/0.9205, allocations: 82.88 kB / 1.236 GB, free: 15.36 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001195/0.9206, allocations: 84.52 kB / 1.236 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.9207, allocations: 4.062 kB / 1.236 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.337e-06/0.9207, allocations: 4 kB / 1.236 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.9207, allocations: 0 / 1.236 GB, free: 15.27 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007473/0.9214, allocations: 0.6609 MB / 1.237 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.9214, allocations: 4 kB / 1.237 GB, free: 14.55 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003302/0.9218, allocations: 59.89 kB / 1.237 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002747/0.9221, allocations: 106.5 kB / 1.237 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.086e-05/0.9221, allocations: 16 kB / 1.237 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003243/0.9254, allocations: 4.445 MB / 1.241 GB, free: 9.508 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.9254, allocations: 3.984 kB / 1.241 GB, free: 9.504 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001007/0.9264, allocations: 0.7275 MB / 1.242 GB, free: 8.75 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002608/0.9267, allocations: 215.8 kB / 1.242 GB, free: 8.52 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.996e-05/0.9267, allocations: 11.98 kB / 1.242 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004196/0.9272, allocations: 27.97 kB / 1.242 GB, free: 8.48 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.925e-05/0.9273, allocations: 23.91 kB / 1.242 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.889e-05/0.9273, allocations: 12 kB / 1.242 GB, free: 8.445 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000801/0.9281, allocations: 0.6239 MB / 1.243 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.41e-07/0.9281, allocations: 0 / 1.243 GB, free: 7.824 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0008046/0.9289, allocations: 263.8 kB / 1.243 GB, free: 7.566 MB / 0.9669 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.0001655/0.9291, allocations: 107.2 kB / 1.243 GB, free: 7.449 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001371/0.9305, allocations: 0.9235 MB / 1.244 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.9305, allocations: 0 / 1.244 GB, free: 6.488 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0005993/0.9311, allocations: 0.5284 MB / 1.245 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008039/0.9319, allocations: 167.3 kB / 1.245 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002506/0.9344, allocations: 1.718 MB / 1.246 GB, free: 4.008 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005857/0.935, allocations: 0.9956 MB / 1.247 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.000348/0.9354, allocations: 153.8 kB / 1.248 GB, free: 2.832 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001445/0.9355, allocations: 51.44 kB / 1.248 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of SimCode: time 2.4e-07/0.9355, allocations: 0 / 1.248 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of Templates: time 0.01841/0.9539, allocations: 10.21 MB / 1.258 GB, free: 8.684 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) 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) Reference file matches