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 12.0.0-master/package.mo", uses=false) 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=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.007575/0.007575, allocations: 96.53 kB / 15.73 MB, free: 6.043 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.001968/0.001968, allocations: 196.6 kB / 16.67 MB, free: 5.969 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.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.89/2.89, allocations: 472.6 MB / 0.7453 GB, free: 4.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 63.84 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3286/0.3298, allocations: 159.9 MB / 1.226 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.005229/0.3351, allocations: 3.736 MB / 1.229 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004674/0.3398, allocations: 2.509 MB / 1.232 GB, free: 2.887 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007399/0.3405, allocations: 15.88 kB / 1.232 GB, free: 2.871 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.001176/0.3418, allocations: 246.4 kB / 1.232 GB, free: 2.629 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001636/0.3434, allocations: 0.4938 MB / 1.232 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001804/0.3453, allocations: 0.5417 MB / 1.233 GB, free: 1.59 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002158/0.3474, allocations: 1.402 MB / 1.234 GB, free: 188 kB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000351/0.3478, allocations: 141.1 kB / 1.234 GB, free: 36 kB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008363/0.3486, allocations: 434.5 kB / 1.235 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008239/0.3495, allocations: 454.2 kB / 1.235 GB, free: 15.16 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001859/0.3497, allocations: 56 kB / 1.235 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002143/0.3499, allocations: 60 kB / 1.235 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004379/0.3503, allocations: 366.9 kB / 1.236 GB, free: 14.69 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007735/0.3511, allocations: 477.5 kB / 1.236 GB, free: 14.22 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001188/0.3523, allocations: 0.9451 MB / 1.237 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.182e-06/0.3524, allocations: 0 / 1.237 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.144e-06/0.3524, allocations: 0 / 1.237 GB, free: 13.27 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.729e-05/0.3524, allocations: 0 / 1.237 GB, free: 13.27 MB / 0.9981 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.003247/0.3557, allocations: 1.295 MB / 1.238 GB, free: 11.92 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3557, allocations: 16.03 kB / 1.238 GB, free: 11.91 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002167/0.3559, allocations: 104.3 kB / 1.239 GB, free: 11.8 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/0.3571, allocations: 0.6761 MB / 1.239 GB, free: 11.09 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.866e-05/0.3571, allocations: 41.03 kB / 1.239 GB, free: 11.05 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.252e-05/0.3572, allocations: 52.38 kB / 1.239 GB, free: 11 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006143/0.3578, allocations: 418.9 kB / 1.24 GB, free: 10.56 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.59e-05/0.3579, allocations: 3.938 kB / 1.24 GB, free: 10.55 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.277e-05/0.3579, allocations: 12 kB / 1.24 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.233e-05/0.3579, allocations: 8 kB / 1.24 GB, free: 10.54 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004092/0.3583, allocations: 234.4 kB / 1.24 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003127/0.3615, allocations: 2.494 MB / 1.242 GB, free: 7.629 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/0.3629, allocations: 0.5532 MB / 1.243 GB, free: 7.066 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002549/0.3632, allocations: 164.8 kB / 1.243 GB, free: 6.902 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.013e-05/0.3632, allocations: 3.938 kB / 1.243 GB, free: 6.898 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.3633, allocations: 42.55 kB / 1.243 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=30): time 2.595e-06/0.3633, allocations: 0 / 1.243 GB, free: 6.848 MB / 0.9981 GB Notification: Performance of matching and sorting (n=30): time 0.001646/0.3649, allocations: 0.8779 MB / 1.244 GB, free: 5.898 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.365, allocations: 55.41 kB / 1.244 GB, free: 5.832 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001259/0.3663, allocations: 0.931 MB / 1.245 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.617e-05/0.3663, allocations: 37.7 kB / 1.245 GB, free: 4.844 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003195/0.3666, allocations: 369.2 kB / 1.245 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001249/0.3668, allocations: 122.9 kB / 1.245 GB, free: 4.359 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002203/0.367, allocations: 166.6 kB / 1.246 GB, free: 4.191 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000185/0.3672, allocations: 398.7 kB / 1.246 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004005/0.3676, allocations: 249.8 kB / 1.246 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006647/0.3683, allocations: 0.6426 MB / 1.247 GB, free: 2.719 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/0.3694, allocations: 0.8916 MB / 1.248 GB, free: 1.633 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.176e-05/0.3694, allocations: 8 kB / 1.248 GB, free: 1.625 MB / 0.9981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001726/0.3711, allocations: 1.028 MB / 1.249 GB, free: 0.582 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.3711, allocations: 8 kB / 1.249 GB, free: 0.5742 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.129e-05/0.3712, allocations: 16 kB / 1.249 GB, free: 0.5586 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004544/0.3716, allocations: 130.6 kB / 1.249 GB, free: 432 kB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000632/0.3723, allocations: 187.6 kB / 1.249 GB, free: 244 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.7389/1.111, allocations: 4.467 MB / 1.253 GB, free: 22.17 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001547/1.113, allocations: 114.4 kB / 1.254 GB, free: 22.17 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.736e-05/1.113, allocations: 45.09 kB / 1.254 GB, free: 22.17 MB / 0.9981 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.0004878/1.113, allocations: 264 kB / 1.254 GB, free: 22.06 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001652/1.114, allocations: 87.36 kB / 1.254 GB, free: 22.06 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001437/1.114, allocations: 84.95 kB / 1.254 GB, free: 22.04 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/1.114, allocations: 3.656 kB / 1.254 GB, free: 22.04 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.336e-05/1.114, allocations: 7.25 kB / 1.254 GB, free: 22.04 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/1.114, allocations: 1.5 kB / 1.254 GB, free: 22.04 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009312/1.115, allocations: 0.6545 MB / 1.255 GB, free: 21.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/1.115, allocations: 1.406 kB / 1.255 GB, free: 21.85 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003554/1.115, allocations: 60.34 kB / 1.255 GB, free: 21.85 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003512/1.115, allocations: 109.4 kB / 1.255 GB, free: 21.83 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.202e-05/1.115, allocations: 9.281 kB / 1.255 GB, free: 21.83 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003054/1.119, allocations: 4.453 MB / 1.259 GB, free: 17.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.119, allocations: 0.9062 kB / 1.259 GB, free: 17.8 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001458/1.12, allocations: 0.7464 MB / 1.26 GB, free: 17.58 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003407/1.12, allocations: 212.3 kB / 1.26 GB, free: 17.44 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.542e-05/1.12, allocations: 11.28 kB / 1.26 GB, free: 17.44 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004979/1.121, allocations: 20.95 kB / 1.26 GB, free: 17.44 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.804e-05/1.121, allocations: 23.09 kB / 1.26 GB, free: 17.44 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.077e-05/1.121, allocations: 9.094 kB / 1.26 GB, free: 17.44 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009899/1.122, allocations: 0.6248 MB / 1.261 GB, free: 17.34 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/1.122, allocations: 0.9375 kB / 1.261 GB, free: 17.34 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001051/1.123, allocations: 267.6 kB / 1.261 GB, free: 17.34 MB / 0.9981 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.0001436/1.123, allocations: 109.7 kB / 1.261 GB, free: 17.25 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001419/1.125, allocations: 0.9228 MB / 1.262 GB, free: 16.88 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/1.125, allocations: 0 / 1.262 GB, free: 16.88 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.000596/1.125, allocations: 0.5202 MB / 1.263 GB, free: 16.54 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009002/1.126, allocations: 172.3 kB / 1.263 GB, free: 16.53 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002331/1.129, allocations: 1.753 MB / 1.264 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004066/1.129, allocations: 0.9815 MB / 1.265 GB, free: 14.97 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0003362/1.129, allocations: 150.6 kB / 1.266 GB, free: 14.95 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/1.13, allocations: 50.23 kB / 1.266 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of SimCode: time 5.41e-07/1.13, allocations: 0 / 1.266 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of Templates: time 0.02458/1.154, allocations: 10.22 MB / 1.276 GB, free: 14.41 MB / 0.9981 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