Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.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.ConductorMultiLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|con.T.1.|con.T.2.|con.port_a.T|con.port_b.T|con.T.3.|con.T.4.|con.T.5.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001664/0.001663, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002169/0.002169, allocations: 192.3 kB / 16.53 MB, free: 6.391 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.418/1.418, allocations: 222.9 MB / 240.2 MB, free: 4.258 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.811/2.811, allocations: 472.6 MB / 0.7451 GB, free: 4.699 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 60.77 kB / 0.912 GB, free: 33.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3152/0.3166, allocations: 159.9 MB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.004171/0.3208, allocations: 2.735 MB / 1.071 GB, free: 7.719 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00389/0.3247, allocations: 2.788 MB / 1.074 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00021/0.3249, allocations: 11.94 kB / 1.074 GB, free: 4.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001435/0.3263, allocations: 490.1 kB / 1.074 GB, free: 4.43 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004801/0.3269, allocations: 262.8 kB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000871/0.3277, allocations: 395 kB / 1.075 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001452/0.3292, allocations: 1.528 MB / 1.076 GB, free: 2.254 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000234/0.3295, allocations: 138.3 kB / 1.076 GB, free: 2.117 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005693/0.33, allocations: 474.8 kB / 1.077 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005469/0.3306, allocations: 410.6 kB / 1.077 GB, free: 1.25 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.514e-05/0.3307, allocations: 48 kB / 1.077 GB, free: 1.203 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001314/0.3308, allocations: 59.94 kB / 1.077 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0002622/0.3311, allocations: 259.3 kB / 1.077 GB, free: 0.8906 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0003574/0.3315, allocations: 374.2 kB / 1.078 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007634/0.3322, allocations: 0.8957 MB / 1.079 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.3323, allocations: 4 kB / 1.079 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3323, allocations: 0 / 1.079 GB, free: 15.62 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.678e-06/0.3323, allocations: 0 / 1.079 GB, free: 15.62 MB / 0.8419 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001978/0.3343, allocations: 1.159 MB / 1.08 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.3343, allocations: 8.031 kB / 1.08 GB, free: 14.4 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00013/0.3344, allocations: 80 kB / 1.08 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008816/0.3353, allocations: 0.6486 MB / 1.081 GB, free: 13.63 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.593e-05/0.3354, allocations: 28.94 kB / 1.081 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.709e-05/0.3354, allocations: 40.36 kB / 1.081 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005288/0.336, allocations: 378.8 kB / 1.081 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.336, allocations: 0 / 1.081 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.721e-05/0.336, allocations: 12 kB / 1.081 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.467e-06/0.336, allocations: 8 kB / 1.081 GB, free: 13.15 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003642/0.3364, allocations: 229.5 kB / 1.081 GB, free: 12.93 MB / 0.8419 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00347/0.3399, allocations: 2.462 MB / 1.084 GB, free: 10.27 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009993/0.3409, allocations: 402.4 kB / 1.084 GB, free: 9.871 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002104/0.3411, allocations: 136.7 kB / 1.084 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.3411, allocations: 3.984 kB / 1.084 GB, free: 9.73 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/0.3412, allocations: 42.56 kB / 1.084 GB, free: 9.68 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=18): time 1.623e-06/0.3412, allocations: 0 / 1.084 GB, free: 9.68 MB / 0.8419 GB Notification: Performance of matching and sorting (n=18): time 0.0009824/0.3422, allocations: 0.5277 MB / 1.085 GB, free: 9.125 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.3422, allocations: 55.41 kB / 1.085 GB, free: 9.059 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001165/0.3434, allocations: 0.9336 MB / 1.086 GB, free: 8.117 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.571e-05/0.3434, allocations: 41.64 kB / 1.086 GB, free: 8.07 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002446/0.3437, allocations: 300.5 kB / 1.086 GB, free: 7.773 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 7.858e-05/0.3438, allocations: 70.95 kB / 1.086 GB, free: 7.703 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001527/0.3439, allocations: 122.2 kB / 1.086 GB, free: 7.578 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.3441, allocations: 378.7 kB / 1.087 GB, free: 7.199 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003362/0.3445, allocations: 240.9 kB / 1.087 GB, free: 6.965 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005813/0.345, allocations: 0.4975 MB / 1.087 GB, free: 6.34 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008788/0.3459, allocations: 0.709 MB / 1.088 GB, free: 5.504 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.392e-06/0.3459, allocations: 4 kB / 1.088 GB, free: 5.5 MB / 0.8419 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001121/0.3471, allocations: 0.8079 MB / 1.089 GB, free: 4.684 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.3471, allocations: 15.94 kB / 1.089 GB, free: 4.668 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/0.3471, allocations: 8 kB / 1.089 GB, free: 4.66 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000195/0.3473, allocations: 60.75 kB / 1.089 GB, free: 4.598 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004297/0.3478, allocations: 131.8 kB / 1.089 GB, free: 4.469 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001243/0.349, allocations: 1.546 MB / 1.09 GB, free: 2.781 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006497/0.3497, allocations: 127.2 kB / 1.091 GB, free: 2.656 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-05/0.3497, allocations: 28 kB / 1.091 GB, free: 2.629 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003832/0.3501, allocations: 342.3 kB / 1.091 GB, free: 2.285 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.594e-05/0.3502, allocations: 63.19 kB / 1.091 GB, free: 2.223 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000115/0.3503, allocations: 66 kB / 1.091 GB, free: 2.152 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.978e-06/0.3503, allocations: 4 kB / 1.091 GB, free: 2.148 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3504, allocations: 0 / 1.091 GB, free: 2.148 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.3504, allocations: 7.984 kB / 1.091 GB, free: 2.141 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006797/0.3511, allocations: 0.5791 MB / 1.092 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.3511, allocations: 0 / 1.092 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002482/0.3513, allocations: 51.89 kB / 1.092 GB, free: 1.461 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001118/0.3514, allocations: 40.81 kB / 1.092 GB, free: 1.418 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.448e-05/0.3515, allocations: 8 kB / 1.092 GB, free: 1.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001217/0.3527, allocations: 1.527 MB / 1.093 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3527, allocations: 0 / 1.093 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007507/0.3535, allocations: 0.5679 MB / 1.094 GB, free: 15.16 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002306/0.3537, allocations: 196.3 kB / 1.094 GB, free: 14.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.434e-05/0.3538, allocations: 11.98 kB / 1.094 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000372/0.3542, allocations: 47.86 kB / 1.094 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.961e-05/0.3542, allocations: 16.05 kB / 1.094 GB, free: 14.87 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.414e-05/0.3542, allocations: 8 kB / 1.094 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0007819/0.355, allocations: 0.6629 MB / 1.095 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.355, allocations: 0 / 1.095 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005886/0.3556, allocations: 187.8 kB / 1.095 GB, free: 14.02 MB / 0.8575 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (con.lay[1].T[1],con.lay[1].T[2],con.lay[2].T[1],con.lay[2].T[2],con.lay[2].T[3]) * 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 (17): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.0001408/0.3558, allocations: 103.7 kB / 1.095 GB, free: 13.91 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0009755/0.3568, allocations: 0.6018 MB / 1.096 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3568, allocations: 4.188 kB / 1.096 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0003344/0.3571, allocations: 246.5 kB / 1.096 GB, free: 13.04 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008281/0.358, allocations: 168.4 kB / 1.096 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002177/0.3601, allocations: 1.533 MB / 1.097 GB, free: 11.32 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005503/0.3607, allocations: 1.01 MB / 1.098 GB, free: 10.28 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0003962/0.3611, allocations: 184.5 kB / 1.099 GB, free: 10.1 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/0.3612, allocations: 39.44 kB / 1.099 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.3612, allocations: 0 / 1.099 GB, free: 10.06 MB / 0.8575 GB Notification: Performance of Templates: time 0.0137/0.3749, allocations: 8.414 MB / 1.107 GB, free: 1.766 MB / 0.8575 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorMultiLayer.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches