Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001145/0.001145, allocations: 101.5 kB / 16.35 MB, free: 5.875 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.001109/0.001109, allocations: 199.4 kB / 17.3 MB, free: 5.516 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.337/1.337, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.433/2.433, allocations: 437.1 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 67.84 kB / 0.8707 GB, free: 1.453 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2663, allocations: 151.6 MB / 1.019 GB, free: 9.859 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayer2): time 0.005072/0.2714, allocations: 3.733 MB / 1.022 GB, free: 6.094 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.004573/0.276, allocations: 2.506 MB / 1.025 GB, free: 3.578 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005571/0.2766, allocations: 15.94 kB / 1.025 GB, free: 3.562 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0008409/0.2774, allocations: 254.3 kB / 1.025 GB, free: 3.312 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001372/0.2789, allocations: 0.4981 MB / 1.026 GB, free: 2.812 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001447/0.2803, allocations: 0.536 MB / 1.026 GB, free: 2.277 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001679/0.282, allocations: 1.383 MB / 1.027 GB, free: 0.8906 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002846/0.2823, allocations: 149.1 kB / 1.028 GB, free: 0.7422 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007085/0.283, allocations: 426.5 kB / 1.028 GB, free: 332 kB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007398/0.2838, allocations: 462.2 kB / 1.028 GB, free: 15.87 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001557/0.2839, allocations: 52 kB / 1.029 GB, free: 15.82 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002031/0.2841, allocations: 64 kB / 1.029 GB, free: 15.76 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0004005/0.2846, allocations: 375 kB / 1.029 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0005601/0.2851, allocations: 473.5 kB / 1.029 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.00088/0.286, allocations: 0.9264 MB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.286, allocations: 0 / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.753e-06/0.286, allocations: 4 kB / 1.03 GB, free: 13.99 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.899e-05/0.2861, allocations: 0 / 1.03 GB, free: 13.99 MB / 0.8106 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.002372/0.2884, allocations: 1.265 MB / 1.032 GB, free: 12.68 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.2885, allocations: 16.81 kB / 1.032 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001809/0.2887, allocations: 103.7 kB / 1.032 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001174/0.2899, allocations: 0.6792 MB / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.419e-05/0.2899, allocations: 41.03 kB / 1.032 GB, free: 11.8 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.807e-05/0.29, allocations: 56.38 kB / 1.032 GB, free: 11.74 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000596/0.2906, allocations: 414.9 kB / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.2906, allocations: 3.938 kB / 1.033 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.17e-05/0.2907, allocations: 16 kB / 1.033 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.2907, allocations: 8 kB / 1.033 GB, free: 11.27 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003945/0.2911, allocations: 238.4 kB / 1.033 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003106/0.2942, allocations: 2.486 MB / 1.035 GB, free: 8.375 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001412/0.2956, allocations: 0.5517 MB / 1.036 GB, free: 7.816 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002473/0.2959, allocations: 161.3 kB / 1.036 GB, free: 7.656 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.168e-05/0.2959, allocations: 4 kB / 1.036 GB, free: 7.652 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.444e-05/0.296, allocations: 38.56 kB / 1.036 GB, free: 7.605 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=30): time 1.522e-06/0.296, allocations: 0 / 1.036 GB, free: 7.605 MB / 0.8106 GB Notification: Performance of matching and sorting (n=30): time 0.001553/0.2975, allocations: 0.8934 MB / 1.037 GB, free: 6.641 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.384e-05/0.2976, allocations: 55.41 kB / 1.037 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001149/0.2987, allocations: 0.9232 MB / 1.038 GB, free: 5.645 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 4.941e-05/0.2988, allocations: 45.7 kB / 1.038 GB, free: 5.594 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003464/0.2991, allocations: 364.8 kB / 1.038 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001129/0.2993, allocations: 114.3 kB / 1.039 GB, free: 5.117 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002028/0.2995, allocations: 170.6 kB / 1.039 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001807/0.2997, allocations: 394.7 kB / 1.039 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003907/0.3, allocations: 245.8 kB / 1.039 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006272/0.3007, allocations: 0.6387 MB / 1.04 GB, free: 3.477 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00104/0.3017, allocations: 0.9043 MB / 1.041 GB, free: 2.379 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/0.3018, allocations: 4 kB / 1.041 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001591/0.3033, allocations: 1.01 MB / 1.042 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.644e-05/0.3034, allocations: 12.62 kB / 1.042 GB, free: 1.336 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.007e-05/0.3034, allocations: 19.94 kB / 1.042 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004154/0.3038, allocations: 126.4 kB / 1.042 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006255/0.3045, allocations: 187.7 kB / 1.042 GB, free: 1 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003298/0.3078, allocations: 4.465 MB / 1.046 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000855/0.3086, allocations: 115 kB / 1.047 GB, free: 12 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.074e-05/0.3087, allocations: 44 kB / 1.047 GB, free: 11.96 MB / 0.8262 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.0003356/0.3091, allocations: 269.3 kB / 1.047 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000152/0.3092, allocations: 82.95 kB / 1.047 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001312/0.3094, allocations: 76.53 kB / 1.047 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.3094, allocations: 4 kB / 1.047 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.987e-06/0.3094, allocations: 4 kB / 1.047 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.3094, allocations: 4.188 kB / 1.047 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007741/0.3102, allocations: 0.6608 MB / 1.048 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3102, allocations: 0 / 1.048 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003212/0.3105, allocations: 67.81 kB / 1.048 GB, free: 10.74 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002883/0.3108, allocations: 114.5 kB / 1.048 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.955e-05/0.3109, allocations: 4 kB / 1.048 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002989/0.3138, allocations: 4.442 MB / 1.052 GB, free: 5.75 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.3139, allocations: 3.938 kB / 1.052 GB, free: 5.746 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.3149, allocations: 0.7389 MB / 1.053 GB, free: 4.98 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003543/0.3153, allocations: 211.9 kB / 1.053 GB, free: 4.754 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/0.3154, allocations: 8 kB / 1.053 GB, free: 4.746 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004596/0.3159, allocations: 19.97 kB / 1.053 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.791e-05/0.3159, allocations: 23.97 kB / 1.053 GB, free: 4.703 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.927e-05/0.316, allocations: 8 kB / 1.053 GB, free: 4.695 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0008282/0.3168, allocations: 0.6239 MB / 1.054 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of sort global known variables: time 3.1e-07/0.3168, allocations: 4 kB / 1.054 GB, free: 4.07 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0008665/0.3177, allocations: 271.7 kB / 1.054 GB, free: 3.805 MB / 0.8262 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.0001289/0.3178, allocations: 108.5 kB / 1.054 GB, free: 3.691 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00135/0.3192, allocations: 0.9288 MB / 1.055 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.3192, allocations: 0 / 1.055 GB, free: 2.727 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005767/0.3198, allocations: 0.5195 MB / 1.056 GB, free: 2.168 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008366/0.3206, allocations: 176.3 kB / 1.056 GB, free: 1.992 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002812/0.3234, allocations: 1.708 MB / 1.057 GB, free: 260 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007673/0.3242, allocations: 0.9956 MB / 1.058 GB, free: 15.23 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0005115/0.3248, allocations: 149.9 kB / 1.059 GB, free: 15.08 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002008/0.325, allocations: 47.44 kB / 1.059 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of SimCode: time 1.011e-06/0.325, allocations: 0 / 1.059 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of Templates: time 0.01948/0.3445, allocations: 10.1 MB / 1.068 GB, free: 5.055 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.sim & ./Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorSingleLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches