Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.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_10_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_10_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.001302/0.001302, allocations: 107.5 kB / 15.99 MB, free: 5.91 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.001251/0.001251, allocations: 193.6 kB / 16.91 MB, free: 5.754 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.376/1.376, allocations: 222.9 MB / 240.6 MB, free: 13.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.478/2.478, allocations: 437.1 MB / 0.7107 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 72.2 kB / 0.8694 GB, free: 2.508 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.279, allocations: 151.6 MB / 1.017 GB, free: 10.94 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005641/0.2847, allocations: 4.371 MB / 1.022 GB, free: 6.539 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.004745/0.2895, allocations: 2.935 MB / 1.025 GB, free: 3.594 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003456/0.2898, allocations: 19.88 kB / 1.025 GB, free: 3.574 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0009091/0.2908, allocations: 334.1 kB / 1.025 GB, free: 3.246 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.001169/0.292, allocations: 0.5846 MB / 1.026 GB, free: 2.66 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001355/0.2933, allocations: 0.5834 MB / 1.026 GB, free: 2.078 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.002035/0.2954, allocations: 1.874 MB / 1.028 GB, free: 200 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003037/0.2957, allocations: 177.9 kB / 1.028 GB, free: 8 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000801/0.2965, allocations: 0.5955 MB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000911/0.2974, allocations: 0.7123 MB / 1.029 GB, free: 14.7 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001227/0.2976, allocations: 76 kB / 1.029 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006509/0.2982, allocations: 407.4 kB / 1.03 GB, free: 14.22 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0004633/0.2987, allocations: 458.7 kB / 1.03 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0005825/0.2993, allocations: 0.5984 MB / 1.031 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001182/0.3005, allocations: 1.119 MB / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3005, allocations: 7.938 kB / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.683e-06/0.3005, allocations: 0 / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.484e-05/0.3005, allocations: 0 / 1.032 GB, free: 12.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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.002966/0.3035, allocations: 1.612 MB / 1.034 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.3036, allocations: 16.58 kB / 1.034 GB, free: 10.36 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000212/0.3038, allocations: 135.2 kB / 1.034 GB, free: 10.23 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00126/0.305, allocations: 0.8038 MB / 1.034 GB, free: 9.375 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.243e-05/0.3051, allocations: 45.38 kB / 1.034 GB, free: 9.328 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001053/0.3052, allocations: 64.28 kB / 1.035 GB, free: 9.266 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009531/0.3062, allocations: 0.6178 MB / 1.035 GB, free: 8.625 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.521e-05/0.3062, allocations: 0 / 1.035 GB, free: 8.625 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.995e-05/0.3062, allocations: 16 kB / 1.035 GB, free: 8.609 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.412e-05/0.3063, allocations: 12 kB / 1.035 GB, free: 8.598 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008146/0.3071, allocations: 0.5621 MB / 1.036 GB, free: 8.035 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.004579/0.3117, allocations: 3.282 MB / 1.039 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001443/0.3131, allocations: 0.8509 MB / 1.04 GB, free: 3.652 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004754/0.3136, allocations: 361.4 kB / 1.04 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 7.913e-05/0.3137, allocations: 24.3 kB / 1.04 GB, free: 3.273 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.72e-05/0.3138, allocations: 42.92 kB / 1.04 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=45): time 1.944e-06/0.3138, allocations: 7.938 kB / 1.04 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of matching and sorting (n=45): time 0.001866/0.3156, allocations: 1.178 MB / 1.041 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.63e-05/0.3157, allocations: 59.41 kB / 1.041 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001643/0.3173, allocations: 1.227 MB / 1.043 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 5.951e-05/0.3174, allocations: 41.7 kB / 1.043 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003908/0.3178, allocations: 468.7 kB / 1.043 GB, free: 192 kB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/0.318, allocations: 173.5 kB / 1.043 GB, free: 16 kB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002903/0.3183, allocations: 210.5 kB / 1.043 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.3185, allocations: 349.9 kB / 1.044 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008317/0.3193, allocations: 0.6465 MB / 1.044 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0011/0.3204, allocations: 0.9669 MB / 1.045 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001861/0.3223, allocations: 1.593 MB / 1.047 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.3223, allocations: 4 kB / 1.047 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002509/0.3248, allocations: 1.787 MB / 1.049 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.301e-05/0.3249, allocations: 12 kB / 1.049 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.254e-05/0.3249, allocations: 12 kB / 1.049 GB, free: 10.14 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002023/0.3251, allocations: 40.84 kB / 1.049 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001159/0.3263, allocations: 267.6 kB / 1.049 GB, free: 9.836 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004623/0.3309, allocations: 6.84 MB / 1.056 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001044/0.332, allocations: 130.6 kB / 1.056 GB, free: 2.543 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.17e-05/0.3321, allocations: 43.98 kB / 1.056 GB, free: 2.5 MB / 0.8262 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.0004465/0.3325, allocations: 314.4 kB / 1.056 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001764/0.3327, allocations: 110.5 kB / 1.056 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001279/0.334, allocations: 0.8424 MB / 1.057 GB, free: 1.219 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.334, allocations: 4 kB / 1.057 GB, free: 1.215 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.334, allocations: 4 kB / 1.057 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.334, allocations: 0 / 1.057 GB, free: 1.211 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001126/0.3352, allocations: 0.9151 MB / 1.058 GB, free: 256 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/0.3352, allocations: 0 / 1.058 GB, free: 256 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005521/0.3357, allocations: 111.8 kB / 1.058 GB, free: 144 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001242/0.3359, allocations: 28.84 kB / 1.058 GB, free: 112 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.393e-05/0.3359, allocations: 23.98 kB / 1.058 GB, free: 88 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001182/0.3371, allocations: 1.433 MB / 1.06 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.3371, allocations: 0 / 1.06 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001796/0.3389, allocations: 1.366 MB / 1.061 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004136/0.3393, allocations: 263.5 kB / 1.061 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000136/0.3395, allocations: 23.98 kB / 1.061 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005743/0.3401, allocations: 31.95 kB / 1.061 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.358e-05/0.3402, allocations: 27.95 kB / 1.061 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.737e-05/0.3402, allocations: 12 kB / 1.061 GB, free: 12.75 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.001177/0.3414, allocations: 0.8154 MB / 1.062 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of sort global known variables: time 3.2e-07/0.3414, allocations: 0 / 1.062 GB, free: 11.93 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001022/0.3424, allocations: 367.7 kB / 1.062 GB, free: 11.57 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.0005426/0.343, allocations: 278.8 kB / 1.063 GB, free: 11.3 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002687/0.3457, allocations: 1.602 MB / 1.064 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3457, allocations: 4.062 kB / 1.064 GB, free: 9.668 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0006165/0.3463, allocations: 482.1 kB / 1.065 GB, free: 9.184 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.3474, allocations: 234.5 kB / 1.065 GB, free: 8.953 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003962/0.3514, allocations: 2.921 MB / 1.068 GB, free: 6.004 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007688/0.3522, allocations: 1.098 MB / 1.069 GB, free: 4.879 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002607/0.3525, allocations: 67.44 kB / 1.069 GB, free: 4.812 MB / 0.8419 GB Notification: Performance of SimCode: time 5.41e-07/0.3525, allocations: 0 / 1.069 GB, free: 4.812 MB / 0.8419 GB Notification: Performance of Templates: time 0.4404/0.7929, allocations: 30.71 MB / 1.099 GB, free: 53.89 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile (rm -f Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches