Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001772/0.001772, allocations: 80.41 kB / 20.23 MB, free: 4.199 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.002245/0.002245, allocations: 161.7 kB / 23.55 MB, free: 0.8906 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 1.526/1.526, allocations: 177.1 MB / 203.9 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.91/2.91, allocations: 377.8 MB / 0.6232 GB, free: 8.52 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_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_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 6.772e-06/6.772e-06, allocations: 4 kB / 0.8108 GB, free: 2.148 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.976e-05/4.653e-05, allocations: 2.312 kB / 0.8108 GB, free: 2.145 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.00736/0.007406, allocations: 3.981 MB / 0.8147 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.005844/0.01325, allocations: 2.853 MB / 0.8174 GB, free: 11.32 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006728/0.01392, allocations: 27.75 kB / 0.8175 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001437/0.01536, allocations: 350.7 kB / 0.8178 GB, free: 10.95 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.002326/0.01769, allocations: 0.7214 MB / 0.8185 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.002516/0.0202, allocations: 0.6747 MB / 0.8192 GB, free: 9.555 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.003845/0.02405, allocations: 1.932 MB / 0.8211 GB, free: 7.617 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004173/0.02447, allocations: 119.2 kB / 0.8212 GB, free: 7.488 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002067/0.02653, allocations: 0.8194 MB / 0.822 GB, free: 6.668 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00143/0.02796, allocations: 0.6168 MB / 0.8226 GB, free: 6.051 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001937/0.02816, allocations: 83.94 kB / 0.8227 GB, free: 5.969 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001122/0.02928, allocations: 411.3 kB / 0.823 GB, free: 5.566 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0008161/0.03009, allocations: 0.5033 MB / 0.8235 GB, free: 5.062 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0007421/0.03084, allocations: 425.2 kB / 0.8239 GB, free: 4.648 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.002657/0.03349, allocations: 1.507 MB / 0.8254 GB, free: 3.137 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.0335, allocations: 0 / 0.8254 GB, free: 3.137 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.202e-06/0.0335, allocations: 3.938 kB / 0.8254 GB, free: 3.133 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.511e-05/0.03351, allocations: 0 / 0.8254 GB, free: 3.133 MB / 0.7761 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.004674/0.03819, allocations: 1.584 MB / 0.827 GB, free: 1.523 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 6.866e-05/0.03826, allocations: 9.188 kB / 0.827 GB, free: 1.516 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006747/0.03893, allocations: 180 kB / 0.8271 GB, free: 1.34 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002111/0.04104, allocations: 0.8087 MB / 0.8279 GB, free: 0.4961 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.822e-05/0.04111, allocations: 42.34 kB / 0.828 GB, free: 464 kB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001762/0.04129, allocations: 64.38 kB / 0.828 GB, free: 400 kB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001413/0.0427, allocations: 0.6111 MB / 0.8286 GB, free: 15.76 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.884e-05/0.04272, allocations: 192 / 0.8286 GB, free: 15.76 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.192e-05/0.04278, allocations: 21.47 kB / 0.8287 GB, free: 15.74 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.166e-05/0.0428, allocations: 8 kB / 0.8287 GB, free: 15.73 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001263/0.04406, allocations: 0.566 MB / 0.8292 GB, free: 15.16 MB / 0.7917 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.006004/0.05007, allocations: 2.235 MB / 0.8314 GB, free: 12.89 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002182/0.05225, allocations: 0.8204 MB / 0.8322 GB, free: 12.05 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007247/0.05298, allocations: 337.4 kB / 0.8325 GB, free: 11.72 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001056/0.05308, allocations: 28.36 kB / 0.8325 GB, free: 11.7 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.996e-05/0.05314, allocations: 42.88 kB / 0.8326 GB, free: 11.64 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=45): time 2.305e-06/0.05314, allocations: 0 / 0.8326 GB, free: 11.64 MB / 0.7917 GB Notification: Performance of matching and sorting (n=45): time 0.00296/0.0561, allocations: 1.131 MB / 0.8337 GB, free: 10.5 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.467e-05/0.05617, allocations: 55.41 kB / 0.8337 GB, free: 10.44 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002605/0.05877, allocations: 1.243 MB / 0.835 GB, free: 9.184 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 9.331e-05/0.05887, allocations: 41.7 kB / 0.835 GB, free: 9.137 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006208/0.05949, allocations: 473.3 kB / 0.8354 GB, free: 8.668 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002702/0.05976, allocations: 178.4 kB / 0.8356 GB, free: 8.492 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004214/0.06018, allocations: 210.5 kB / 0.8358 GB, free: 8.281 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002722/0.06045, allocations: 353.9 kB / 0.8362 GB, free: 7.93 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001308/0.06176, allocations: 0.6426 MB / 0.8368 GB, free: 7.289 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001726/0.06349, allocations: 0.971 MB / 0.8377 GB, free: 6.172 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003001/0.06649, allocations: 1.584 MB / 0.8393 GB, free: 4.449 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.17e-05/0.0665, allocations: 4 kB / 0.8393 GB, free: 4.445 MB / 0.7917 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.004132/0.07063, allocations: 1.83 MB / 0.8411 GB, free: 2.602 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.001e-05/0.07066, allocations: 15.03 kB / 0.8411 GB, free: 2.59 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.216e-05/0.0707, allocations: 12 kB / 0.8411 GB, free: 2.578 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004712/0.07117, allocations: 60.75 kB / 0.8412 GB, free: 2.516 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001741/0.07291, allocations: 267.6 kB / 0.8414 GB, free: 2.254 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007129/0.08004, allocations: 6.714 MB / 0.848 GB, free: 11.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001517/0.08156, allocations: 139 kB / 0.8481 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.08166, allocations: 36 kB / 0.8481 GB, free: 11.08 MB / 0.8073 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.0006487/0.08231, allocations: 301.4 kB / 0.8484 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003066/0.08262, allocations: 139.2 kB / 0.8486 GB, free: 10.64 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001944/0.08456, allocations: 0.8469 MB / 0.8494 GB, free: 9.777 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.08457, allocations: 7.938 kB / 0.8494 GB, free: 9.77 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.08458, allocations: 0 / 0.8494 GB, free: 9.77 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.798e-06/0.08459, allocations: 3.984 kB / 0.8494 GB, free: 9.766 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001449/0.08603, allocations: 0.6756 MB / 0.8501 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.08604, allocations: 0 / 0.8501 GB, free: 9.062 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006115/0.08665, allocations: 107.9 kB / 0.8502 GB, free: 8.957 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002907/0.08694, allocations: 48.81 kB / 0.8502 GB, free: 8.906 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.065e-05/0.08699, allocations: 15.98 kB / 0.8502 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001357/0.08835, allocations: 1.311 MB / 0.8515 GB, free: 7.48 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.08835, allocations: 160 / 0.8515 GB, free: 7.48 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002132/0.09048, allocations: 1.394 MB / 0.8529 GB, free: 6.066 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004661/0.09095, allocations: 199 kB / 0.853 GB, free: 5.871 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001462/0.09109, allocations: 16 kB / 0.8531 GB, free: 5.855 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006792/0.09177, allocations: 27.95 kB / 0.8531 GB, free: 5.828 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.543e-05/0.09187, allocations: 31.94 kB / 0.8531 GB, free: 5.797 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.369e-05/0.0919, allocations: 12 kB / 0.8531 GB, free: 5.785 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001415/0.09332, allocations: 0.8271 MB / 0.8539 GB, free: 4.953 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.09332, allocations: 4 kB / 0.8539 GB, free: 4.949 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.001185/0.0945, allocations: 371.6 kB / 0.8543 GB, free: 4.586 MB / 0.8073 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.0006957/0.0952, allocations: 278.8 kB / 0.8546 GB, free: 4.305 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.002814/0.09801, allocations: 1.397 MB / 0.8559 GB, free: 2.883 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.09802, allocations: 0 / 0.8559 GB, free: 2.883 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.000715/0.09873, allocations: 470.4 kB / 0.8564 GB, free: 2.41 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001173/0.0999, allocations: 250.3 kB / 0.8566 GB, free: 2.164 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004089/0.104, allocations: 2.316 MB / 0.8589 GB, free: 15.82 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007143/0.1047, allocations: 0.499 MB / 0.8594 GB, free: 15.29 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.000603/0.1053, allocations: 203.1 kB / 0.8596 GB, free: 15.08 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002601/0.1056, allocations: 68.48 kB / 0.8596 GB, free: 15.02 MB / 0.823 GB Notification: Performance of SimCode: time 1.162e-06/0.1056, allocations: 0 / 0.8596 GB, free: 15.02 MB / 0.823 GB Notification: Performance of Templates: time 0.03287/0.1384, allocations: 15.59 MB / 0.8748 GB, free: 15.75 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile [Timeout 300] (rm -f Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.5861807850888]