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.006089/0.006089, allocations: 101.9 kB / 15.73 MB, free: 6.062 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.001312/0.001312, allocations: 192.2 kB / 16.67 MB, free: 5.973 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.392/1.392, 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.296/2.296, allocations: 390.2 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 63.91 kB / 0.9508 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.073/1.074, allocations: 140.4 MB / 1.088 GB, free: 5.508 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005803/1.08, allocations: 4.35 MB / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005358/1.085, allocations: 2.942 MB / 1.095 GB, free: 404 kB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007683/1.086, allocations: 21.56 kB / 1.095 GB, free: 396 kB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001135/1.087, allocations: 360 kB / 1.095 GB, free: 204 kB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001757/1.089, allocations: 0.645 MB / 1.096 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002092/1.091, allocations: 0.6417 MB / 1.097 GB, free: 15.55 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.00314/1.094, allocations: 1.887 MB / 1.098 GB, free: 14.77 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003729/1.095, allocations: 176.8 kB / 1.099 GB, free: 14.67 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001309/1.096, allocations: 0.5998 MB / 1.099 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001161/1.097, allocations: 0.658 MB / 1.1 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001712/1.097, allocations: 77 kB / 1.1 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00106/1.098, allocations: 417.2 kB / 1.1 GB, free: 14.06 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0006647/1.099, allocations: 464.5 kB / 1.101 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0007754/1.1, allocations: 0.6029 MB / 1.101 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002571/1.103, allocations: 1.475 MB / 1.103 GB, free: 13 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/1.103, allocations: 0 / 1.103 GB, free: 13 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.024e-06/1.103, allocations: 0 / 1.103 GB, free: 13 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 2.973e-05/1.103, allocations: 0 / 1.103 GB, free: 13 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.003601/1.106, allocations: 1.661 MB / 1.104 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/1.106, allocations: 8.969 kB / 1.104 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002646/1.107, allocations: 144 kB / 1.105 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00162/1.108, allocations: 0.8546 MB / 1.105 GB, free: 11.3 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.356e-05/1.108, allocations: 40.06 kB / 1.105 GB, free: 11.28 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001275/1.108, allocations: 73.95 kB / 1.106 GB, free: 11.25 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001235/1.11, allocations: 0.6179 MB / 1.106 GB, free: 11 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.546e-05/1.11, allocations: 0 / 1.106 GB, free: 11 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.941e-05/1.11, allocations: 16.91 kB / 1.106 GB, free: 10.99 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/1.11, allocations: 9.875 kB / 1.106 GB, free: 10.99 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009124/1.111, allocations: 0.5564 MB / 1.107 GB, free: 10.86 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.005406/1.116, allocations: 3.284 MB / 1.11 GB, free: 8.719 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001664/1.118, allocations: 0.8455 MB / 1.111 GB, free: 8.473 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005983/1.118, allocations: 365 kB / 1.111 GB, free: 8.375 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 8.359e-05/1.118, allocations: 36.05 kB / 1.111 GB, free: 8.359 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.889e-05/1.118, allocations: 38.09 kB / 1.111 GB, free: 8.316 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=45): time 2.285e-06/1.118, allocations: 0 / 1.111 GB, free: 8.316 MB / 0.8731 GB Notification: Performance of matching and sorting (n=45): time 0.002267/1.121, allocations: 1.18 MB / 1.112 GB, free: 7.895 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.147e-05/1.121, allocations: 56.27 kB / 1.112 GB, free: 7.832 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002125/1.123, allocations: 1.231 MB / 1.114 GB, free: 7.352 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 7.37e-05/1.123, allocations: 41.27 kB / 1.114 GB, free: 7.309 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004355/1.123, allocations: 473.1 kB / 1.114 GB, free: 6.938 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002627/1.124, allocations: 183 kB / 1.114 GB, free: 6.793 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003466/1.124, allocations: 207.6 kB / 1.114 GB, free: 6.703 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001689/1.124, allocations: 356.9 kB / 1.115 GB, free: 6.375 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009525/1.125, allocations: 0.6415 MB / 1.115 GB, free: 6.18 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001239/1.126, allocations: 0.9726 MB / 1.116 GB, free: 5.566 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002084/1.129, allocations: 1.588 MB / 1.118 GB, free: 4.68 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-05/1.129, allocations: 2.406 kB / 1.118 GB, free: 4.68 MB / 0.8731 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.003167/1.132, allocations: 1.79 MB / 1.12 GB, free: 4.02 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/1.132, allocations: 10.03 kB / 1.12 GB, free: 4.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.678e-05/1.132, allocations: 12.91 kB / 1.12 GB, free: 4.02 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000259/1.132, allocations: 48.19 kB / 1.12 GB, free: 4.004 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001248/1.133, allocations: 271.1 kB / 1.12 GB, free: 3.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00475/1.138, allocations: 6.827 MB / 1.127 GB, free: 13.64 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001558/1.14, allocations: 134.7 kB / 1.127 GB, free: 13.56 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.324e-05/1.14, allocations: 35.91 kB / 1.127 GB, free: 13.55 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.0007031/1.14, allocations: 304.9 kB / 1.127 GB, free: 13.35 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003034/1.141, allocations: 120.3 kB / 1.127 GB, free: 13.28 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/1.142, allocations: 0.8436 MB / 1.128 GB, free: 13 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.254e-06/1.142, allocations: 5.312 kB / 1.128 GB, free: 13 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/1.142, allocations: 0 / 1.128 GB, free: 13 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.808e-06/1.142, allocations: 7.578 kB / 1.128 GB, free: 12.99 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001715/1.144, allocations: 0.9063 MB / 1.129 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.59e-06/1.144, allocations: 11.94 kB / 1.129 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000546/1.145, allocations: 110.7 kB / 1.129 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001536/1.145, allocations: 34.83 kB / 1.129 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.891e-05/1.145, allocations: 13.88 kB / 1.129 GB, free: 12.55 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001343/1.146, allocations: 1.442 MB / 1.13 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/1.146, allocations: 0.5625 kB / 1.13 GB, free: 11.12 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002292/1.149, allocations: 1.366 MB / 1.132 GB, free: 10.62 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008478/1.149, allocations: 266.6 kB / 1.132 GB, free: 10.42 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00035/1.15, allocations: 20.17 kB / 1.132 GB, free: 10.41 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008341/1.151, allocations: 27.98 kB / 1.132 GB, free: 10.4 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/1.151, allocations: 27.83 kB / 1.132 GB, free: 10.4 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.204e-05/1.151, allocations: 21.91 kB / 1.132 GB, free: 10.39 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001833/1.153, allocations: 0.82 MB / 1.133 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of sort global known variables: time 3.41e-07/1.153, allocations: 0 / 1.133 GB, free: 10.07 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.00214/1.155, allocations: 370.7 kB / 1.133 GB, free: 10.02 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.001102/1.156, allocations: 277.8 kB / 1.134 GB, free: 9.883 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.003155/1.159, allocations: 1.501 MB / 1.135 GB, free: 9.301 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/1.159, allocations: 1.125 kB / 1.135 GB, free: 9.301 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0007238/1.16, allocations: 475.5 kB / 1.136 GB, free: 9.105 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00175/1.162, allocations: 229.6 kB / 1.136 GB, free: 9.004 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004829/1.166, allocations: 2.56 MB / 1.138 GB, free: 7.551 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001096/1.168, allocations: 1.098 MB / 1.139 GB, free: 6.82 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.000843/1.168, allocations: 204.3 kB / 1.14 GB, free: 6.789 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003389/1.169, allocations: 68.36 kB / 1.14 GB, free: 6.777 MB / 0.8887 GB Notification: Performance of SimCode: time 1.313e-06/1.169, allocations: 0 / 1.14 GB, free: 6.777 MB / 0.8887 GB Notification: Performance of Templates: time 0.03412/1.203, allocations: 14.69 MB / 1.154 GB, free: 2.359 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