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.001502/0.001502, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.001836/0.001836, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.9274/0.9274, allocations: 177.1 MB / 204.2 MB, free: 5.652 MB / 186.7 MB " [Timeout remaining time 179] 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 1.905/1.905, allocations: 377.8 MB / 0.6236 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 177] 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.[0-9,]+.|con1.T.[0-9,]+.|con2.T.[0-9,]+.|conPCM2.T.[0-9,]+.|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.[0-9,]+.|con1.T.[0-9,]+.|con2.T.[0-9,]+.|conPCM2.T.[0-9,]+.|cheEqu.y",fileNamePrefix="Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 0.8115 GB, free: 1.75 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.791e-05/2.99e-05, allocations: 2.312 kB / 0.8115 GB, free: 1.746 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.006451/0.006481, allocations: 4.371 MB / 0.8158 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.005933/0.01241, allocations: 2.958 MB / 0.8187 GB, free: 10.42 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000935/0.01335, allocations: 31.75 kB / 0.8187 GB, free: 10.39 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001268/0.01462, allocations: 350.6 kB / 0.819 GB, free: 10.04 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.002069/0.01669, allocations: 0.7131 MB / 0.8197 GB, free: 9.332 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.001481/0.01817, allocations: 0.6783 MB / 0.8204 GB, free: 8.656 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.001955/0.02012, allocations: 1.938 MB / 0.8223 GB, free: 6.715 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002597/0.02038, allocations: 122.4 kB / 0.8224 GB, free: 6.582 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001171/0.02155, allocations: 0.827 MB / 0.8232 GB, free: 5.754 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007073/0.02226, allocations: 0.6205 MB / 0.8238 GB, free: 5.133 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 0.0001068/0.02237, allocations: 76 kB / 0.8239 GB, free: 5.059 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005556/0.02292, allocations: 416.7 kB / 0.8243 GB, free: 4.652 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0005407/0.02346, allocations: 0.5025 MB / 0.8248 GB, free: 4.148 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0003751/0.02384, allocations: 423.8 kB / 0.8252 GB, free: 3.734 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.02487, allocations: 1.144 MB / 0.8263 GB, free: 2.586 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.02487, allocations: 0 / 0.8263 GB, free: 2.586 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.102e-06/0.02487, allocations: 2.031 kB / 0.8263 GB, free: 2.586 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.554e-05/0.02489, allocations: 3.938 kB / 0.8263 GB, free: 2.582 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.001826/0.02672, allocations: 1.71 MB / 0.828 GB, free: 0.8398 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.02675, allocations: 12.03 kB / 0.828 GB, free: 0.8281 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002923/0.02705, allocations: 177.4 kB / 0.8281 GB, free: 0.6562 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008049/0.02785, allocations: 0.7349 MB / 0.8289 GB, free: 15.88 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.946e-05/0.02788, allocations: 45.31 kB / 0.8289 GB, free: 15.83 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.421e-05/0.02794, allocations: 64.33 kB / 0.829 GB, free: 15.77 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004122/0.02836, allocations: 367.4 kB / 0.8293 GB, free: 15.39 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.02837, allocations: 3.75 kB / 0.8293 GB, free: 15.39 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.68e-05/0.02839, allocations: 20.12 kB / 0.8293 GB, free: 15.37 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.263e-05/0.02841, allocations: 12 kB / 0.8293 GB, free: 15.36 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002304/0.02864, allocations: 157.8 kB / 0.8295 GB, free: 15.2 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002295/0.03093, allocations: 2.101 MB / 0.8315 GB, free: 13.05 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005959/0.03153, allocations: 406.1 kB / 0.8319 GB, free: 12.64 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001386/0.03167, allocations: 109.1 kB / 0.832 GB, free: 12.54 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 5.96e-05/0.03173, allocations: 28.36 kB / 0.8321 GB, free: 12.51 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.212e-05/0.03175, allocations: 39.42 kB / 0.8321 GB, free: 12.46 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=45): time 1.583e-06/0.03175, allocations: 0 / 0.8321 GB, free: 12.46 MB / 0.7917 GB Notification: Performance of matching and sorting (n=45): time 0.000694/0.03244, allocations: 477.1 kB / 0.8326 GB, free: 11.98 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.669e-05/0.03247, allocations: 59.34 kB / 0.8326 GB, free: 11.91 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008998/0.03337, allocations: 1.138 MB / 0.8337 GB, free: 10.77 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.136e-05/0.0334, allocations: 41.7 kB / 0.8338 GB, free: 10.72 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002806/0.03368, allocations: 0.539 MB / 0.8343 GB, free: 10.17 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.03379, allocations: 182.5 kB / 0.8345 GB, free: 9.992 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001816/0.03397, allocations: 232.2 kB / 0.8347 GB, free: 9.758 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.0341, allocations: 0.5238 MB / 0.8352 GB, free: 9.227 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002308/0.03433, allocations: 206.2 kB / 0.8354 GB, free: 9.027 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004302/0.03476, allocations: 0.6714 MB / 0.836 GB, free: 8.152 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007192/0.03548, allocations: 0.9486 MB / 0.837 GB, free: 7.012 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.03548, allocations: 0 / 0.837 GB, free: 7.012 MB / 0.7917 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.0009818/0.03647, allocations: 0.9737 MB / 0.8379 GB, free: 6.027 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.03648, allocations: 8 kB / 0.8379 GB, free: 6.02 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.806e-05/0.0365, allocations: 12 kB / 0.8379 GB, free: 6.008 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004309/0.03693, allocations: 52.38 kB / 0.838 GB, free: 5.953 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006067/0.03754, allocations: 271.6 kB / 0.8383 GB, free: 5.688 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002785/0.04032, allocations: 9.073 MB / 0.8471 GB, free: 12.26 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004408/0.04076, allocations: 139 kB / 0.8472 GB, free: 12.12 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.09e-05/0.0408, allocations: 40 kB / 0.8473 GB, free: 12.09 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.0001643/0.04097, allocations: 212.2 kB / 0.8475 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.04108, allocations: 131.2 kB / 0.8476 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004428/0.04152, allocations: 393.9 kB / 0.848 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.04153, allocations: 7.938 kB / 0.848 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.04153, allocations: 0 / 0.848 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.04153, allocations: 0 / 0.848 GB, free: 11.33 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005208/0.04205, allocations: 0.6259 MB / 0.8486 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.04206, allocations: 0 / 0.8486 GB, free: 10.68 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002732/0.04233, allocations: 107.9 kB / 0.8487 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000105/0.04243, allocations: 31.66 kB / 0.8487 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.085e-05/0.04246, allocations: 19.98 kB / 0.8488 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005909/0.04306, allocations: 1.74 MB / 0.8505 GB, free: 8.656 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.04306, allocations: 0 / 0.8505 GB, free: 8.656 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005795/0.04364, allocations: 0.6323 MB / 0.8511 GB, free: 8 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002176/0.04385, allocations: 183.1 kB / 0.8513 GB, free: 7.82 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.341e-05/0.04393, allocations: 15.98 kB / 0.8513 GB, free: 7.805 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002678/0.04419, allocations: 32.09 kB / 0.8513 GB, free: 7.773 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.894e-05/0.04425, allocations: 31.94 kB / 0.8513 GB, free: 7.742 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.04427, allocations: 8 kB / 0.8513 GB, free: 7.734 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0005681/0.04484, allocations: 0.6748 MB / 0.852 GB, free: 7.055 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.04484, allocations: 0 / 0.852 GB, free: 7.055 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0008307/0.04567, allocations: 375.5 kB / 0.8524 GB, free: 6.688 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.0003808/0.04605, allocations: 297.4 kB / 0.8526 GB, free: 6.391 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001022/0.04707, allocations: 0.8406 MB / 0.8535 GB, free: 5.516 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.04707, allocations: 0 / 0.8535 GB, free: 5.516 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002381/0.04731, allocations: 313.1 kB / 0.8538 GB, free: 5.188 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006345/0.04794, allocations: 233.7 kB / 0.854 GB, free: 4.957 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002013/0.04996, allocations: 1.969 MB / 0.8559 GB, free: 2.953 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001419/0.0501, allocations: 239.2 kB / 0.8561 GB, free: 2.699 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0002709/0.05037, allocations: 167 kB / 0.8563 GB, free: 2.531 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001388/0.05051, allocations: 68.48 kB / 0.8564 GB, free: 2.465 MB / 0.8073 GB Notification: Performance of SimCode: time 6.61e-07/0.05051, allocations: 0 / 0.8564 GB, free: 2.465 MB / 0.8073 GB Notification: Performance of Templates: time 0.01869/0.0692, allocations: 16.59 MB / 0.8726 GB, free: 2.199 MB / 0.823 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_HeatTransfer_Examples_ConductorSingleLayerPCM.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.540979079902172]