Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0007961/0.0007961, allocations: 72.55 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00085/0.00085, allocations: 177.9 kB / 23.21 MB, free: 1.344 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8682/0.8682, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.65/1.65, allocations: 359 MB / 0.6044 GB, free: 11.12 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") translateModel(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.432e-06/1.432e-06, allocations: 0 / 0.9517 GB, free: 3.062 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.162e-05/2.305e-05, allocations: 4.953 kB / 0.9517 GB, free: 3.059 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.003371/0.003394, allocations: 3.98 MB / 0.9556 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.002915/0.006309, allocations: 2.848 MB / 0.9583 GB, free: 12.19 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002593/0.006568, allocations: 31.69 kB / 0.9584 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0008818/0.00745, allocations: 349.6 kB / 0.9587 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.000813/0.008263, allocations: 0.719 MB / 0.9594 GB, free: 11.09 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007815/0.009044, allocations: 0.6649 MB / 0.9601 GB, free: 10.43 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001078/0.01012, allocations: 1.94 MB / 0.962 GB, free: 8.48 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001804/0.0103, allocations: 118.4 kB / 0.9621 GB, free: 8.352 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006592/0.01096, allocations: 0.8185 MB / 0.9629 GB, free: 7.531 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005337/0.0115, allocations: 0.6195 MB / 0.9635 GB, free: 6.91 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 7.777e-05/0.01157, allocations: 80 kB / 0.9635 GB, free: 6.832 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003932/0.01197, allocations: 415.3 kB / 0.9639 GB, free: 6.426 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002903/0.01226, allocations: 0.4986 MB / 0.9644 GB, free: 5.926 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002654/0.01252, allocations: 419 kB / 0.9648 GB, free: 5.516 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001234/0.01376, allocations: 1.507 MB / 0.9663 GB, free: 4.004 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.01376, allocations: 3.938 kB / 0.9663 GB, free: 4 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.002e-06/0.01376, allocations: 0 / 0.9663 GB, free: 4 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 9.979e-06/0.01377, allocations: 0 / 0.9663 GB, free: 4 MB / 0.9167 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.001653/0.01542, allocations: 1.594 MB / 0.9679 GB, free: 2.367 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.01546, allocations: 8.031 kB / 0.9679 GB, free: 2.359 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002248/0.01568, allocations: 148 kB / 0.968 GB, free: 2.215 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008089/0.01649, allocations: 0.7851 MB / 0.9688 GB, free: 1.391 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.516e-05/0.01651, allocations: 45.31 kB / 0.9688 GB, free: 1.348 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.479e-05/0.01658, allocations: 64.38 kB / 0.9689 GB, free: 1.285 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005288/0.01711, allocations: 0.6105 MB / 0.9695 GB, free: 0.6523 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.01712, allocations: 192 / 0.9695 GB, free: 0.6523 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.635e-05/0.01715, allocations: 24.12 kB / 0.9695 GB, free: 0.6289 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.01716, allocations: 12 kB / 0.9695 GB, free: 0.6172 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004684/0.01762, allocations: 0.5582 MB / 0.9701 GB, free: 64 kB / 0.9167 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.002186/0.01981, allocations: 2.231 MB / 0.9722 GB, free: 13.78 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/0.02085, allocations: 0.8088 MB / 0.973 GB, free: 12.96 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002696/0.02112, allocations: 337.4 kB / 0.9734 GB, free: 12.63 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 5.114e-05/0.02117, allocations: 28.34 kB / 0.9734 GB, free: 12.6 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.721e-05/0.02119, allocations: 38.94 kB / 0.9734 GB, free: 12.55 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=45): time 1.763e-06/0.02119, allocations: 4 kB / 0.9734 GB, free: 12.55 MB / 0.9323 GB Notification: Performance of matching and sorting (n=45): time 0.00106/0.02225, allocations: 1.115 MB / 0.9745 GB, free: 11.43 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.02228, allocations: 55.41 kB / 0.9746 GB, free: 11.36 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009376/0.02322, allocations: 1.251 MB / 0.9758 GB, free: 10.1 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 3.353e-05/0.02325, allocations: 41.64 kB / 0.9758 GB, free: 10.05 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002279/0.02348, allocations: 461.4 kB / 0.9763 GB, free: 9.594 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 9.54e-05/0.02357, allocations: 186.4 kB / 0.9764 GB, free: 9.41 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/0.02372, allocations: 214.6 kB / 0.9766 GB, free: 9.195 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 8.341e-05/0.0238, allocations: 349.9 kB / 0.977 GB, free: 8.848 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004823/0.02429, allocations: 0.6387 MB / 0.9776 GB, free: 8.211 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005995/0.02489, allocations: 0.9749 MB / 0.9786 GB, free: 7.094 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001286/0.02617, allocations: 1.588 MB / 0.9801 GB, free: 5.359 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.02618, allocations: 4 kB / 0.9801 GB, free: 5.355 MB / 0.9323 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001355/0.02753, allocations: 1.791 MB / 0.9819 GB, free: 3.551 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.02755, allocations: 12 kB / 0.9819 GB, free: 3.539 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/0.02757, allocations: 12 kB / 0.9819 GB, free: 3.527 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000138/0.0277, allocations: 44.83 kB / 0.9819 GB, free: 3.48 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005441/0.02825, allocations: 264 kB / 0.9822 GB, free: 3.223 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002534/0.03078, allocations: 6.706 MB / 0.9887 GB, free: 12.23 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004287/0.03121, allocations: 139 kB / 0.9889 GB, free: 12.09 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.494e-05/0.03125, allocations: 36 kB / 0.9889 GB, free: 12.06 MB / 0.948 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.0002396/0.03148, allocations: 310.4 kB / 0.9892 GB, free: 11.75 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.078e-05/0.03158, allocations: 123.2 kB / 0.9893 GB, free: 11.62 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000714/0.03229, allocations: 0.8466 MB / 0.9901 GB, free: 10.76 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.03229, allocations: 7.938 kB / 0.9901 GB, free: 10.75 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.0323, allocations: 0 / 0.9901 GB, free: 10.75 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.87e-06/0.0323, allocations: 3.984 kB / 0.9901 GB, free: 10.75 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005245/0.03283, allocations: 0.6756 MB / 0.9908 GB, free: 10.05 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.03283, allocations: 0 / 0.9908 GB, free: 10.05 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002499/0.03308, allocations: 111.8 kB / 0.9909 GB, free: 9.938 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.824e-05/0.03315, allocations: 32.84 kB / 0.9909 GB, free: 9.902 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.412e-05/0.03317, allocations: 15.98 kB / 0.991 GB, free: 9.887 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005375/0.03371, allocations: 1.311 MB / 0.9922 GB, free: 8.477 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.03371, allocations: 0 / 0.9922 GB, free: 8.477 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001018/0.03473, allocations: 1.382 MB / 0.9936 GB, free: 7.078 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004911/0.03522, allocations: 195 kB / 0.9938 GB, free: 6.887 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.784e-05/0.03529, allocations: 19.98 kB / 0.9938 GB, free: 6.867 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002765/0.03556, allocations: 23.97 kB / 0.9938 GB, free: 6.844 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.9e-05/0.03561, allocations: 31.94 kB / 0.9938 GB, free: 6.812 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.477e-05/0.03563, allocations: 12 kB / 0.9939 GB, free: 6.801 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0006797/0.03631, allocations: 0.8271 MB / 0.9947 GB, free: 5.969 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.03631, allocations: 0 / 0.9947 GB, free: 5.969 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005647/0.03687, allocations: 379.6 kB / 0.995 GB, free: 5.598 MB / 0.948 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.0003615/0.03723, allocations: 280.9 kB / 0.9953 GB, free: 5.312 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001326/0.03856, allocations: 1.39 MB / 0.9966 GB, free: 3.895 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.03856, allocations: 4.062 kB / 0.9967 GB, free: 3.891 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003351/0.03889, allocations: 470.4 kB / 0.9971 GB, free: 3.418 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006187/0.03951, allocations: 238.6 kB / 0.9973 GB, free: 3.188 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002042/0.04156, allocations: 2.348 MB / 0.9996 GB, free: 0.8125 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003165/0.04187, allocations: 0.5029 MB / 1 GB, free: 284 kB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001547/0.04203, allocations: 72.48 kB / 1 GB, free: 212 kB / 0.948 GB Notification: Performance of SimCode: time 7.72e-07/0.04203, allocations: 0 / 1 GB, free: 212 kB / 0.948 GB Notification: Performance of Templates: time 0.02085/0.06288, allocations: 31.55 MB / 1.031 GB, free: 0.6953 MB / 0.9792 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile [Timeout 300] (rm -f Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.20422494970262]