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.001874/0.001874, allocations: 87.69 kB / 20.24 MB, free: 4.188 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.002013/0.002013, allocations: 157.7 kB / 23.55 MB, free: 0.8789 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.619/1.619, 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 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 2.91/2.91, allocations: 359 MB / 0.6048 GB, free: 10.94 MB / 0.573 GB " [Timeout remaining time 176] 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.343e-06/1.343e-06, allocations: 0 / 0.7863 GB, free: 12.85 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.18e-05/3.314e-05, allocations: 3.062 kB / 0.7863 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.007456/0.007489, allocations: 4.32 MB / 0.7906 GB, free: 8.516 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.006079/0.01357, allocations: 2.955 MB / 0.7934 GB, free: 5.57 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000492/0.01406, allocations: 31.75 kB / 0.7935 GB, free: 5.539 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.001104/0.01516, allocations: 351.2 kB / 0.7938 GB, free: 5.195 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.001678/0.01684, allocations: 0.716 MB / 0.7945 GB, free: 4.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002086/0.01893, allocations: 0.6795 MB / 0.7952 GB, free: 3.805 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.002681/0.02161, allocations: 1.932 MB / 0.7971 GB, free: 1.863 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003027/0.02191, allocations: 126.4 kB / 0.7972 GB, free: 1.73 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001531/0.02344, allocations: 0.8119 MB / 0.798 GB, free: 0.918 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001149/0.02459, allocations: 0.6281 MB / 0.7986 GB, free: 296 kB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001653/0.02476, allocations: 76 kB / 0.7987 GB, free: 220 kB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000968/0.02573, allocations: 411.3 kB / 0.799 GB, free: 15.81 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0006867/0.02641, allocations: 0.5072 MB / 0.7995 GB, free: 15.3 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0006271/0.02704, allocations: 419.9 kB / 0.7999 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.002199/0.02924, allocations: 1.515 MB / 0.8014 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.02924, allocations: 1.344 kB / 0.8014 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.353e-06/0.02925, allocations: 0 / 0.8014 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.439e-05/0.02926, allocations: 0 / 0.8014 GB, free: 13.38 MB / 0.7605 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.00393/0.03319, allocations: 1.754 MB / 0.8031 GB, free: 11.59 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.03323, allocations: 8.594 kB / 0.8031 GB, free: 11.58 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004853/0.03372, allocations: 185.4 kB / 0.8033 GB, free: 11.4 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001604/0.03532, allocations: 0.7804 MB / 0.8041 GB, free: 10.58 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.855e-05/0.03537, allocations: 41.38 kB / 0.8041 GB, free: 10.54 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001119/0.03548, allocations: 64.38 kB / 0.8042 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008008/0.03628, allocations: 426.5 kB / 0.8046 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.705e-05/0.0363, allocations: 4.125 kB / 0.8046 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.034e-05/0.03635, allocations: 24.12 kB / 0.8046 GB, free: 10.02 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.647e-05/0.03637, allocations: 12 kB / 0.8046 GB, free: 10 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005181/0.03689, allocations: 207.8 kB / 0.8048 GB, free: 9.801 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004325/0.04121, allocations: 2.244 MB / 0.807 GB, free: 7.508 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.0423, allocations: 406.9 kB / 0.8074 GB, free: 7.098 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000272/0.04257, allocations: 128.4 kB / 0.8075 GB, free: 6.969 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 8.847e-05/0.04266, allocations: 28.36 kB / 0.8076 GB, free: 6.941 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.335e-05/0.0427, allocations: 41.77 kB / 0.8076 GB, free: 6.891 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=45): time 1.603e-06/0.0427, allocations: 0 / 0.8076 GB, free: 6.891 MB / 0.7605 GB Notification: Performance of matching and sorting (n=45): time 0.001296/0.044, allocations: 0.4893 MB / 0.8081 GB, free: 6.391 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/0.04405, allocations: 59.41 kB / 0.8081 GB, free: 6.32 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00231/0.04636, allocations: 1.357 MB / 0.8095 GB, free: 4.953 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.84e-05/0.04642, allocations: 41.7 kB / 0.8095 GB, free: 4.906 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006078/0.04703, allocations: 0.5625 MB / 0.81 GB, free: 4.336 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002222/0.04725, allocations: 198.4 kB / 0.8102 GB, free: 4.141 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003778/0.04763, allocations: 256.2 kB / 0.8105 GB, free: 3.883 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0003511/0.04798, allocations: 0.5434 MB / 0.811 GB, free: 3.332 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004399/0.04842, allocations: 226.2 kB / 0.8112 GB, free: 3.109 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009376/0.04936, allocations: 0.6987 MB / 0.8119 GB, free: 2.211 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001475/0.05083, allocations: 1.038 MB / 0.8129 GB, free: 0.9727 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.05084, allocations: 0 / 0.8129 GB, free: 0.9727 MB / 0.7605 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.001851/0.05269, allocations: 1.009 MB / 0.8139 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 3.376e-05/0.05272, allocations: 8 kB / 0.8139 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.77e-05/0.05275, allocations: 12 kB / 0.8139 GB, free: 15.93 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003024/0.05305, allocations: 43.66 kB / 0.814 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/0.0543, allocations: 272 kB / 0.8142 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007047/0.06135, allocations: 9.124 MB / 0.8231 GB, free: 6.141 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00109/0.06244, allocations: 127 kB / 0.8233 GB, free: 6.016 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.292e-05/0.06251, allocations: 40 kB / 0.8233 GB, free: 5.977 MB / 0.7761 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.0004057/0.06292, allocations: 260.6 kB / 0.8235 GB, free: 5.711 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002137/0.06313, allocations: 127.2 kB / 0.8237 GB, free: 5.586 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009653/0.0641, allocations: 429.9 kB / 0.8241 GB, free: 5.16 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.06411, allocations: 7.938 kB / 0.8241 GB, free: 5.152 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.174e-06/0.06411, allocations: 0 / 0.8241 GB, free: 5.152 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.06411, allocations: 0 / 0.8241 GB, free: 5.152 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001125/0.06524, allocations: 0.7158 MB / 0.8248 GB, free: 4.406 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.06524, allocations: 0 / 0.8248 GB, free: 4.406 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005834/0.06582, allocations: 115.9 kB / 0.8249 GB, free: 4.293 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000214/0.06604, allocations: 31.66 kB / 0.8249 GB, free: 4.258 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.656e-05/0.06609, allocations: 15.98 kB / 0.8249 GB, free: 4.242 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001491/0.06758, allocations: 1.751 MB / 0.8266 GB, free: 2.363 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.06758, allocations: 4 kB / 0.8267 GB, free: 2.359 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/0.06879, allocations: 0.6793 MB / 0.8273 GB, free: 1.656 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004954/0.06929, allocations: 187 kB / 0.8275 GB, free: 1.473 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001303/0.06942, allocations: 15.98 kB / 0.8275 GB, free: 1.457 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005953/0.07001, allocations: 31.97 kB / 0.8275 GB, free: 1.426 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.992e-05/0.0701, allocations: 27.94 kB / 0.8276 GB, free: 1.398 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.873e-05/0.07013, allocations: 12 kB / 0.8276 GB, free: 1.387 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001266/0.0714, allocations: 0.7998 MB / 0.8284 GB, free: 0.582 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.0714, allocations: 8 kB / 0.8284 GB, free: 0.5742 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001088/0.07249, allocations: 371.6 kB / 0.8287 GB, free: 216 kB / 0.7761 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.0006335/0.07312, allocations: 289.1 kB / 0.829 GB, free: 15.92 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.002192/0.07531, allocations: 0.8915 MB / 0.8299 GB, free: 15 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.07532, allocations: 4 kB / 0.8299 GB, free: 15 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.0005011/0.07582, allocations: 329.5 kB / 0.8302 GB, free: 14.66 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001137/0.07696, allocations: 242.3 kB / 0.8304 GB, free: 14.42 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003352/0.08031, allocations: 1.981 MB / 0.8324 GB, free: 12.4 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005983/0.08091, allocations: 491 kB / 0.8328 GB, free: 11.89 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0005094/0.08142, allocations: 171.1 kB / 0.833 GB, free: 11.72 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002426/0.08166, allocations: 68.5 kB / 0.833 GB, free: 11.65 MB / 0.7917 GB Notification: Performance of SimCode: time 9.32e-07/0.08166, allocations: 0 / 0.833 GB, free: 11.65 MB / 0.7917 GB Notification: Performance of Templates: time 0.03154/0.1132, allocations: 15.57 MB / 0.8483 GB, free: 12.4 MB / 0.8073 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) [Timeout 240] 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: 8.64862935396377]