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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.001109/0.001109, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.001265/0.001265, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.355/1.355, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.572/2.572, allocations: 436.5 MB / 0.7104 GB, free: 7.918 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003457/0.0003458, allocations: 12 kB / 0.8707 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6745/0.6749, allocations: 153.7 MB / 1.021 GB, free: 1.086 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.003293/0.6782, allocations: 3.005 MB / 1.024 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003413/0.6816, allocations: 2.383 MB / 1.026 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002703/0.6819, allocations: 11.94 kB / 1.026 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0007576/0.6827, allocations: 286.8 kB / 1.026 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0007315/0.6834, allocations: 390.9 kB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009893/0.6844, allocations: 435.1 kB / 1.027 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001002/0.6854, allocations: 0.7719 MB / 1.028 GB, free: 9.797 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002131/0.6857, allocations: 115.5 kB / 1.028 GB, free: 9.68 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004485/0.6861, allocations: 319 kB / 1.028 GB, free: 9.367 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004223/0.6866, allocations: 338.6 kB / 1.029 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.319e-05/0.6866, allocations: 24 kB / 1.029 GB, free: 9.012 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.64e-05/0.6867, allocations: 28 kB / 1.029 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0003305/0.6871, allocations: 315.2 kB / 1.029 GB, free: 8.676 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001584/0.6872, allocations: 189.2 kB / 1.029 GB, free: 8.484 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005807/0.6878, allocations: 0.67 MB / 1.03 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.746e-06/0.6878, allocations: 0 / 1.03 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.744e-06/0.6878, allocations: 0 / 1.03 GB, free: 7.812 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.071e-05/0.6878, allocations: 0 / 1.03 GB, free: 7.812 MB / 0.7794 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.00188/0.6897, allocations: 1.136 MB / 1.031 GB, free: 6.625 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.872e-05/0.6898, allocations: 16.02 kB / 1.031 GB, free: 6.609 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001396/0.6899, allocations: 94.88 kB / 1.031 GB, free: 6.516 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009153/0.6908, allocations: 0.5772 MB / 1.032 GB, free: 5.895 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.275e-05/0.6909, allocations: 36.66 kB / 1.032 GB, free: 5.859 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.029e-05/0.691, allocations: 63.94 kB / 1.032 GB, free: 5.797 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005892/0.6916, allocations: 410.9 kB / 1.032 GB, free: 5.359 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.6916, allocations: 0 / 1.032 GB, free: 5.359 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.887e-05/0.6916, allocations: 12 kB / 1.032 GB, free: 5.348 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.6916, allocations: 8 kB / 1.032 GB, free: 5.34 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004109/0.6921, allocations: 250.3 kB / 1.032 GB, free: 5.098 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002938/0.695, allocations: 2.494 MB / 1.035 GB, free: 2.422 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001403/0.6964, allocations: 0.5465 MB / 1.035 GB, free: 1.867 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.016e-05/0.6965, allocations: 4 kB / 1.035 GB, free: 1.863 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.6965, allocations: 38.56 kB / 1.035 GB, free: 1.816 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=30): time 1.673e-06/0.6965, allocations: 3.938 kB / 1.035 GB, free: 1.812 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30): time 0.001524/0.698, allocations: 0.8905 MB / 1.036 GB, free: 0.8516 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.433e-05/0.6981, allocations: 59.41 kB / 1.036 GB, free: 0.7812 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001031/0.6991, allocations: 0.8842 MB / 1.037 GB, free: 15.89 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.216e-05/0.6992, allocations: 41.64 kB / 1.037 GB, free: 15.84 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002711/0.6994, allocations: 368.7 kB / 1.038 GB, free: 15.48 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001122/0.6996, allocations: 114.3 kB / 1.038 GB, free: 15.36 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.688e-05/0.6996, allocations: 12 kB / 1.038 GB, free: 15.35 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.6998, allocations: 402.7 kB / 1.038 GB, free: 14.95 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003792/0.7002, allocations: 237.8 kB / 1.038 GB, free: 14.71 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006195/0.7008, allocations: 0.6349 MB / 1.039 GB, free: 13.89 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000481/0.7013, allocations: 339.4 kB / 1.039 GB, free: 13.56 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.7013, allocations: 8 kB / 1.039 GB, free: 13.55 MB / 0.795 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00151/0.7028, allocations: 1.007 MB / 1.04 GB, free: 12.53 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.258e-05/0.7028, allocations: 15.95 kB / 1.04 GB, free: 12.51 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.7029, allocations: 12 kB / 1.04 GB, free: 12.5 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003591/0.7032, allocations: 122.4 kB / 1.04 GB, free: 12.37 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006296/0.7039, allocations: 195.9 kB / 1.041 GB, free: 12.18 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003106/0.707, allocations: 4.193 MB / 1.045 GB, free: 7.586 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008876/0.7079, allocations: 114.9 kB / 1.045 GB, free: 7.473 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.327e-05/0.708, allocations: 48.06 kB / 1.045 GB, free: 7.426 MB / 0.795 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003086/0.7083, allocations: 264.7 kB / 1.045 GB, free: 7.16 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001112/0.7084, allocations: 78.97 kB / 1.045 GB, free: 7.082 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000118/0.7085, allocations: 84.52 kB / 1.045 GB, free: 7 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.7085, allocations: 4 kB / 1.045 GB, free: 6.996 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.7085, allocations: 0 / 1.045 GB, free: 6.996 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.7085, allocations: 0 / 1.045 GB, free: 6.996 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007165/0.7093, allocations: 0.657 MB / 1.046 GB, free: 6.289 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.7093, allocations: 3.953 kB / 1.046 GB, free: 6.285 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000325/0.7096, allocations: 63.89 kB / 1.046 GB, free: 6.223 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002862/0.7099, allocations: 98.5 kB / 1.046 GB, free: 6.117 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.028e-05/0.7099, allocations: 15.98 kB / 1.046 GB, free: 6.102 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002993/0.7129, allocations: 4.158 MB / 1.05 GB, free: 1.543 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.713, allocations: 4 kB / 1.05 GB, free: 1.539 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001076/0.714, allocations: 0.7488 MB / 1.051 GB, free: 0.7656 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003032/0.7144, allocations: 207.9 kB / 1.051 GB, free: 0.543 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.89e-05/0.7145, allocations: 8 kB / 1.051 GB, free: 0.5352 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00046/0.7149, allocations: 31.91 kB / 1.051 GB, free: 0.5039 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.644e-05/0.715, allocations: 23.95 kB / 1.051 GB, free: 492 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.718e-05/0.715, allocations: 8 kB / 1.051 GB, free: 484 kB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0007595/0.7158, allocations: 0.5888 MB / 1.052 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7158, allocations: 0 / 1.052 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0008696/0.7167, allocations: 271.7 kB / 1.052 GB, free: 15.62 MB / 0.8106 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 (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(1,100.0%) 3,(1,100.0%) 3,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001353/0.7168, allocations: 111.2 kB / 1.052 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.00128/0.7181, allocations: 0.9245 MB / 1.053 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.7181, allocations: 0 / 1.053 GB, free: 14.54 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.000588/0.7187, allocations: 0.5271 MB / 1.053 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006833/0.7194, allocations: 155.3 kB / 1.054 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002484/0.7219, allocations: 2.042 MB / 1.056 GB, free: 11.75 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005636/0.7225, allocations: 1.011 MB / 1.057 GB, free: 10.71 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0003556/0.7228, allocations: 133.4 kB / 1.057 GB, free: 10.58 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.723, allocations: 43.44 kB / 1.057 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of SimCode: time 3.41e-07/0.723, allocations: 4 kB / 1.057 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of Templates: time 0.01456/0.7376, allocations: 8.847 MB / 1.065 GB, free: 1.793 MB / 0.8106 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","../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches