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.001673/0.001673, allocations: 107.7 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.001831/0.001831, allocations: 194.8 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.317/1.317, 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.421/2.421, allocations: 442.6 MB / 0.7165 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001252/0.001252, allocations: 62.91 kB / 0.8773 GB, free: 11.03 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2799, allocations: 153 MB / 1.027 GB, free: 2.105 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005107/0.285, allocations: 4.367 MB / 1.031 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004232/0.2893, allocations: 2.946 MB / 1.034 GB, free: 10.76 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003301/0.2896, allocations: 27.81 kB / 1.034 GB, free: 10.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0008971/0.2905, allocations: 361.7 kB / 1.034 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.001102/0.2917, allocations: 0.6493 MB / 1.035 GB, free: 9.723 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.001369/0.2931, allocations: 0.6349 MB / 1.035 GB, free: 9.09 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.001761/0.2948, allocations: 1.874 MB / 1.037 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002761/0.2951, allocations: 173.9 kB / 1.037 GB, free: 7.023 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007144/0.2958, allocations: 0.5917 MB / 1.038 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007742/0.2966, allocations: 0.6538 MB / 1.039 GB, free: 5.773 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001123/0.2968, allocations: 76 kB / 1.039 GB, free: 5.699 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006067/0.2974, allocations: 411.4 kB / 1.039 GB, free: 5.297 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0004134/0.2978, allocations: 458.7 kB / 1.04 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0005005/0.2983, allocations: 0.6062 MB / 1.04 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001303/0.2996, allocations: 1.472 MB / 1.042 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.2996, allocations: 0 / 1.042 GB, free: 2.762 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.363e-06/0.2996, allocations: 4 kB / 1.042 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.671e-05/0.2997, allocations: 0 / 1.042 GB, free: 2.758 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.002679/0.3023, allocations: 1.616 MB / 1.043 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.24e-05/0.3024, allocations: 8.031 kB / 1.043 GB, free: 1.082 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001919/0.3026, allocations: 131.3 kB / 1.043 GB, free: 0.9531 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001255/0.3038, allocations: 0.8388 MB / 1.044 GB, free: 64 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.709e-05/0.3039, allocations: 49.38 kB / 1.044 GB, free: 16 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001052/0.304, allocations: 64.33 kB / 1.044 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007838/0.3048, allocations: 0.6178 MB / 1.045 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.186e-05/0.3048, allocations: 0 / 1.045 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.556e-05/0.3049, allocations: 16 kB / 1.045 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/0.3049, allocations: 11.98 kB / 1.045 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007063/0.3056, allocations: 0.5621 MB / 1.045 GB, free: 14.72 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.004084/0.3097, allocations: 3.27 MB / 1.049 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00131/0.311, allocations: 0.8551 MB / 1.049 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004131/0.3114, allocations: 361.4 kB / 1.05 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.933e-05/0.3115, allocations: 28.3 kB / 1.05 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.3115, allocations: 38.94 kB / 1.05 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=45): time 1.533e-06/0.3115, allocations: 0 / 1.05 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of matching and sorting (n=45): time 0.001601/0.3132, allocations: 1.182 MB / 1.051 GB, free: 8.703 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.3132, allocations: 55.41 kB / 1.051 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001416/0.3146, allocations: 1.227 MB / 1.052 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 4.856e-05/0.3147, allocations: 41.7 kB / 1.052 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000354/0.315, allocations: 464.7 kB / 1.053 GB, free: 6.891 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001408/0.3152, allocations: 173.5 kB / 1.053 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002351/0.3154, allocations: 210.5 kB / 1.053 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.3156, allocations: 353.9 kB / 1.053 GB, free: 6.156 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007277/0.3163, allocations: 0.6465 MB / 1.054 GB, free: 5.508 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009188/0.3172, allocations: 0.9708 MB / 1.055 GB, free: 4.391 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001635/0.3189, allocations: 1.586 MB / 1.057 GB, free: 2.664 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.612e-06/0.3189, allocations: 4 kB / 1.057 GB, free: 2.66 MB / 0.8262 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002249/0.3211, allocations: 1.779 MB / 1.058 GB, free: 0.8672 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.3212, allocations: 16.83 kB / 1.058 GB, free: 0.8516 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.703e-05/0.3212, allocations: 15.98 kB / 1.058 GB, free: 0.8359 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001995/0.3214, allocations: 44.84 kB / 1.058 GB, free: 0.7891 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/0.3225, allocations: 271.6 kB / 1.059 GB, free: 0.5234 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003792/0.3263, allocations: 6.828 MB / 1.065 GB, free: 9.367 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009736/0.3273, allocations: 138.7 kB / 1.065 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.603e-05/0.3274, allocations: 36 kB / 1.065 GB, free: 9.195 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.0003918/0.3278, allocations: 309.4 kB / 1.066 GB, free: 8.883 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001394/0.3279, allocations: 114.4 kB / 1.066 GB, free: 8.77 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001131/0.3291, allocations: 0.8389 MB / 1.067 GB, free: 7.922 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.3291, allocations: 4 kB / 1.067 GB, free: 7.918 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.3291, allocations: 0 / 1.067 GB, free: 7.918 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.3291, allocations: 3.984 kB / 1.067 GB, free: 7.914 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009255/0.3301, allocations: 0.9151 MB / 1.068 GB, free: 6.953 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.3301, allocations: 0 / 1.068 GB, free: 6.953 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005303/0.3306, allocations: 107.9 kB / 1.068 GB, free: 6.848 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001257/0.3307, allocations: 40.77 kB / 1.068 GB, free: 6.805 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4e-05/0.3308, allocations: 19.98 kB / 1.068 GB, free: 6.785 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009316/0.3317, allocations: 1.437 MB / 1.069 GB, free: 5.207 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3317, allocations: 0 / 1.069 GB, free: 5.207 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001509/0.3332, allocations: 1.373 MB / 1.071 GB, free: 3.812 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003919/0.3337, allocations: 263.5 kB / 1.071 GB, free: 3.535 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.3338, allocations: 20.03 kB / 1.071 GB, free: 3.516 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005257/0.3343, allocations: 27.95 kB / 1.071 GB, free: 3.488 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.013e-05/0.3344, allocations: 27.91 kB / 1.071 GB, free: 3.461 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.79e-05/0.3344, allocations: 16 kB / 1.071 GB, free: 3.445 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001078/0.3355, allocations: 0.8193 MB / 1.072 GB, free: 2.621 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3355, allocations: 0 / 1.072 GB, free: 2.621 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0009095/0.3364, allocations: 367.7 kB / 1.072 GB, free: 2.262 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.0004969/0.3369, allocations: 275 kB / 1.072 GB, free: 1.984 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002213/0.3392, allocations: 1.499 MB / 1.074 GB, free: 472 kB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.3392, allocations: 0 / 1.074 GB, free: 472 kB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.4288/0.768, allocations: 477.3 kB / 1.074 GB, free: 54.44 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001497/0.7695, allocations: 220.9 kB / 1.074 GB, free: 54.44 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003337/0.7729, allocations: 2.51 MB / 1.077 GB, free: 53.39 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006273/0.7735, allocations: 1.099 MB / 1.078 GB, free: 52.68 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0005231/0.7741, allocations: 200.8 kB / 1.078 GB, free: 52.66 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000196/0.7743, allocations: 67.31 kB / 1.078 GB, free: 52.65 MB / 0.8419 GB Notification: Performance of SimCode: time 1.493e-06/0.7743, allocations: 0 / 1.078 GB, free: 52.65 MB / 0.8419 GB Notification: Performance of Templates: time 0.03167/0.806, allocations: 14.54 MB / 1.092 GB, free: 51.94 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 gbode -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