Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.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.ConductorMultiLayer2,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_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer2,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_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 106.2 kB / 16.36 MB, free: 6.355 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.001037/0.001037, allocations: 195.8 kB / 17.3 MB, free: 5.906 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.307/1.307, allocations: 222.9 MB / 241 MB, free: 15.2 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.461/2.461, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001899/0.001899, allocations: 56.66 kB / 0.8707 GB, free: 1.504 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.311/0.3129, allocations: 151.7 MB / 1.019 GB, free: 9.898 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer2): time 0.004396/0.3174, allocations: 2.742 MB / 1.021 GB, free: 7.129 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.004164/0.3216, allocations: 2.777 MB / 1.024 GB, free: 4.34 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002337/0.3218, allocations: 11.88 kB / 1.024 GB, free: 4.328 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.001366/0.3232, allocations: 498.1 kB / 1.025 GB, free: 3.84 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0005278/0.3238, allocations: 254.8 kB / 1.025 GB, free: 3.59 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009747/0.3248, allocations: 395 kB / 1.025 GB, free: 3.203 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.001604/0.3264, allocations: 1.532 MB / 1.027 GB, free: 1.668 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002458/0.3267, allocations: 142.3 kB / 1.027 GB, free: 1.523 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005989/0.3273, allocations: 474.8 kB / 1.027 GB, free: 1.059 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005216/0.3278, allocations: 386.6 kB / 1.028 GB, free: 0.6797 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 7.347e-05/0.3279, allocations: 52 kB / 1.028 GB, free: 0.6289 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.52e-05/0.328, allocations: 48 kB / 1.028 GB, free: 0.582 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0002755/0.3283, allocations: 275.2 kB / 1.028 GB, free: 320 kB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0003733/0.3287, allocations: 374.3 kB / 1.028 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0007928/0.3295, allocations: 0.9034 MB / 1.029 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.3295, allocations: 0 / 1.029 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.136e-06/0.3295, allocations: 4 kB / 1.029 GB, free: 15.04 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.14e-05/0.3295, allocations: 0 / 1.029 GB, free: 15.04 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.002026/0.3315, allocations: 1.14 MB / 1.03 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.3316, allocations: 16.03 kB / 1.03 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001356/0.3317, allocations: 76 kB / 1.031 GB, free: 13.75 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001086/0.3328, allocations: 0.672 MB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.745e-05/0.3329, allocations: 32.94 kB / 1.031 GB, free: 13.01 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.985e-05/0.3329, allocations: 36.38 kB / 1.031 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000551/0.3335, allocations: 382.8 kB / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.182e-05/0.3335, allocations: 0 / 1.032 GB, free: 12.58 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.618e-05/0.3335, allocations: 8 kB / 1.032 GB, free: 12.57 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.956e-06/0.3336, allocations: 12 kB / 1.032 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003743/0.3339, allocations: 237.5 kB / 1.032 GB, free: 12.33 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.003522/0.3375, allocations: 2.451 MB / 1.034 GB, free: 9.688 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009499/0.3384, allocations: 398.5 kB / 1.035 GB, free: 9.289 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002003/0.3386, allocations: 140.7 kB / 1.035 GB, free: 9.148 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.3387, allocations: 4 kB / 1.035 GB, free: 9.145 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.3387, allocations: 30.56 kB / 1.035 GB, free: 9.105 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=18): time 1.753e-06/0.3387, allocations: 0 / 1.035 GB, free: 9.105 MB / 0.8106 GB Notification: Performance of matching and sorting (n=18): time 0.0009346/0.3396, allocations: 0.5401 MB / 1.035 GB, free: 8.539 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.983e-05/0.3397, allocations: 55.39 kB / 1.035 GB, free: 8.473 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00116/0.3409, allocations: 0.9298 MB / 1.036 GB, free: 7.535 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.282e-05/0.3409, allocations: 41.64 kB / 1.036 GB, free: 7.488 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002232/0.3411, allocations: 304.4 kB / 1.037 GB, free: 7.188 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 7.114e-05/0.3412, allocations: 67.05 kB / 1.037 GB, free: 7.121 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001497/0.3414, allocations: 126.1 kB / 1.037 GB, free: 6.992 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.3415, allocations: 390.6 kB / 1.037 GB, free: 6.602 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003262/0.3419, allocations: 236.9 kB / 1.037 GB, free: 6.367 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000476/0.3424, allocations: 0.4975 MB / 1.038 GB, free: 5.742 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00075/0.3431, allocations: 0.7022 MB / 1.039 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.3431, allocations: 0 / 1.039 GB, free: 4.91 MB / 0.8106 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001184/0.3443, allocations: 0.824 MB / 1.039 GB, free: 4.078 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.3444, allocations: 8 kB / 1.039 GB, free: 4.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.232e-05/0.3444, allocations: 12.09 kB / 1.039 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002167/0.3446, allocations: 52.83 kB / 1.039 GB, free: 4.004 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004664/0.3451, allocations: 139.8 kB / 1.04 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001298/0.3464, allocations: 1.539 MB / 1.041 GB, free: 2.191 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006996/0.3471, allocations: 123.2 kB / 1.041 GB, free: 2.07 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.257e-05/0.3471, allocations: 31.98 kB / 1.041 GB, free: 2.039 MB / 0.8106 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.0004317/0.3476, allocations: 342.2 kB / 1.042 GB, free: 1.695 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/0.3477, allocations: 67.09 kB / 1.042 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.3478, allocations: 66 kB / 1.042 GB, free: 1.555 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.3478, allocations: 4 kB / 1.042 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.3478, allocations: 0 / 1.042 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3478, allocations: 0 / 1.042 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000666/0.3485, allocations: 0.5791 MB / 1.042 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.576e-06/0.3485, allocations: 4 kB / 1.042 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002596/0.3488, allocations: 59.89 kB / 1.042 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001171/0.3489, allocations: 40.81 kB / 1.042 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.489e-05/0.3489, allocations: 11.98 kB / 1.042 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001094/0.35, allocations: 1.515 MB / 1.044 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.3501, allocations: 4.031 kB / 1.044 GB, free: 15.15 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007303/0.3508, allocations: 0.5734 MB / 1.044 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003184/0.3511, allocations: 196.4 kB / 1.045 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.45e-05/0.3512, allocations: 8 kB / 1.045 GB, free: 14.34 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004023/0.3516, allocations: 47.86 kB / 1.045 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.42e-05/0.3517, allocations: 15.89 kB / 1.045 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.3517, allocations: 7.984 kB / 1.045 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0008196/0.3525, allocations: 0.659 MB / 1.045 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.7e-07/0.3526, allocations: 0 / 1.045 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0006188/0.3532, allocations: 191.8 kB / 1.045 GB, free: 13.43 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.0001319/0.3533, allocations: 111.2 kB / 1.046 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0008396/0.3542, allocations: 0.5732 MB / 1.046 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.3542, allocations: 0 / 1.046 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0003082/0.3545, allocations: 250.5 kB / 1.046 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000778/0.3553, allocations: 174.9 kB / 1.047 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002041/0.3573, allocations: 1.506 MB / 1.048 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005829/0.3579, allocations: 1.018 MB / 1.049 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0003713/0.3583, allocations: 176.5 kB / 1.049 GB, free: 9.539 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.3584, allocations: 39.44 kB / 1.049 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of SimCode: time 5.41e-07/0.3584, allocations: 0 / 1.049 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of Templates: time 0.01425/0.3727, allocations: 8.44 MB / 1.057 GB, free: 1.184 MB / 0.8262 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.sim & ./Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorMultiLayer2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorMultiLayer2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches