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.001506/0.001506, allocations: 100.1 kB / 15.88 MB, free: 12 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.001618/0.001619, allocations: 198.7 kB / 16.79 MB, free: 6.809 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.338/1.338, allocations: 222.9 MB / 240.5 MB, free: 4.516 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.691/2.691, allocations: 461.8 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 71.02 kB / 0.899 GB, free: 37.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2671/0.2683, allocations: 157.4 MB / 1.053 GB, free: 8.328 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.004919/0.2733, allocations: 3.781 MB / 1.056 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004055/0.2774, allocations: 2.533 MB / 1.059 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005526/0.278, allocations: 11.94 kB / 1.059 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0008279/0.2788, allocations: 222.8 kB / 1.059 GB, free: 1.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001225/0.2801, allocations: 470 kB / 1.06 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001414/0.2815, allocations: 478 kB / 1.06 GB, free: 0.8242 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001769/0.2833, allocations: 1.624 MB / 1.062 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003118/0.2836, allocations: 132.7 kB / 1.062 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008179/0.2844, allocations: 378.5 kB / 1.062 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009142/0.2854, allocations: 0.5177 MB / 1.063 GB, free: 14.17 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001575/0.2855, allocations: 36 kB / 1.063 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001909/0.2857, allocations: 51.94 kB / 1.063 GB, free: 14.09 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0003159/0.2861, allocations: 311 kB / 1.063 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0005054/0.2866, allocations: 445.6 kB / 1.063 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006421/0.2872, allocations: 0.7053 MB / 1.064 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2872, allocations: 0 / 1.064 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2872, allocations: 0 / 1.064 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 2.752e-05/0.2873, allocations: 0 / 1.064 GB, free: 12.64 MB / 0.8262 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.002617/0.2899, allocations: 1.266 MB / 1.065 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.297e-05/0.2899, allocations: 15.97 kB / 1.065 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002211/0.2902, allocations: 99.72 kB / 1.065 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001057/0.2912, allocations: 0.6559 MB / 1.066 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.321e-05/0.2913, allocations: 37.03 kB / 1.066 GB, free: 10.47 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.992e-05/0.2914, allocations: 60.38 kB / 1.066 GB, free: 10.41 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000627/0.292, allocations: 410.9 kB / 1.067 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.292, allocations: 4 kB / 1.067 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.087e-05/0.2921, allocations: 16 kB / 1.067 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.134e-05/0.2921, allocations: 8 kB / 1.067 GB, free: 9.949 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004169/0.2925, allocations: 234.4 kB / 1.067 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003109/0.2956, allocations: 2.498 MB / 1.069 GB, free: 7.043 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001503/0.2971, allocations: 0.5532 MB / 1.07 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002634/0.2974, allocations: 160.8 kB / 1.07 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.2975, allocations: 8 kB / 1.07 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.813e-05/0.2976, allocations: 30.56 kB / 1.07 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=30): time 3.687e-06/0.2976, allocations: 0 / 1.07 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of matching and sorting (n=30): time 0.001709/0.2993, allocations: 0.8905 MB / 1.071 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.2993, allocations: 55.41 kB / 1.071 GB, free: 5.246 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001254/0.3006, allocations: 0.9271 MB / 1.072 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 5.065e-05/0.3007, allocations: 37.7 kB / 1.072 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002814/0.301, allocations: 364.8 kB / 1.072 GB, free: 3.902 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/0.3011, allocations: 118.3 kB / 1.072 GB, free: 3.785 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002095/0.3013, allocations: 170.6 kB / 1.072 GB, free: 3.613 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.3015, allocations: 394.7 kB / 1.073 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004001/0.3019, allocations: 241.8 kB / 1.073 GB, free: 2.98 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006194/0.3025, allocations: 0.6465 MB / 1.074 GB, free: 2.141 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009855/0.3035, allocations: 0.893 MB / 1.075 GB, free: 1.055 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.137e-06/0.3035, allocations: 4 kB / 1.075 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0016/0.3051, allocations: 1.014 MB / 1.076 GB, free: 20 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 4.408e-05/0.3052, allocations: 25.45 kB / 1.076 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.831e-05/0.3052, allocations: 12 kB / 1.076 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004335/0.3056, allocations: 126.4 kB / 1.076 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000621/0.3063, allocations: 195.6 kB / 1.076 GB, free: 15.66 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003005/0.3093, allocations: 4.153 MB / 1.08 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009233/0.3102, allocations: 114.9 kB / 1.08 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.515e-05/0.3103, allocations: 40 kB / 1.08 GB, free: 10.95 MB / 0.8419 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.0003389/0.3107, allocations: 273.5 kB / 1.08 GB, free: 10.67 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001682/0.3108, allocations: 78.97 kB / 1.08 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001411/0.311, allocations: 80.53 kB / 1.081 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.311, allocations: 4 kB / 1.081 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.788e-06/0.311, allocations: 3.938 kB / 1.081 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.311, allocations: 3.984 kB / 1.081 GB, free: 10.5 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007633/0.3118, allocations: 0.6453 MB / 1.081 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.3118, allocations: 0 / 1.081 GB, free: 9.805 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003279/0.3121, allocations: 71.88 kB / 1.081 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003059/0.3124, allocations: 98.5 kB / 1.081 GB, free: 9.629 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.768e-05/0.3125, allocations: 15.98 kB / 1.081 GB, free: 9.613 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002818/0.3153, allocations: 4.142 MB / 1.085 GB, free: 5.074 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.3153, allocations: 0 / 1.085 GB, free: 5.074 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.3164, allocations: 0.7398 MB / 1.086 GB, free: 4.309 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003061/0.3167, allocations: 207.9 kB / 1.086 GB, free: 4.086 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/0.3168, allocations: 8 kB / 1.086 GB, free: 4.078 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004649/0.3173, allocations: 23.97 kB / 1.086 GB, free: 4.055 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.129e-05/0.3174, allocations: 31.89 kB / 1.086 GB, free: 4.023 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.876e-05/0.3174, allocations: 8 kB / 1.086 GB, free: 4.016 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0008687/0.3183, allocations: 0.6239 MB / 1.087 GB, free: 3.395 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3183, allocations: 0 / 1.087 GB, free: 3.395 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0008865/0.3192, allocations: 267.8 kB / 1.087 GB, free: 3.133 MB / 0.8419 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.0001338/0.3193, allocations: 113.6 kB / 1.087 GB, free: 3.012 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001362/0.3207, allocations: 0.9271 MB / 1.088 GB, free: 2.047 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3207, allocations: 0 / 1.088 GB, free: 2.047 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0005796/0.3213, allocations: 0.5167 MB / 1.089 GB, free: 1.492 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009139/0.3222, allocations: 172.3 kB / 1.089 GB, free: 1.324 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002678/0.3249, allocations: 2.01 MB / 1.091 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005337/0.3255, allocations: 0.9878 MB / 1.092 GB, free: 14.26 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001968/0.3257, allocations: 47.44 kB / 1.092 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of SimCode: time 4.41e-07/0.3257, allocations: 0 / 1.092 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of Templates: time 0.02128/0.347, allocations: 17.57 MB / 1.109 GB, free: 12.67 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches