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.00152/0.00152, allocations: 105 kB / 16.41 MB, free: 6.457 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.001718/0.001718, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.331/1.331, allocations: 222.9 MB / 241 MB, free: 15.1 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.259/2.259, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 67.91 kB / 0.9515 GB, free: 7.688 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8971/0.8985, allocations: 140.4 MB / 1.089 GB, free: 5.793 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.005441/0.904, allocations: 4.355 MB / 1.093 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.005081/0.9092, allocations: 2.938 MB / 1.096 GB, free: 0.6758 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008115/0.91, allocations: 20.53 kB / 1.096 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.00115/0.9112, allocations: 359.5 kB / 1.096 GB, free: 492 kB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.001649/0.9128, allocations: 0.6495 MB / 1.097 GB, free: 120 kB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002096/0.915, allocations: 0.6343 MB / 1.097 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.003506/0.9185, allocations: 1.887 MB / 1.099 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004172/0.9189, allocations: 185 kB / 1.099 GB, free: 14.95 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001482/0.9204, allocations: 0.5951 MB / 1.1 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001397/0.9218, allocations: 0.663 MB / 1.101 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0002283/0.9221, allocations: 75.72 kB / 1.101 GB, free: 14.44 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001193/0.9233, allocations: 416.7 kB / 1.101 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0006982/0.924, allocations: 457.5 kB / 1.101 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0008994/0.9249, allocations: 0.6026 MB / 1.102 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.002681/0.9276, allocations: 1.472 MB / 1.103 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.9276, allocations: 0 / 1.103 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of FrontEnd: time 2.815e-06/0.9276, allocations: 0.7031 kB / 1.103 GB, free: 13.28 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.929e-05/0.9276, allocations: 0 / 1.103 GB, free: 13.28 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.003702/0.9314, allocations: 1.622 MB / 1.105 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.9314, allocations: 8.938 kB / 1.105 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00031/0.9317, allocations: 132.6 kB / 1.105 GB, free: 12.18 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001507/0.9332, allocations: 0.8409 MB / 1.106 GB, free: 11.64 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.357e-05/0.9333, allocations: 48.38 kB / 1.106 GB, free: 11.62 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.9334, allocations: 65.58 kB / 1.106 GB, free: 11.6 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.9345, allocations: 0.6219 MB / 1.107 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.9345, allocations: 0.5625 kB / 1.107 GB, free: 11.34 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.172e-05/0.9346, allocations: 15.5 kB / 1.107 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.441e-05/0.9346, allocations: 10.66 kB / 1.107 GB, free: 11.33 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008694/0.9355, allocations: 0.5558 MB / 1.107 GB, free: 11.21 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.005368/0.9408, allocations: 3.272 MB / 1.111 GB, free: 9.074 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001586/0.9424, allocations: 0.8508 MB / 1.111 GB, free: 8.82 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005396/0.943, allocations: 359.1 kB / 1.112 GB, free: 8.727 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 7.712e-05/0.9431, allocations: 28 kB / 1.112 GB, free: 8.719 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.9431, allocations: 38.98 kB / 1.112 GB, free: 8.676 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=45): time 2.404e-06/0.9431, allocations: 0 / 1.112 GB, free: 8.676 MB / 0.8731 GB Notification: Performance of matching and sorting (n=45): time 0.002147/0.9453, allocations: 1.182 MB / 1.113 GB, free: 8.25 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/0.9453, allocations: 57.11 kB / 1.113 GB, free: 8.188 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001914/0.9472, allocations: 1.225 MB / 1.114 GB, free: 7.711 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 9.444e-05/0.9474, allocations: 42.2 kB / 1.114 GB, free: 7.668 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003858/0.9477, allocations: 468.5 kB / 1.115 GB, free: 7.301 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002189/0.948, allocations: 173.5 kB / 1.115 GB, free: 7.164 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002773/0.9483, allocations: 208.3 kB / 1.115 GB, free: 7.074 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.9484, allocations: 352.9 kB / 1.115 GB, free: 6.75 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008463/0.9493, allocations: 0.6492 MB / 1.116 GB, free: 6.547 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001089/0.9504, allocations: 0.9688 MB / 1.117 GB, free: 5.938 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001892/0.9523, allocations: 1.588 MB / 1.118 GB, free: 5.051 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.859e-06/0.9523, allocations: 3.594 kB / 1.118 GB, free: 5.051 MB / 0.8731 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.002769/0.9551, allocations: 1.78 MB / 1.12 GB, free: 4.398 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.884e-05/0.9551, allocations: 13.38 kB / 1.12 GB, free: 4.398 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.562e-05/0.9551, allocations: 13.08 kB / 1.12 GB, free: 4.398 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002379/0.9554, allocations: 48.67 kB / 1.12 GB, free: 4.383 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/0.9566, allocations: 265.8 kB / 1.121 GB, free: 4.363 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004348/0.9609, allocations: 6.827 MB / 1.127 GB, free: 14.03 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001541/0.9625, allocations: 140.1 kB / 1.127 GB, free: 13.94 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.536e-05/0.9626, allocations: 36.66 kB / 1.127 GB, free: 13.93 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.0005261/0.9631, allocations: 305.4 kB / 1.128 GB, free: 13.73 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002178/0.9633, allocations: 115.5 kB / 1.128 GB, free: 13.67 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001364/0.9647, allocations: 0.8403 MB / 1.129 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.814e-06/0.9647, allocations: 4.219 kB / 1.129 GB, free: 13.39 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.9647, allocations: 4 kB / 1.129 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.9648, allocations: 4.266 kB / 1.129 GB, free: 13.38 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001478/0.9662, allocations: 0.9127 MB / 1.13 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.9663, allocations: 0 / 1.13 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000532/0.9668, allocations: 110.6 kB / 1.13 GB, free: 12.96 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001403/0.9669, allocations: 35.84 kB / 1.13 GB, free: 12.94 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.335e-05/0.967, allocations: 21.09 kB / 1.13 GB, free: 12.93 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001053/0.9681, allocations: 1.431 MB / 1.131 GB, free: 11.52 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.568e-06/0.9681, allocations: 0 / 1.131 GB, free: 11.52 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002071/0.9702, allocations: 1.369 MB / 1.132 GB, free: 11.01 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005468/0.9707, allocations: 261.8 kB / 1.133 GB, free: 10.82 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001395/0.9709, allocations: 19.14 kB / 1.133 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005758/0.9714, allocations: 28.97 kB / 1.133 GB, free: 10.8 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.747e-05/0.9716, allocations: 26.84 kB / 1.133 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.012e-05/0.9716, allocations: 14.5 kB / 1.133 GB, free: 10.79 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.001415/0.973, allocations: 0.8242 MB / 1.134 GB, free: 10.46 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.91e-07/0.973, allocations: 0 / 1.134 GB, free: 10.46 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.001524/0.9745, allocations: 366.6 kB / 1.134 GB, free: 10.42 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.000617/0.9752, allocations: 277.4 kB / 1.134 GB, free: 10.29 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.002889/0.9781, allocations: 1.499 MB / 1.136 GB, free: 9.707 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 3.877e-06/0.9781, allocations: 0 / 1.136 GB, free: 9.707 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0006325/0.9787, allocations: 479.2 kB / 1.136 GB, free: 9.508 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001305/0.98, allocations: 223.7 kB / 1.136 GB, free: 9.414 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004134/0.9842, allocations: 2.577 MB / 1.139 GB, free: 7.961 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009062/0.9851, allocations: 1.1 MB / 1.14 GB, free: 7.227 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004476/0.9856, allocations: 74.56 kB / 1.14 GB, free: 7.211 MB / 0.8887 GB Notification: Performance of SimCode: time 8.51e-07/0.9856, allocations: 0 / 1.14 GB, free: 7.211 MB / 0.8887 GB Notification: Performance of Templates: time 0.04844/1.034, allocations: 30.81 MB / 1.17 GB, free: 9.34 MB / 0.9044 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches