Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.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.ConductorMultiLayer3,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_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,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_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008838/0.008839, allocations: 98.97 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.002153/0.002153, allocations: 195 kB / 16.67 MB, free: 5.961 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 4.168 MB / 190.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.39/2.39, allocations: 390.2 MB / 0.6648 GB, free: 180 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 65.28 kB / 0.9508 GB, free: 5.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3003/0.3016, allocations: 140.4 MB / 1.088 GB, free: 1.621 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.004463/0.3061, allocations: 2.747 MB / 1.091 GB, free: 14.85 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00357/0.3097, allocations: 2.781 MB / 1.093 GB, free: 12.06 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002222/0.3099, allocations: 7.938 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001345/0.3113, allocations: 0.4902 MB / 1.094 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004957/0.3118, allocations: 262.9 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008093/0.3127, allocations: 395 kB / 1.094 GB, free: 10.91 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.001487/0.3142, allocations: 1.528 MB / 1.096 GB, free: 9.383 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002121/0.3144, allocations: 134.3 kB / 1.096 GB, free: 9.246 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000597/0.315, allocations: 486.8 kB / 1.096 GB, free: 8.77 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006507/0.3157, allocations: 382.6 kB / 1.097 GB, free: 8.395 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 7.689e-05/0.3157, allocations: 44 kB / 1.097 GB, free: 8.352 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 9.465e-05/0.3158, allocations: 52 kB / 1.097 GB, free: 8.301 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0003114/0.3162, allocations: 279.2 kB / 1.097 GB, free: 8.027 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0003775/0.3166, allocations: 378.1 kB / 1.098 GB, free: 7.656 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0008452/0.3174, allocations: 0.9074 MB / 1.098 GB, free: 6.746 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3174, allocations: 3.938 kB / 1.098 GB, free: 6.742 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.345e-06/0.3174, allocations: 0 / 1.098 GB, free: 6.742 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.321e-05/0.3175, allocations: 0 / 1.098 GB, free: 6.742 MB / 0.8575 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.002059/0.3195, allocations: 1.14 MB / 1.1 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.516e-05/0.3196, allocations: 8.031 kB / 1.1 GB, free: 5.543 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001478/0.3197, allocations: 80 kB / 1.1 GB, free: 5.465 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00104/0.3208, allocations: 0.6837 MB / 1.1 GB, free: 4.738 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.935e-05/0.3208, allocations: 28.94 kB / 1.1 GB, free: 4.711 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.883e-05/0.3209, allocations: 36.38 kB / 1.1 GB, free: 4.676 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006131/0.3215, allocations: 374.9 kB / 1.101 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.3216, allocations: 3.938 kB / 1.101 GB, free: 4.281 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.399e-05/0.3216, allocations: 12 kB / 1.101 GB, free: 4.27 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.483e-05/0.3216, allocations: 8 kB / 1.101 GB, free: 4.262 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003966/0.322, allocations: 229.5 kB / 1.101 GB, free: 4.039 MB / 0.8575 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.003529/0.3256, allocations: 2.451 MB / 1.103 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009577/0.3265, allocations: 402.5 kB / 1.104 GB, free: 0.9961 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002135/0.3268, allocations: 140.6 kB / 1.104 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.3268, allocations: 320 / 1.104 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.3268, allocations: 38.56 kB / 1.104 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=18): time 1.503e-06/0.3268, allocations: 0 / 1.104 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of matching and sorting (n=18): time 0.00102/0.3279, allocations: 0.5392 MB / 1.104 GB, free: 248 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.858e-05/0.3279, allocations: 55.41 kB / 1.105 GB, free: 180 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00117/0.3291, allocations: 0.9336 MB / 1.105 GB, free: 15.23 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.566e-05/0.3291, allocations: 37.7 kB / 1.105 GB, free: 15.19 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002325/0.3294, allocations: 296.5 kB / 1.106 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 8.479e-05/0.3295, allocations: 78.92 kB / 1.106 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00015/0.3296, allocations: 118.2 kB / 1.106 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.3298, allocations: 386.7 kB / 1.106 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003355/0.3302, allocations: 240.9 kB / 1.107 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004969/0.3307, allocations: 0.4975 MB / 1.107 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007705/0.3314, allocations: 0.6974 MB / 1.108 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/0.3315, allocations: 4 kB / 1.108 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001213/0.3327, allocations: 0.8144 MB / 1.109 GB, free: 11.79 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.3327, allocations: 12 kB / 1.109 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.3327, allocations: 8 kB / 1.109 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002193/0.333, allocations: 61.34 kB / 1.109 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004622/0.3334, allocations: 139.8 kB / 1.109 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001286/0.3347, allocations: 1.542 MB / 1.11 GB, free: 9.895 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000687/0.3354, allocations: 123.2 kB / 1.11 GB, free: 9.773 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.765e-05/0.3355, allocations: 28 kB / 1.11 GB, free: 9.746 MB / 0.8731 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.0004607/0.3359, allocations: 337.5 kB / 1.111 GB, free: 9.406 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.336, allocations: 67.28 kB / 1.111 GB, free: 9.34 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001292/0.3362, allocations: 70 kB / 1.111 GB, free: 9.258 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.3362, allocations: 4 kB / 1.111 GB, free: 9.254 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/0.3362, allocations: 3.984 kB / 1.111 GB, free: 9.25 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.3362, allocations: 3.938 kB / 1.111 GB, free: 9.246 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006336/0.3368, allocations: 0.5791 MB / 1.111 GB, free: 8.617 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3369, allocations: 0 / 1.111 GB, free: 8.617 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000255/0.3371, allocations: 47.91 kB / 1.111 GB, free: 8.57 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001295/0.3373, allocations: 48.81 kB / 1.111 GB, free: 8.52 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.346e-05/0.3373, allocations: 8 kB / 1.111 GB, free: 8.512 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00113/0.3384, allocations: 1.515 MB / 1.113 GB, free: 6.859 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3384, allocations: 3.938 kB / 1.113 GB, free: 6.855 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007611/0.3392, allocations: 0.5674 MB / 1.114 GB, free: 6.27 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000264/0.3395, allocations: 204.3 kB / 1.114 GB, free: 6.051 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.072e-05/0.3396, allocations: 11.98 kB / 1.114 GB, free: 6.039 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00039/0.34, allocations: 47.98 kB / 1.114 GB, free: 5.992 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.287e-05/0.34, allocations: 15.98 kB / 1.114 GB, free: 5.977 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/0.34, allocations: 11.98 kB / 1.114 GB, free: 5.965 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0008396/0.3409, allocations: 0.659 MB / 1.114 GB, free: 5.312 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3409, allocations: 0 / 1.114 GB, free: 5.312 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006405/0.3415, allocations: 183.8 kB / 1.115 GB, free: 5.133 MB / 0.8731 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.0001343/0.3417, allocations: 107.2 kB / 1.115 GB, free: 5.02 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00112/0.3428, allocations: 0.5728 MB / 1.115 GB, free: 4.438 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.3428, allocations: 0 / 1.115 GB, free: 4.438 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0004338/0.3433, allocations: 254.5 kB / 1.116 GB, free: 4.176 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001158/0.3444, allocations: 169.5 kB / 1.116 GB, free: 4.012 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002707/0.3472, allocations: 1.51 MB / 1.117 GB, free: 2.473 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005559/0.3477, allocations: 1.006 MB / 1.118 GB, free: 1.438 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0003812/0.3481, allocations: 184.5 kB / 1.118 GB, free: 1.258 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/0.3482, allocations: 35.44 kB / 1.118 GB, free: 1.223 MB / 0.8731 GB Notification: Performance of SimCode: time 6.01e-07/0.3483, allocations: 0 / 1.118 GB, free: 1.223 MB / 0.8731 GB Notification: Performance of Templates: time 0.01459/0.3629, allocations: 8.675 MB / 1.127 GB, free: 8.664 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches