Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001586/0.001586, allocations: 108.6 kB / 16.41 MB, free: 6.496 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.001831/0.001831, allocations: 187 kB / 17.34 MB, free: 5.762 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.345/1.345, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.227/2.227, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 59.91 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7447/0.746, allocations: 140.4 MB / 1.089 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.004579/0.7507, allocations: 3.751 MB / 1.092 GB, free: 2.855 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004268/0.755, allocations: 2.493 MB / 1.095 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005485/0.7556, allocations: 13.59 kB / 1.095 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007746/0.7564, allocations: 256.6 kB / 1.095 GB, free: 1.02 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001141/0.7575, allocations: 0.4949 MB / 1.095 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001597/0.7591, allocations: 0.5367 MB / 1.096 GB, free: 0.5078 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.002104/0.7612, allocations: 1.394 MB / 1.097 GB, free: 15.93 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003077/0.7616, allocations: 153.5 kB / 1.097 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008944/0.7625, allocations: 433.6 kB / 1.098 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007298/0.7632, allocations: 461 kB / 1.098 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001229/0.7633, allocations: 55.53 kB / 1.098 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001666/0.7635, allocations: 60.62 kB / 1.098 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004682/0.764, allocations: 377.8 kB / 1.099 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0005147/0.7645, allocations: 470.9 kB / 1.099 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.00119/0.7657, allocations: 0.939 MB / 1.1 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.7657, allocations: 0 / 1.1 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.863e-06/0.7657, allocations: 1.219 kB / 1.1 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.435e-05/0.7658, allocations: 0 / 1.1 GB, free: 14.72 MB / 0.8731 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.002516/0.7683, allocations: 1.269 MB / 1.101 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.7683, allocations: 9.062 kB / 1.101 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001944/0.7685, allocations: 106.6 kB / 1.101 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.7697, allocations: 0.6729 MB / 1.102 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.408e-05/0.7697, allocations: 37.86 kB / 1.102 GB, free: 13.37 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.159e-05/0.7698, allocations: 57.62 kB / 1.102 GB, free: 13.35 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007201/0.7705, allocations: 411.7 kB / 1.103 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.221e-05/0.7706, allocations: 1 kB / 1.103 GB, free: 13.12 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.899e-05/0.7706, allocations: 15.69 kB / 1.103 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.779e-05/0.7706, allocations: 8.156 kB / 1.103 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005081/0.7711, allocations: 236.6 kB / 1.103 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003496/0.7746, allocations: 2.483 MB / 1.105 GB, free: 11.2 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002386/0.7771, allocations: 0.5556 MB / 1.106 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004346/0.7775, allocations: 158.8 kB / 1.106 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.214e-05/0.7776, allocations: 3.406 kB / 1.106 GB, free: 10.98 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.534e-05/0.7776, allocations: 40.48 kB / 1.106 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=30): time 3.186e-06/0.7777, allocations: 5.156 kB / 1.106 GB, free: 10.93 MB / 0.8731 GB Notification: Performance of matching and sorting (n=30): time 0.003106/0.7808, allocations: 0.8907 MB / 1.107 GB, free: 10.39 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.699e-05/0.7809, allocations: 55.86 kB / 1.107 GB, free: 10.32 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002517/0.7834, allocations: 0.9236 MB / 1.108 GB, free: 9.949 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 0.0001394/0.7836, allocations: 44.8 kB / 1.108 GB, free: 9.902 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004702/0.784, allocations: 362.1 kB / 1.108 GB, free: 9.617 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002321/0.7843, allocations: 119 kB / 1.108 GB, free: 9.523 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003697/0.7847, allocations: 172.7 kB / 1.109 GB, free: 9.441 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0002805/0.785, allocations: 395.1 kB / 1.109 GB, free: 9.094 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006927/0.7857, allocations: 242.1 kB / 1.109 GB, free: 9.027 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001061/0.7867, allocations: 0.6414 MB / 1.11 GB, free: 8.414 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001654/0.7884, allocations: 0.8886 MB / 1.111 GB, free: 7.664 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.206e-05/0.7884, allocations: 4.438 kB / 1.111 GB, free: 7.664 MB / 0.8731 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003367/0.7918, allocations: 1.02 MB / 1.112 GB, free: 7.246 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 4.993e-05/0.7919, allocations: 11.42 kB / 1.112 GB, free: 7.246 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-05/0.7919, allocations: 13.56 kB / 1.112 GB, free: 7.246 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007664/0.7927, allocations: 127.9 kB / 1.112 GB, free: 7.199 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001329/0.7941, allocations: 192.6 kB / 1.112 GB, free: 7.176 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005918/0.8, allocations: 4.481 MB / 1.116 GB, free: 2.816 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001781/0.8018, allocations: 113.6 kB / 1.116 GB, free: 2.754 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001449/0.802, allocations: 39.91 kB / 1.116 GB, free: 2.75 MB / 0.8731 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.0007045/0.8027, allocations: 268.4 kB / 1.117 GB, free: 2.559 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000355/0.803, allocations: 79.91 kB / 1.117 GB, free: 2.516 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003054/0.8034, allocations: 80.47 kB / 1.117 GB, free: 2.469 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.574e-06/0.8034, allocations: 3.359 kB / 1.117 GB, free: 2.469 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.903e-05/0.8034, allocations: 2.75 kB / 1.117 GB, free: 2.469 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.917e-06/0.8034, allocations: 5.172 kB / 1.117 GB, free: 2.465 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001753/0.8052, allocations: 0.6581 MB / 1.118 GB, free: 2.113 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/0.8052, allocations: 0 / 1.118 GB, free: 2.113 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004782/0.8057, allocations: 70.64 kB / 1.118 GB, free: 2.102 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005231/0.8062, allocations: 104.1 kB / 1.118 GB, free: 2.059 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.816e-05/0.8063, allocations: 8.953 kB / 1.118 GB, free: 2.055 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004947/0.8113, allocations: 4.446 MB / 1.122 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/0.8113, allocations: 1.062 kB / 1.122 GB, free: 13.71 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/0.8126, allocations: 0.7418 MB / 1.123 GB, free: 13.33 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003858/0.813, allocations: 214.6 kB / 1.123 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001023/0.8131, allocations: 9.562 kB / 1.123 GB, free: 13.16 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004715/0.8136, allocations: 20.86 kB / 1.123 GB, free: 13.15 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.762e-05/0.8137, allocations: 27.59 kB / 1.123 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.8137, allocations: 5.094 kB / 1.123 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001078/0.8148, allocations: 0.6247 MB / 1.124 GB, free: 12.89 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.8e-07/0.8148, allocations: 0 / 1.124 GB, free: 12.89 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001106/0.8159, allocations: 269 kB / 1.124 GB, free: 12.86 MB / 0.8887 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.0001603/0.8161, allocations: 104.5 kB / 1.124 GB, free: 12.77 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.001471/0.8176, allocations: 0.9251 MB / 1.125 GB, free: 12.25 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.8176, allocations: 0 / 1.125 GB, free: 12.25 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0006435/0.8182, allocations: 0.5141 MB / 1.125 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000927/0.8192, allocations: 180.7 kB / 1.126 GB, free: 11.78 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002664/0.8219, allocations: 1.76 MB / 1.127 GB, free: 10.73 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006853/0.8226, allocations: 0.9955 MB / 1.128 GB, free: 9.996 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001881/0.8228, allocations: 49.12 kB / 1.128 GB, free: 9.988 MB / 0.8887 GB Notification: Performance of SimCode: time 3.3e-07/0.8228, allocations: 0 / 1.128 GB, free: 9.988 MB / 0.8887 GB Notification: Performance of Templates: time 0.02954/0.8523, allocations: 17.64 MB / 1.146 GB, free: 5.082 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches