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.001475/0.001475, allocations: 108 kB / 15.61 MB, free: 152 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.001705/0.001705, allocations: 196.6 kB / 16.53 MB, free: 6.664 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.389/1.389, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.763/2.763, allocations: 472.6 MB / 0.7451 GB, free: 4.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 67.52 kB / 0.912 GB, free: 33.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2989/0.3001, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.005145/0.3053, allocations: 3.74 MB / 1.072 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004314/0.3097, allocations: 2.501 MB / 1.074 GB, free: 4.164 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005013/0.3102, allocations: 19.88 kB / 1.074 GB, free: 4.145 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0008226/0.311, allocations: 250.4 kB / 1.075 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001151/0.3122, allocations: 0.4899 MB / 1.075 GB, free: 3.406 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001363/0.3136, allocations: 0.5451 MB / 1.076 GB, free: 2.863 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.001563/0.3152, allocations: 1.383 MB / 1.077 GB, free: 1.477 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002588/0.3154, allocations: 145.1 kB / 1.077 GB, free: 1.328 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007059/0.3161, allocations: 426.6 kB / 1.077 GB, free: 0.9102 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000832/0.317, allocations: 0.5138 MB / 1.078 GB, free: 404 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001701/0.3172, allocations: 56 kB / 1.078 GB, free: 348 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002186/0.3174, allocations: 64 kB / 1.078 GB, free: 284 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003835/0.3178, allocations: 343 kB / 1.078 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0006871/0.3185, allocations: 465.6 kB / 1.079 GB, free: 15.48 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0008901/0.3194, allocations: 0.9224 MB / 1.08 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3194, allocations: 0 / 1.08 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3194, allocations: 0 / 1.08 GB, free: 14.56 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 2.917e-05/0.3194, allocations: 4 kB / 1.08 GB, free: 14.55 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: 80 * Number of variables: 80 Notification: Performance of Generate backend data structure: time 0.002357/0.3218, allocations: 1.276 MB / 1.081 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.3219, allocations: 8.031 kB / 1.081 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002112/0.3221, allocations: 103.7 kB / 1.081 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001054/0.3231, allocations: 0.6519 MB / 1.082 GB, free: 12.42 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.444e-05/0.3232, allocations: 41.03 kB / 1.082 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.172e-05/0.3233, allocations: 56.38 kB / 1.082 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005852/0.3239, allocations: 414.9 kB / 1.082 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.152e-05/0.3239, allocations: 0 / 1.082 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.444e-05/0.3239, allocations: 19.98 kB / 1.082 GB, free: 11.87 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.829e-06/0.3239, allocations: 8 kB / 1.082 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003973/0.3243, allocations: 238.4 kB / 1.082 GB, free: 11.63 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002978/0.3273, allocations: 2.497 MB / 1.085 GB, free: 8.949 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001402/0.3287, allocations: 0.5511 MB / 1.085 GB, free: 8.391 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002512/0.329, allocations: 164.8 kB / 1.086 GB, free: 8.227 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.329, allocations: 0 / 1.086 GB, free: 8.227 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.368e-05/0.3291, allocations: 42.56 kB / 1.086 GB, free: 8.176 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=30): time 1.312e-06/0.3291, allocations: 0 / 1.086 GB, free: 8.176 MB / 0.8419 GB Notification: Performance of matching and sorting (n=30): time 0.001578/0.3307, allocations: 0.8862 MB / 1.087 GB, free: 7.219 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/0.3307, allocations: 55.41 kB / 1.087 GB, free: 7.152 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.3319, allocations: 0.9232 MB / 1.087 GB, free: 6.223 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.744e-05/0.3319, allocations: 45.7 kB / 1.088 GB, free: 6.172 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002622/0.3322, allocations: 360.7 kB / 1.088 GB, free: 5.812 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.3323, allocations: 114.4 kB / 1.088 GB, free: 5.699 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001963/0.3325, allocations: 174.6 kB / 1.088 GB, free: 5.523 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001468/0.3326, allocations: 390.7 kB / 1.089 GB, free: 5.133 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003872/0.333, allocations: 245.8 kB / 1.089 GB, free: 4.895 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005977/0.3336, allocations: 0.6348 MB / 1.089 GB, free: 4.066 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001022/0.3347, allocations: 0.9008 MB / 1.09 GB, free: 2.973 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.766e-06/0.3347, allocations: 4 kB / 1.09 GB, free: 2.969 MB / 0.8419 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001623/0.3363, allocations: 1.018 MB / 1.091 GB, free: 1.934 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.053e-05/0.3363, allocations: 8.594 kB / 1.091 GB, free: 1.926 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.174e-05/0.3364, allocations: 23.94 kB / 1.091 GB, free: 1.902 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003947/0.3368, allocations: 126.4 kB / 1.091 GB, free: 1.77 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006102/0.3374, allocations: 187.7 kB / 1.092 GB, free: 1.586 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003171/0.3406, allocations: 4.48 MB / 1.096 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008877/0.3415, allocations: 111 kB / 1.096 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.59e-05/0.3415, allocations: 44 kB / 1.096 GB, free: 12.53 MB / 0.8575 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.0003038/0.3419, allocations: 274.3 kB / 1.096 GB, free: 12.25 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.342, allocations: 86.88 kB / 1.096 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001253/0.3421, allocations: 80.52 kB / 1.097 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.3421, allocations: 4 kB / 1.097 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.263e-06/0.3422, allocations: 0 / 1.097 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.3422, allocations: 0 / 1.097 GB, free: 12.08 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007384/0.3429, allocations: 0.657 MB / 1.097 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.3429, allocations: 0 / 1.097 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003281/0.3433, allocations: 67.89 kB / 1.097 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002919/0.3436, allocations: 110.6 kB / 1.097 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.924e-05/0.3436, allocations: 8 kB / 1.097 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003018/0.3466, allocations: 4.449 MB / 1.102 GB, free: 6.312 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.3466, allocations: 0 / 1.102 GB, free: 6.312 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001045/0.3477, allocations: 0.7312 MB / 1.102 GB, free: 5.555 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002729/0.348, allocations: 211.8 kB / 1.103 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.3481, allocations: 15.98 kB / 1.103 GB, free: 5.312 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004723/0.3486, allocations: 15.97 kB / 1.103 GB, free: 5.297 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.329e-05/0.3486, allocations: 23.97 kB / 1.103 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.112e-05/0.3487, allocations: 16 kB / 1.103 GB, free: 5.258 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0007995/0.3495, allocations: 0.62 MB / 1.103 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.51e-07/0.3495, allocations: 0 / 1.103 GB, free: 4.641 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0008415/0.3503, allocations: 271.8 kB / 1.104 GB, free: 4.375 MB / 0.8575 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.000143/0.3505, allocations: 107.7 kB / 1.104 GB, free: 4.258 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00139/0.3519, allocations: 0.9597 MB / 1.105 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3519, allocations: 0 / 1.105 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0005945/0.3525, allocations: 0.5247 MB / 1.105 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008557/0.3534, allocations: 173.8 kB / 1.105 GB, free: 2.531 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002457/0.3558, allocations: 1.742 MB / 1.107 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005486/0.3564, allocations: 0.9878 MB / 1.108 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0004026/0.3568, allocations: 153.8 kB / 1.108 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/0.357, allocations: 51.44 kB / 1.108 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of SimCode: time 3.6e-07/0.357, allocations: 0 / 1.108 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of Templates: time 0.01839/0.3754, allocations: 10.09 MB / 1.118 GB, free: 5.57 MB / 0.8731 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