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.001076/0.001076, allocations: 91.53 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001544/0.001545, allocations: 181.6 kB / 16.92 MB, free: 6.926 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.36/1.36, allocations: 223.3 MB / 241 MB, free: 5.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.811/2.811, allocations: 462.6 MB / 0.737 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003158/0.0003159, allocations: 8.219 kB / 0.9034 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3609/0.3612, allocations: 159.6 MB / 1.059 GB, free: 4.957 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005248/0.3665, allocations: 3.984 MB / 1.063 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.006008/0.3725, allocations: 2.938 MB / 1.066 GB, free: 14 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000876/0.3734, allocations: 19.88 kB / 1.066 GB, free: 13.98 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001437/0.3749, allocations: 330.2 kB / 1.066 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.001766/0.3767, allocations: 0.5912 MB / 1.067 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.001729/0.3784, allocations: 0.5569 MB / 1.068 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.00287/0.3813, allocations: 2.19 MB / 1.07 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003668/0.3817, allocations: 157.9 kB / 1.07 GB, free: 10.15 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001086/0.3828, allocations: 0.5096 MB / 1.07 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001285/0.3841, allocations: 0.6694 MB / 1.071 GB, free: 8.965 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 0.0002539/0.3844, allocations: 44 kB / 1.071 GB, free: 8.922 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009663/0.3854, allocations: 399.4 kB / 1.071 GB, free: 8.531 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0005851/0.386, allocations: 418.7 kB / 1.072 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000874/0.3869, allocations: 0.5766 MB / 1.072 GB, free: 7.535 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001409/0.3883, allocations: 1.075 MB / 1.073 GB, free: 6.457 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3883, allocations: 3.984 kB / 1.073 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3883, allocations: 0 / 1.073 GB, free: 6.453 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.404e-05/0.3884, allocations: 0 / 1.073 GB, free: 6.453 MB / 0.8262 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.003316/0.3917, allocations: 1.461 MB / 1.075 GB, free: 4.938 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.3918, allocations: 15.97 kB / 1.075 GB, free: 4.922 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002755/0.392, allocations: 135.3 kB / 1.075 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001592/0.3937, allocations: 0.8153 MB / 1.076 GB, free: 3.922 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.567e-05/0.3938, allocations: 41.38 kB / 1.076 GB, free: 3.879 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001535/0.3939, allocations: 64.38 kB / 1.076 GB, free: 3.816 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001107/0.3951, allocations: 0.6139 MB / 1.076 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.3951, allocations: 4 kB / 1.076 GB, free: 3.176 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.919e-05/0.3951, allocations: 20 kB / 1.076 GB, free: 3.156 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.145e-05/0.3951, allocations: 12 kB / 1.076 GB, free: 3.145 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008875/0.396, allocations: 0.5582 MB / 1.077 GB, free: 2.586 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.00542/0.4015, allocations: 3.306 MB / 1.08 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001544/0.403, allocations: 0.8439 MB / 1.081 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004956/0.4035, allocations: 365.4 kB / 1.081 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 6.454e-05/0.4036, allocations: 24.3 kB / 1.081 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.542e-05/0.4036, allocations: 42.94 kB / 1.082 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=45): time 1.964e-06/0.4036, allocations: 0 / 1.082 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of matching and sorting (n=45): time 0.002047/0.4057, allocations: 1.186 MB / 1.083 GB, free: 12.53 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.075e-05/0.4057, allocations: 55.41 kB / 1.083 GB, free: 12.46 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00194/0.4077, allocations: 1.231 MB / 1.084 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 4.583e-05/0.4077, allocations: 41.7 kB / 1.084 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004334/0.4082, allocations: 472.7 kB / 1.084 GB, free: 10.71 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002356/0.4084, allocations: 173.4 kB / 1.085 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001252/0.4086, allocations: 125.6 kB / 1.085 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001171/0.4087, allocations: 349.9 kB / 1.085 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009599/0.4096, allocations: 0.6465 MB / 1.086 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/0.4107, allocations: 0.9708 MB / 1.087 GB, free: 8.301 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002049/0.4128, allocations: 1.59 MB / 1.088 GB, free: 6.57 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.053e-06/0.4128, allocations: 4 kB / 1.088 GB, free: 6.566 MB / 0.8419 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002785/0.4156, allocations: 1.783 MB / 1.09 GB, free: 4.77 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.362e-05/0.4156, allocations: 17.08 kB / 1.09 GB, free: 4.754 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.729e-05/0.4157, allocations: 12 kB / 1.09 GB, free: 4.742 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002914/0.4159, allocations: 49.38 kB / 1.09 GB, free: 4.691 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/0.4173, allocations: 267.6 kB / 1.09 GB, free: 4.43 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00469/0.422, allocations: 6.737 MB / 1.097 GB, free: 13.38 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/0.4232, allocations: 131 kB / 1.097 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.406e-05/0.4233, allocations: 44 kB / 1.097 GB, free: 13.2 MB / 0.8575 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.0005256/0.4238, allocations: 306.1 kB / 1.097 GB, free: 12.89 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002957/0.4241, allocations: 114.5 kB / 1.097 GB, free: 12.78 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00151/0.4256, allocations: 0.8464 MB / 1.098 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.871e-06/0.4256, allocations: 4 kB / 1.098 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.4256, allocations: 0 / 1.098 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.188e-05/0.4257, allocations: 3.984 kB / 1.098 GB, free: 11.91 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001342/0.427, allocations: 0.9151 MB / 1.099 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.427, allocations: 3.938 kB / 1.099 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006034/0.4277, allocations: 115.8 kB / 1.099 GB, free: 10.84 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001749/0.4278, allocations: 36.77 kB / 1.099 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.937e-05/0.4279, allocations: 19.98 kB / 1.099 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001126/0.429, allocations: 1.331 MB / 1.101 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.429, allocations: 0 / 1.101 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00184/0.4309, allocations: 1.374 MB / 1.102 GB, free: 7.922 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005135/0.4314, allocations: 255.5 kB / 1.102 GB, free: 7.652 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/0.4316, allocations: 20.09 kB / 1.102 GB, free: 7.633 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006694/0.4322, allocations: 39.75 kB / 1.102 GB, free: 7.594 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.4324, allocations: 27.95 kB / 1.102 GB, free: 7.566 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.352e-05/0.4324, allocations: 16 kB / 1.102 GB, free: 7.551 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001267/0.4337, allocations: 0.8232 MB / 1.103 GB, free: 6.723 MB / 0.8575 GB Notification: Performance of sort global known variables: time 3.7e-07/0.4337, allocations: 0 / 1.103 GB, free: 6.723 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001204/0.4349, allocations: 371.6 kB / 1.103 GB, free: 6.359 MB / 0.8575 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.0006566/0.4356, allocations: 276.1 kB / 1.104 GB, free: 6.078 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.002981/0.4386, allocations: 1.504 MB / 1.105 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.4386, allocations: 0 / 1.105 GB, free: 4.555 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0006255/0.4392, allocations: 482.6 kB / 1.106 GB, free: 4.07 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001344/0.4406, allocations: 212.5 kB / 1.106 GB, free: 3.859 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004681/0.4453, allocations: 3.12 MB / 1.109 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008657/0.4462, allocations: 1.098 MB / 1.11 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003206/0.4465, allocations: 67.38 kB / 1.11 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/0.4465, allocations: 0 / 1.11 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of Templates: time 0.04336/0.4899, allocations: 30.56 MB / 1.14 GB, free: 0.9922 MB / 0.8887 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 -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