Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.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.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conPCM.T.1.|conPCM.T.2.|conPCM.T.3.|conPCM.T.4.|con1.T.1.|con1.T.2.|con2.T.1.|con2.T.2.|conPCM2.T.1.|conPCM2.T.2.|conPCM2.T.3.|conPCM2.T.4.|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conPCM.T.1.|conPCM.T.2.|conPCM.T.3.|conPCM.T.4.|con1.T.1.|con1.T.2.|con2.T.1.|con2.T.2.|conPCM2.T.1.|conPCM2.T.2.|conPCM2.T.3.|conPCM2.T.4.|cheEqu.y",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002025/0.002025, allocations: 107.2 kB / 16.36 MB, free: 6.336 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.001878/0.001878, allocations: 195.3 kB / 17.29 MB, free: 5.883 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.386/1.386, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.474/2.474, allocations: 442.6 MB / 0.7165 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 68.17 kB / 0.8773 GB, free: 11.01 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.288, allocations: 153 MB / 1.027 GB, free: 2.098 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.00597/0.294, allocations: 4.367 MB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004964/0.299, allocations: 2.942 MB / 1.034 GB, free: 10.75 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004137/0.2995, allocations: 23.88 kB / 1.034 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0009208/0.3004, allocations: 369.6 kB / 1.034 GB, free: 10.37 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001167/0.3016, allocations: 0.6376 MB / 1.035 GB, free: 9.727 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001455/0.3031, allocations: 0.6379 MB / 1.035 GB, free: 9.09 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001945/0.3051, allocations: 1.878 MB / 1.037 GB, free: 7.203 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002914/0.3054, allocations: 177.9 kB / 1.037 GB, free: 7.016 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007203/0.3061, allocations: 0.5839 MB / 1.038 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008114/0.3069, allocations: 0.6539 MB / 1.039 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001232/0.307, allocations: 76 kB / 1.039 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006725/0.3077, allocations: 419.4 kB / 1.039 GB, free: 5.289 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0004496/0.3082, allocations: 466.6 kB / 1.04 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000523/0.3087, allocations: 0.5984 MB / 1.04 GB, free: 4.23 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.00125/0.31, allocations: 1.468 MB / 1.042 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.31, allocations: 0 / 1.042 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.563e-06/0.31, allocations: 7.875 kB / 1.042 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.409e-05/0.31, allocations: 4 kB / 1.042 GB, free: 2.746 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.002686/0.3127, allocations: 1.608 MB / 1.043 GB, free: 1.086 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.636e-05/0.3128, allocations: 16.02 kB / 1.043 GB, free: 1.07 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001863/0.313, allocations: 135.3 kB / 1.043 GB, free: 0.9375 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001286/0.3143, allocations: 0.8349 MB / 1.044 GB, free: 52 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.601e-05/0.3143, allocations: 49.38 kB / 1.044 GB, free: 4 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.3144, allocations: 64.36 kB / 1.044 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008248/0.3153, allocations: 0.6179 MB / 1.045 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.3153, allocations: 0 / 1.045 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.8e-05/0.3153, allocations: 16 kB / 1.045 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.287e-05/0.3153, allocations: 12 kB / 1.045 GB, free: 15.27 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007246/0.3161, allocations: 0.5582 MB / 1.045 GB, free: 14.71 MB / 0.8262 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.004122/0.3202, allocations: 3.274 MB / 1.049 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001307/0.3215, allocations: 0.8474 MB / 1.049 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004241/0.322, allocations: 365.4 kB / 1.05 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.108e-05/0.322, allocations: 24.3 kB / 1.05 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.3221, allocations: 46.88 kB / 1.05 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=45): time 2.124e-06/0.3221, allocations: 0 / 1.05 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of matching and sorting (n=45): time 0.001703/0.3238, allocations: 1.178 MB / 1.051 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.3238, allocations: 59.41 kB / 1.051 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001412/0.3253, allocations: 1.224 MB / 1.052 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.793e-05/0.3253, allocations: 45.7 kB / 1.052 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003342/0.3257, allocations: 464.7 kB / 1.053 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001847/0.3259, allocations: 169.5 kB / 1.053 GB, free: 6.711 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002492/0.3261, allocations: 210.5 kB / 1.053 GB, free: 6.5 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001411/0.3263, allocations: 353.9 kB / 1.053 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000765/0.327, allocations: 0.6425 MB / 1.054 GB, free: 5.504 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009659/0.328, allocations: 0.9747 MB / 1.055 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001588/0.3296, allocations: 1.586 MB / 1.057 GB, free: 2.656 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.032e-06/0.3296, allocations: 4 kB / 1.057 GB, free: 2.652 MB / 0.8262 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002188/0.3318, allocations: 1.779 MB / 1.058 GB, free: 0.8594 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.008e-05/0.3318, allocations: 12 kB / 1.058 GB, free: 0.8477 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.413e-05/0.3319, allocations: 12 kB / 1.058 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001845/0.3321, allocations: 44.83 kB / 1.058 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001081/0.3332, allocations: 267.6 kB / 1.059 GB, free: 0.5273 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004406/0.3376, allocations: 6.844 MB / 1.065 GB, free: 9.355 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009176/0.3385, allocations: 130.5 kB / 1.065 GB, free: 9.227 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.086e-05/0.3386, allocations: 43.98 kB / 1.065 GB, free: 9.184 MB / 0.8419 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 47 * 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 (104): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 8 systems {1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems 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.0004077/0.339, allocations: 305.6 kB / 1.066 GB, free: 8.875 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/0.3392, allocations: 114.4 kB / 1.066 GB, free: 8.762 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001183/0.3403, allocations: 0.8388 MB / 1.067 GB, free: 7.914 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.3404, allocations: 7.938 kB / 1.067 GB, free: 7.906 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.3404, allocations: 4 kB / 1.067 GB, free: 7.902 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.3404, allocations: 0 / 1.067 GB, free: 7.902 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009374/0.3413, allocations: 0.9151 MB / 1.068 GB, free: 6.941 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.3413, allocations: 0 / 1.068 GB, free: 6.941 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004972/0.3418, allocations: 119.8 kB / 1.068 GB, free: 6.824 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001034/0.3419, allocations: 28.84 kB / 1.068 GB, free: 6.793 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.817e-05/0.342, allocations: 15.98 kB / 1.068 GB, free: 6.777 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009129/0.3429, allocations: 1.437 MB / 1.069 GB, free: 5.199 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.3429, allocations: 0 / 1.069 GB, free: 5.199 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001537/0.3445, allocations: 1.37 MB / 1.071 GB, free: 3.809 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004131/0.3449, allocations: 263.5 kB / 1.071 GB, free: 3.531 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.345, allocations: 19.92 kB / 1.071 GB, free: 3.512 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005239/0.3456, allocations: 23.97 kB / 1.071 GB, free: 3.488 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.029e-05/0.3456, allocations: 31.95 kB / 1.071 GB, free: 3.457 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-05/0.3457, allocations: 12 kB / 1.071 GB, free: 3.445 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001023/0.3467, allocations: 0.8194 MB / 1.072 GB, free: 2.621 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.61e-07/0.3467, allocations: 0 / 1.072 GB, free: 2.621 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0009546/0.3477, allocations: 371.7 kB / 1.072 GB, free: 2.258 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 12 (conPCM.u[1],conPCM.u[2],conPCM.u[3],conPCM.u[4],con1.T[1],con1.T[2],con2.T[1],con2.T[2],conPCM2.u[1],conPCM2.u[2],conPCM2.u[3],conPCM2.u[4]) * 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 (44): * Single equations (assignments): 43 * 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.0004737/0.3482, allocations: 279 kB / 1.072 GB, free: 1.977 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002238/0.3504, allocations: 1.494 MB / 1.074 GB, free: 468 kB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3504, allocations: 4 kB / 1.074 GB, free: 464 kB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.4909/0.8413, allocations: 472.4 kB / 1.074 GB, free: 54.4 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001494/0.8429, allocations: 225.8 kB / 1.074 GB, free: 54.4 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003668/0.8466, allocations: 2.511 MB / 1.077 GB, free: 53.34 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007326/0.8473, allocations: 1.096 MB / 1.078 GB, free: 52.63 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0006409/0.848, allocations: 205.5 kB / 1.078 GB, free: 52.6 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002082/0.8482, allocations: 67.56 kB / 1.078 GB, free: 52.59 MB / 0.8419 GB Notification: Performance of SimCode: time 2.194e-06/0.8482, allocations: 0 / 1.078 GB, free: 52.59 MB / 0.8419 GB Notification: Performance of Templates: time 0.03908/0.8873, allocations: 14.54 MB / 1.092 GB, free: 51.88 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches