Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.00807/0.00807, allocations: 101.4 kB / 15.73 MB, free: 6.008 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.001899/0.001899, allocations: 188.3 kB / 16.67 MB, free: 5.93 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.352/2.352, allocations: 390.2 MB / 0.6648 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 63.89 kB / 0.9508 GB, free: 7.734 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9691/0.9704, allocations: 140.4 MB / 1.088 GB, free: 5.551 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005307/0.9758, allocations: 4.356 MB / 1.092 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00516/0.981, allocations: 2.938 MB / 1.095 GB, free: 448 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005592/0.9815, allocations: 20.5 kB / 1.095 GB, free: 440 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001198/0.9828, allocations: 366.1 kB / 1.095 GB, free: 244 kB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0022/0.985, allocations: 0.6608 MB / 1.096 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.003101/0.9881, allocations: 0.631 MB / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.005335/0.9935, allocations: 1.887 MB / 1.098 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003991/0.9939, allocations: 181.8 kB / 1.099 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00122/0.9951, allocations: 0.5985 MB / 1.099 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001098/0.9962, allocations: 0.655 MB / 1.1 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001571/0.9964, allocations: 76.09 kB / 1.1 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009657/0.9974, allocations: 416.9 kB / 1.1 GB, free: 14.09 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0006516/0.998, allocations: 464.5 kB / 1.101 GB, free: 13.93 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0007766/0.9988, allocations: 0.6071 MB / 1.101 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002357/1.001, allocations: 1.467 MB / 1.103 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/1.001, allocations: 0 / 1.103 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.923e-06/1.001, allocations: 1.125 kB / 1.103 GB, free: 13.04 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.101e-05/1.001, allocations: 0 / 1.103 GB, free: 13.04 MB / 0.8731 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.003409/1.005, allocations: 1.626 MB / 1.104 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.405e-05/1.005, allocations: 9.125 kB / 1.104 GB, free: 11.99 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002502/1.005, allocations: 132.1 kB / 1.105 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001565/1.007, allocations: 0.8408 MB / 1.105 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.38e-05/1.007, allocations: 44.03 kB / 1.105 GB, free: 11.38 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001207/1.007, allocations: 61.31 kB / 1.105 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001086/1.008, allocations: 0.6186 MB / 1.106 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.82e-05/1.008, allocations: 0 / 1.106 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.446e-05/1.008, allocations: 16.7 kB / 1.106 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/1.008, allocations: 11.03 kB / 1.106 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009774/1.009, allocations: 0.5593 MB / 1.107 GB, free: 10.96 MB / 0.8731 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.005315/1.014, allocations: 3.28 MB / 1.11 GB, free: 8.824 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/1.016, allocations: 0.8351 MB / 1.111 GB, free: 8.586 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006255/1.017, allocations: 365 kB / 1.111 GB, free: 8.488 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 9.231e-05/1.017, allocations: 24.84 kB / 1.111 GB, free: 8.484 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/1.017, allocations: 40.95 kB / 1.111 GB, free: 8.438 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=45): time 3.156e-06/1.017, allocations: 1.062 kB / 1.111 GB, free: 8.438 MB / 0.8731 GB Notification: Performance of matching and sorting (n=45): time 0.00219/1.019, allocations: 1.183 MB / 1.112 GB, free: 8.012 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/1.019, allocations: 56.5 kB / 1.112 GB, free: 7.949 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002087/1.021, allocations: 1.23 MB / 1.113 GB, free: 7.469 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.152e-05/1.021, allocations: 40.83 kB / 1.114 GB, free: 7.426 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004389/1.022, allocations: 464.2 kB / 1.114 GB, free: 7.062 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002283/1.022, allocations: 175 kB / 1.114 GB, free: 6.926 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003464/1.022, allocations: 211.7 kB / 1.114 GB, free: 6.832 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001738/1.022, allocations: 351.7 kB / 1.115 GB, free: 6.508 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001012/1.023, allocations: 0.6425 MB / 1.115 GB, free: 6.312 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001318/1.025, allocations: 0.9717 MB / 1.116 GB, free: 5.699 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002166/1.027, allocations: 1.592 MB / 1.118 GB, free: 4.809 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.11e-05/1.027, allocations: 4.344 kB / 1.118 GB, free: 4.809 MB / 0.8731 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003329/1.03, allocations: 1.78 MB / 1.12 GB, free: 4.156 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.644e-05/1.03, allocations: 11.31 kB / 1.12 GB, free: 4.156 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.096e-05/1.03, allocations: 11.69 kB / 1.12 GB, free: 4.156 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002795/1.031, allocations: 44.67 kB / 1.12 GB, free: 4.145 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/1.032, allocations: 267.2 kB / 1.12 GB, free: 4.125 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004909/1.037, allocations: 6.835 MB / 1.127 GB, free: 13.78 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/1.039, allocations: 126 kB / 1.127 GB, free: 13.7 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.741e-05/1.039, allocations: 38.27 kB / 1.127 GB, free: 13.7 MB / 0.8887 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.0007335/1.039, allocations: 313.8 kB / 1.127 GB, free: 13.49 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003018/1.04, allocations: 119.7 kB / 1.127 GB, free: 13.42 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001454/1.041, allocations: 0.8401 MB / 1.128 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.744e-06/1.041, allocations: 4.438 kB / 1.128 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/1.041, allocations: 1.75 kB / 1.128 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.79e-05/1.041, allocations: 2.203 kB / 1.128 GB, free: 13.14 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001569/1.043, allocations: 0.9133 MB / 1.129 GB, free: 12.72 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.939e-06/1.043, allocations: 6.141 kB / 1.129 GB, free: 12.71 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005649/1.043, allocations: 109.9 kB / 1.129 GB, free: 12.71 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001479/1.044, allocations: 30.92 kB / 1.129 GB, free: 12.7 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.822e-05/1.044, allocations: 17.19 kB / 1.129 GB, free: 12.69 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001252/1.045, allocations: 1.435 MB / 1.13 GB, free: 11.27 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/1.045, allocations: 1.156 kB / 1.13 GB, free: 11.27 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002141/1.047, allocations: 1.369 MB / 1.132 GB, free: 10.76 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005234/1.048, allocations: 265.9 kB / 1.132 GB, free: 10.57 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/1.048, allocations: 16.06 kB / 1.132 GB, free: 10.56 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005778/1.048, allocations: 27.41 kB / 1.132 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/1.048, allocations: 27.88 kB / 1.132 GB, free: 10.55 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.067e-05/1.048, allocations: 14.66 kB / 1.132 GB, free: 10.54 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001703/1.05, allocations: 0.8227 MB / 1.133 GB, free: 10.22 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/1.05, allocations: 0 / 1.133 GB, free: 10.22 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.002064/1.052, allocations: 368 kB / 1.133 GB, free: 10.17 MB / 0.8887 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.0007601/1.053, allocations: 270.6 kB / 1.133 GB, free: 10.05 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003682/1.057, allocations: 1.501 MB / 1.135 GB, free: 9.465 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/1.057, allocations: 0 / 1.135 GB, free: 9.465 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0008077/1.058, allocations: 477 kB / 1.135 GB, free: 9.27 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/1.059, allocations: 232.5 kB / 1.136 GB, free: 9.164 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004809/1.064, allocations: 2.524 MB / 1.138 GB, free: 7.754 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009787/1.065, allocations: 1.101 MB / 1.139 GB, free: 7.02 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0007095/1.065, allocations: 202.1 kB / 1.139 GB, free: 6.992 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002256/1.066, allocations: 63.83 kB / 1.139 GB, free: 6.984 MB / 0.8887 GB Notification: Performance of SimCode: time 9.31e-07/1.066, allocations: 3.938 kB / 1.139 GB, free: 6.98 MB / 0.8887 GB Notification: Performance of Templates: time 0.03585/1.102, allocations: 14.7 MB / 1.154 GB, free: 2.547 MB / 0.8887 GB make -j1 -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile (rm -f Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches