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 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.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.00131/0.00131, allocations: 104.1 kB / 16.35 MB, free: 5.824 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.001296/0.001296, allocations: 190.9 kB / 17.29 MB, free: 5.48 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.336/1.336, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.586/2.586, allocations: 442.6 MB / 0.7165 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001416/0.001416, allocations: 62.34 kB / 0.8773 GB, free: 11.02 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2724/0.2739, allocations: 153 MB / 1.027 GB, free: 2.09 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer): time 0.003762/0.2777, allocations: 2.743 MB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00368/0.2814, allocations: 2.785 MB / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002513/0.2816, allocations: 7.938 kB / 1.032 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001353/0.283, allocations: 0.498 MB / 1.033 GB, free: 12.02 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005156/0.2836, allocations: 261.8 kB / 1.033 GB, free: 11.77 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009123/0.2845, allocations: 387 kB / 1.033 GB, free: 11.39 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001527/0.286, allocations: 1.524 MB / 1.035 GB, free: 9.863 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002156/0.2863, allocations: 142.2 kB / 1.035 GB, free: 9.719 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005849/0.2869, allocations: 478.8 kB / 1.035 GB, free: 9.25 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004928/0.2874, allocations: 390.6 kB / 1.036 GB, free: 8.867 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 7.14e-05/0.2875, allocations: 48 kB / 1.036 GB, free: 8.82 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.201e-05/0.2876, allocations: 48 kB / 1.036 GB, free: 8.773 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0002691/0.2878, allocations: 275.3 kB / 1.036 GB, free: 8.504 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0003443/0.2882, allocations: 374.2 kB / 1.036 GB, free: 8.137 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000721/0.2889, allocations: 0.9074 MB / 1.037 GB, free: 7.227 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.2889, allocations: 0 / 1.037 GB, free: 7.227 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.096e-06/0.2889, allocations: 0 / 1.037 GB, free: 7.227 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.309e-05/0.289, allocations: 3.938 kB / 1.037 GB, free: 7.223 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001899/0.2909, allocations: 1.14 MB / 1.038 GB, free: 6.031 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.2909, allocations: 8.031 kB / 1.038 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001251/0.291, allocations: 80 kB / 1.038 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/0.2921, allocations: 0.6759 MB / 1.039 GB, free: 5.227 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.742e-05/0.2921, allocations: 32.94 kB / 1.039 GB, free: 5.195 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.424e-05/0.2922, allocations: 40.38 kB / 1.039 GB, free: 5.156 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000492/0.2927, allocations: 370.9 kB / 1.04 GB, free: 4.77 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.2927, allocations: 7.938 kB / 1.04 GB, free: 4.762 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.617e-05/0.2927, allocations: 16 kB / 1.04 GB, free: 4.746 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.2927, allocations: 4 kB / 1.04 GB, free: 4.742 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003666/0.2931, allocations: 233.5 kB / 1.04 GB, free: 4.516 MB / 0.8106 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.00334/0.2965, allocations: 2.447 MB / 1.042 GB, free: 1.879 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009474/0.2974, allocations: 402.4 kB / 1.043 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001957/0.2976, allocations: 144.7 kB / 1.043 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.627e-05/0.2976, allocations: 0 / 1.043 GB, free: 1.332 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.2977, allocations: 34.81 kB / 1.043 GB, free: 1.289 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=18): time 1.623e-06/0.2977, allocations: 4 kB / 1.043 GB, free: 1.285 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18): time 0.0009194/0.2986, allocations: 0.5336 MB / 1.043 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.159e-05/0.2986, allocations: 51.41 kB / 1.043 GB, free: 0.6602 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.2997, allocations: 0.9376 MB / 1.044 GB, free: 15.71 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 3.548e-05/0.2998, allocations: 33.7 kB / 1.044 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002221/0.3, allocations: 304.4 kB / 1.045 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.468e-05/0.3001, allocations: 74.94 kB / 1.045 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001478/0.3002, allocations: 122.2 kB / 1.045 GB, free: 15.17 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.3004, allocations: 378.7 kB / 1.045 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003169/0.3007, allocations: 240.9 kB / 1.045 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004807/0.3012, allocations: 0.5014 MB / 1.046 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007012/0.3019, allocations: 0.6976 MB / 1.047 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.038e-06/0.3019, allocations: 0 / 1.047 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001112/0.303, allocations: 0.8139 MB / 1.047 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.3031, allocations: 14.22 kB / 1.047 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.3031, allocations: 12 kB / 1.047 GB, free: 12.26 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002001/0.3033, allocations: 56.75 kB / 1.047 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005519/0.3039, allocations: 139.8 kB / 1.048 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001139/0.305, allocations: 1.538 MB / 1.049 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000651/0.3057, allocations: 127.2 kB / 1.049 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.856e-05/0.3057, allocations: 36.14 kB / 1.049 GB, free: 10.22 MB / 0.8262 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.0003473/0.3061, allocations: 333.5 kB / 1.049 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.924e-05/0.3062, allocations: 63.17 kB / 1.05 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001003/0.3063, allocations: 73.94 kB / 1.05 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.3063, allocations: 0 / 1.05 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3063, allocations: 0 / 1.05 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.337e-06/0.3063, allocations: 0 / 1.05 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006054/0.3069, allocations: 0.583 MB / 1.05 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.3069, allocations: 4 kB / 1.05 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002416/0.3072, allocations: 51.91 kB / 1.05 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000121/0.3073, allocations: 44.81 kB / 1.05 GB, free: 9.016 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.436e-05/0.3073, allocations: 8 kB / 1.05 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001022/0.3084, allocations: 1.519 MB / 1.052 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.3084, allocations: 0 / 1.052 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006926/0.3091, allocations: 0.5721 MB / 1.052 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002996/0.3094, allocations: 196.2 kB / 1.053 GB, free: 6.543 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.537e-05/0.3095, allocations: 19.92 kB / 1.053 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003723/0.3098, allocations: 51.84 kB / 1.053 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.397e-05/0.3099, allocations: 7.984 kB / 1.053 GB, free: 6.465 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.3099, allocations: 4 kB / 1.053 GB, free: 6.461 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0007791/0.3107, allocations: 0.6668 MB / 1.053 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.2e-07/0.3107, allocations: 0 / 1.053 GB, free: 5.801 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000592/0.3113, allocations: 187.8 kB / 1.053 GB, free: 5.617 MB / 0.8262 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.0001235/0.3115, allocations: 107.2 kB / 1.054 GB, free: 5.5 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008113/0.3123, allocations: 0.5704 MB / 1.054 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.776e-06/0.3123, allocations: 0 / 1.054 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002886/0.3126, allocations: 257.4 kB / 1.054 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007856/0.3134, allocations: 174.9 kB / 1.054 GB, free: 4.484 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001914/0.3153, allocations: 1.509 MB / 1.056 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000508/0.3158, allocations: 1.007 MB / 1.057 GB, free: 1.914 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003541/0.3162, allocations: 180.5 kB / 1.057 GB, free: 1.738 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001092/0.3163, allocations: 39.44 kB / 1.057 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3163, allocations: 0 / 1.057 GB, free: 1.703 MB / 0.8262 GB Notification: Performance of Templates: time 0.01326/0.3296, allocations: 8.435 MB / 1.065 GB, free: 9.383 MB / 0.8419 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches