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.006627/0.006627, allocations: 96.62 kB / 15.73 MB, free: 6.043 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.001278/0.001278, allocations: 193.2 kB / 16.67 MB, free: 5.969 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.369/1.369, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.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.58/2.58, allocations: 437 MB / 0.7105 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 63.89 kB / 1.019 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.3698, allocations: 151.6 MB / 1.167 GB, free: 6.828 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.006083/0.3759, allocations: 4.363 MB / 1.171 GB, free: 2.43 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00539/0.3813, allocations: 2.942 MB / 1.174 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000886/0.3822, allocations: 19.88 kB / 1.174 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.001297/0.3835, allocations: 365.7 kB / 1.174 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.001751/0.3854, allocations: 0.6415 MB / 1.175 GB, free: 14.45 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0018/0.3872, allocations: 0.6424 MB / 1.175 GB, free: 13.81 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.002328/0.3895, allocations: 1.882 MB / 1.177 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003049/0.3898, allocations: 181.8 kB / 1.177 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009832/0.3908, allocations: 0.5957 MB / 1.178 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000862/0.3917, allocations: 0.6577 MB / 1.179 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.0001285/0.3918, allocations: 76 kB / 1.179 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007123/0.3926, allocations: 411.4 kB / 1.179 GB, free: 10 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0004843/0.393, allocations: 462.7 kB / 1.179 GB, free: 9.547 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0005695/0.3936, allocations: 0.6061 MB / 1.18 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001551/0.3952, allocations: 1.475 MB / 1.182 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/0.3952, allocations: 0 / 1.182 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.863e-06/0.3952, allocations: 0 / 1.182 GB, free: 7.457 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.375e-05/0.3952, allocations: 0 / 1.182 GB, free: 7.457 MB / 0.9356 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.002853/0.3981, allocations: 1.669 MB / 1.183 GB, free: 5.734 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.636e-05/0.3981, allocations: 11.98 kB / 1.183 GB, free: 5.723 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002191/0.3984, allocations: 140 kB / 1.183 GB, free: 5.586 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001373/0.3998, allocations: 0.8475 MB / 1.184 GB, free: 4.688 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.486e-05/0.3998, allocations: 49.31 kB / 1.184 GB, free: 4.641 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001005/0.3999, allocations: 64.36 kB / 1.184 GB, free: 4.578 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008461/0.4008, allocations: 0.6178 MB / 1.185 GB, free: 3.938 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.4008, allocations: 0 / 1.185 GB, free: 3.938 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.066e-05/0.4008, allocations: 20 kB / 1.185 GB, free: 3.918 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.148e-05/0.4008, allocations: 8 kB / 1.185 GB, free: 3.91 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007323/0.4016, allocations: 0.5582 MB / 1.185 GB, free: 3.355 MB / 0.9356 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.004373/0.406, allocations: 3.275 MB / 1.189 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00133/0.4073, allocations: 0.8482 MB / 1.189 GB, free: 14.97 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004556/0.4078, allocations: 365.4 kB / 1.19 GB, free: 14.61 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 7.665e-05/0.4079, allocations: 28.3 kB / 1.19 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.4079, allocations: 38.94 kB / 1.19 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=45): time 2.665e-06/0.4079, allocations: 0 / 1.19 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of matching and sorting (n=45): time 0.001738/0.4097, allocations: 1.187 MB / 1.191 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.4097, allocations: 55.41 kB / 1.191 GB, free: 13.26 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001593/0.4113, allocations: 1.235 MB / 1.192 GB, free: 12.01 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 4.971e-05/0.4114, allocations: 41.7 kB / 1.192 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003692/0.4117, allocations: 477.2 kB / 1.193 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001963/0.4119, allocations: 178.4 kB / 1.193 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002917/0.4122, allocations: 210.6 kB / 1.193 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.4124, allocations: 349.9 kB / 1.193 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007816/0.4132, allocations: 0.6426 MB / 1.194 GB, free: 10.12 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001019/0.4142, allocations: 0.9747 MB / 1.195 GB, free: 8.992 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001707/0.4159, allocations: 1.582 MB / 1.197 GB, free: 7.27 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.416, allocations: 4 kB / 1.197 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002302/0.4183, allocations: 1.784 MB / 1.198 GB, free: 5.469 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 3.011e-05/0.4183, allocations: 15.98 kB / 1.198 GB, free: 5.453 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.818e-05/0.4183, allocations: 16 kB / 1.198 GB, free: 5.438 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002078/0.4186, allocations: 40.84 kB / 1.198 GB, free: 5.395 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001141/0.4197, allocations: 267.9 kB / 1.199 GB, free: 5.133 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004066/0.4238, allocations: 6.844 MB / 1.205 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/0.425, allocations: 131 kB / 1.205 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.899e-05/0.425, allocations: 40 kB / 1.205 GB, free: 13.8 MB / 0.9669 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.0004602/0.4255, allocations: 309.6 kB / 1.206 GB, free: 13.48 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001765/0.4257, allocations: 119.1 kB / 1.206 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001183/0.4269, allocations: 0.8349 MB / 1.207 GB, free: 12.52 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.4269, allocations: 4 kB / 1.207 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.055e-06/0.4269, allocations: 0 / 1.207 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.4269, allocations: 3.984 kB / 1.207 GB, free: 12.51 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.428, allocations: 0.9152 MB / 1.208 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.428, allocations: 0 / 1.208 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005153/0.4285, allocations: 111.9 kB / 1.208 GB, free: 11.44 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001307/0.4287, allocations: 40.7 kB / 1.208 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.99e-05/0.4287, allocations: 19.98 kB / 1.208 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001076/0.4298, allocations: 1.433 MB / 1.209 GB, free: 9.805 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.4298, allocations: 0 / 1.209 GB, free: 9.805 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001623/0.4314, allocations: 1.382 MB / 1.211 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004367/0.4319, allocations: 268.2 kB / 1.211 GB, free: 8.121 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.432, allocations: 19.88 kB / 1.211 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005298/0.4325, allocations: 27.95 kB / 1.211 GB, free: 8.074 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.994e-05/0.4326, allocations: 23.97 kB / 1.211 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.595e-05/0.4327, allocations: 16 kB / 1.211 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.001099/0.4338, allocations: 0.8232 MB / 1.212 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4338, allocations: 0 / 1.212 GB, free: 7.207 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.00108/0.4349, allocations: 363.6 kB / 1.212 GB, free: 6.852 MB / 0.9669 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.0005419/0.4354, allocations: 288.2 kB / 1.212 GB, free: 6.559 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002431/0.4379, allocations: 1.494 MB / 1.214 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.4379, allocations: 0 / 1.214 GB, free: 5.043 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0005597/0.4384, allocations: 487.8 kB / 1.214 GB, free: 4.555 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001084/0.4395, allocations: 230.9 kB / 1.214 GB, free: 4.332 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003411/0.443, allocations: 2.548 MB / 1.217 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006649/0.4436, allocations: 1.098 MB / 1.218 GB, free: 0.6328 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.000505/0.4442, allocations: 207.1 kB / 1.218 GB, free: 436 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001936/0.4444, allocations: 63.44 kB / 1.218 GB, free: 372 kB / 0.9669 GB Notification: Performance of SimCode: time 1.193e-06/0.4444, allocations: 4 kB / 1.218 GB, free: 368 kB / 0.9669 GB Notification: Performance of Templates: time 0.02724/0.4716, allocations: 14.69 MB / 1.233 GB, free: 1.836 MB / 0.9825 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=480 -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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches