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.008193/0.008193, allocations: 100.7 kB / 15.73 MB, free: 6.004 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.00173/0.00173, allocations: 198.5 kB / 16.68 MB, free: 5.926 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.376/1.376, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.532/2.532, allocations: 461.9 MB / 0.7348 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 59.91 kB / 1.054 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8714/0.8727, allocations: 157.4 MB / 1.208 GB, free: 13.65 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.005453/0.8782, allocations: 3.741 MB / 1.211 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004648/0.8829, allocations: 2.505 MB / 1.214 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007127/0.8836, allocations: 15.94 kB / 1.214 GB, free: 7.363 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001199/0.8848, allocations: 256.3 kB / 1.214 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001438/0.8864, allocations: 497.6 kB / 1.215 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001625/0.888, allocations: 0.5406 MB / 1.215 GB, free: 6.086 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001968/0.89, allocations: 1.387 MB / 1.216 GB, free: 4.695 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003372/0.8903, allocations: 149.1 kB / 1.217 GB, free: 4.547 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008547/0.8912, allocations: 434.5 kB / 1.217 GB, free: 4.121 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009136/0.8921, allocations: 466.2 kB / 1.217 GB, free: 3.664 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0002126/0.8923, allocations: 56 kB / 1.217 GB, free: 3.609 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002405/0.8926, allocations: 56 kB / 1.218 GB, free: 3.555 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000463/0.8931, allocations: 370.9 kB / 1.218 GB, free: 3.191 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0007332/0.8938, allocations: 469.7 kB / 1.218 GB, free: 2.73 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001061/0.8949, allocations: 0.9419 MB / 1.219 GB, free: 1.785 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.8949, allocations: 0 / 1.219 GB, free: 1.785 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8949, allocations: 0 / 1.219 GB, free: 1.785 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 3.811e-05/0.8949, allocations: 0 / 1.219 GB, free: 1.785 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.002863/0.8978, allocations: 1.273 MB / 1.22 GB, free: 464 kB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.8979, allocations: 8.031 kB / 1.22 GB, free: 456 kB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002678/0.8981, allocations: 103.7 kB / 1.221 GB, free: 352 kB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001524/0.8997, allocations: 0.6676 MB / 1.221 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.414e-05/0.8997, allocations: 41.03 kB / 1.221 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.185e-05/0.8998, allocations: 56.38 kB / 1.221 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006663/0.9005, allocations: 414.9 kB / 1.222 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.404e-05/0.9005, allocations: 0 / 1.222 GB, free: 15.1 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.359e-05/0.9006, allocations: 12 kB / 1.222 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.9006, allocations: 8 kB / 1.222 GB, free: 15.08 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004346/0.901, allocations: 238.4 kB / 1.222 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003421/0.9045, allocations: 2.498 MB / 1.224 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/0.9059, allocations: 0.5493 MB / 1.225 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002686/0.9062, allocations: 161.3 kB / 1.225 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.9062, allocations: 4 kB / 1.225 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.9063, allocations: 42.55 kB / 1.225 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=30): time 1.793e-06/0.9063, allocations: 0 / 1.225 GB, free: 11.39 MB / 0.9512 GB Notification: Performance of matching and sorting (n=30): time 0.001666/0.908, allocations: 0.8793 MB / 1.226 GB, free: 10.45 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.941e-05/0.908, allocations: 55.41 kB / 1.226 GB, free: 10.38 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001258/0.9093, allocations: 0.9309 MB / 1.227 GB, free: 9.441 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.197e-05/0.9093, allocations: 41.7 kB / 1.227 GB, free: 9.395 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002833/0.9096, allocations: 372.7 kB / 1.227 GB, free: 9.023 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.9098, allocations: 110.4 kB / 1.227 GB, free: 8.914 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002189/0.91, allocations: 166.6 kB / 1.228 GB, free: 8.746 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.9102, allocations: 398.7 kB / 1.228 GB, free: 8.348 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004095/0.9106, allocations: 245.8 kB / 1.228 GB, free: 8.109 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006417/0.9112, allocations: 0.6387 MB / 1.229 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/0.9123, allocations: 0.8854 MB / 1.23 GB, free: 6.203 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.109e-05/0.9123, allocations: 4 kB / 1.23 GB, free: 6.199 MB / 0.9512 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001621/0.9139, allocations: 1.018 MB / 1.231 GB, free: 5.164 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.246e-05/0.9139, allocations: 12 kB / 1.231 GB, free: 5.152 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.263e-05/0.914, allocations: 12 kB / 1.231 GB, free: 5.141 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004328/0.9144, allocations: 134.8 kB / 1.231 GB, free: 5 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006259/0.915, allocations: 187.7 kB / 1.231 GB, free: 4.816 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003408/0.9185, allocations: 4.484 MB / 1.235 GB, free: 15.91 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009822/0.9195, allocations: 111 kB / 1.236 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.475e-05/0.9195, allocations: 44 kB / 1.236 GB, free: 15.75 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.0003366/0.9199, allocations: 273.4 kB / 1.236 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001822/0.9201, allocations: 82.88 kB / 1.236 GB, free: 15.39 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001529/0.9202, allocations: 76.53 kB / 1.236 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.9202, allocations: 4 kB / 1.236 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.261e-05/0.9203, allocations: 4 kB / 1.236 GB, free: 15.31 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-06/0.9203, allocations: 3.984 kB / 1.236 GB, free: 15.3 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008595/0.9211, allocations: 0.657 MB / 1.237 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.9212, allocations: 4 kB / 1.237 GB, free: 14.59 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003265/0.9215, allocations: 63.88 kB / 1.237 GB, free: 14.53 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003094/0.9218, allocations: 98.5 kB / 1.237 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.448e-05/0.9219, allocations: 16 kB / 1.237 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003103/0.925, allocations: 4.457 MB / 1.241 GB, free: 9.539 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.925, allocations: 4 kB / 1.241 GB, free: 9.535 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001046/0.926, allocations: 0.7235 MB / 1.242 GB, free: 8.785 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003759/0.9264, allocations: 219.8 kB / 1.242 GB, free: 8.551 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/0.9265, allocations: 8 kB / 1.242 GB, free: 8.543 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004704/0.927, allocations: 19.97 kB / 1.242 GB, free: 8.523 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.211e-05/0.9271, allocations: 23.97 kB / 1.242 GB, free: 8.5 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/0.9271, allocations: 12 kB / 1.242 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0008359/0.928, allocations: 0.6239 MB / 1.243 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.81e-07/0.928, allocations: 0 / 1.243 GB, free: 7.867 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0009267/0.9289, allocations: 263.8 kB / 1.243 GB, free: 7.609 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.0001514/0.9291, allocations: 111.2 kB / 1.243 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.001461/0.9305, allocations: 0.9246 MB / 1.244 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.447e-06/0.9306, allocations: 0 / 1.244 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0006033/0.9312, allocations: 0.5194 MB / 1.245 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008872/0.9321, allocations: 173.5 kB / 1.245 GB, free: 5.801 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002664/0.9347, allocations: 1.719 MB / 1.246 GB, free: 4.047 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005946/0.9353, allocations: 0.9917 MB / 1.247 GB, free: 3.027 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0003799/0.9357, allocations: 153.8 kB / 1.248 GB, free: 2.875 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001578/0.9359, allocations: 51.44 kB / 1.248 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of SimCode: time 3.61e-07/0.9359, allocations: 0 / 1.248 GB, free: 2.824 MB / 0.9669 GB Notification: Performance of Templates: time 0.01948/0.9554, allocations: 10.46 MB / 1.258 GB, free: 8.473 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