Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001098/0.001098, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001055/0.001055, allocations: 173 kB / 23.49 MB, free: 1.059 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.9696/0.9696, allocations: 177.1 MB / 203.8 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.04/2.04, allocations: 429.5 MB / 0.6736 GB, free: 4.043 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.8781 GB, free: 6.691 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.213e-05/2.379e-05, allocations: 6.25 kB / 0.8781 GB, free: 6.684 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM): time 0.004276/0.0043, allocations: 4.357 MB / 0.8824 GB, free: 2.32 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003846/0.008146, allocations: 2.941 MB / 0.8853 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004744/0.00862, allocations: 27.75 kB / 0.8853 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0007954/0.009416, allocations: 357.6 kB / 0.8856 GB, free: 15 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001034/0.01045, allocations: 0.7112 MB / 0.8863 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.01157, allocations: 0.674 MB / 0.887 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001509/0.01308, allocations: 1.944 MB / 0.8889 GB, free: 11.66 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000206/0.01329, allocations: 118.4 kB / 0.889 GB, free: 11.54 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007919/0.01408, allocations: 0.8224 MB / 0.8898 GB, free: 10.71 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006231/0.0147, allocations: 0.6234 MB / 0.8904 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 9.664e-05/0.0148, allocations: 76 kB / 0.8905 GB, free: 10.01 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005083/0.01531, allocations: 407.4 kB / 0.8909 GB, free: 9.613 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0003498/0.01566, allocations: 0.5103 MB / 0.8914 GB, free: 9.102 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0003091/0.01597, allocations: 419 kB / 0.8918 GB, free: 8.691 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001035/0.017, allocations: 1.144 MB / 0.8929 GB, free: 7.543 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.017, allocations: 0 / 0.8929 GB, free: 7.543 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.12e-07/0.017, allocations: 0 / 0.8929 GB, free: 7.543 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.21e-05/0.01702, allocations: 4 kB / 0.8929 GB, free: 7.539 MB / 0.8542 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.001969/0.01899, allocations: 1.71 MB / 0.8946 GB, free: 5.785 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.01902, allocations: 8.031 kB / 0.8946 GB, free: 5.777 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003526/0.01937, allocations: 184 kB / 0.8948 GB, free: 5.598 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000855/0.02023, allocations: 0.7535 MB / 0.8955 GB, free: 4.801 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.88e-05/0.02026, allocations: 41.38 kB / 0.8955 GB, free: 4.762 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.807e-05/0.02033, allocations: 72.31 kB / 0.8956 GB, free: 4.691 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004089/0.02074, allocations: 367.4 kB / 0.8959 GB, free: 4.312 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.02075, allocations: 192 / 0.8959 GB, free: 4.312 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.354e-05/0.02079, allocations: 20.12 kB / 0.896 GB, free: 4.293 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.595e-05/0.02081, allocations: 12 kB / 0.896 GB, free: 4.281 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002606/0.02107, allocations: 153.8 kB / 0.8961 GB, free: 4.129 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002179/0.02325, allocations: 2.098 MB / 0.8982 GB, free: 1.977 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006402/0.02389, allocations: 410 kB / 0.8986 GB, free: 1.562 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001476/0.02403, allocations: 112.3 kB / 0.8987 GB, free: 1.449 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.678e-05/0.02411, allocations: 32.36 kB / 0.8987 GB, free: 1.418 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.083e-05/0.02414, allocations: 37.75 kB / 0.8987 GB, free: 1.371 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=45): time 2.124e-06/0.02414, allocations: 4 kB / 0.8987 GB, free: 1.367 MB / 0.8542 GB Notification: Performance of matching and sorting (n=45): time 0.0007418/0.02489, allocations: 461.2 kB / 0.8992 GB, free: 0.9062 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.114e-05/0.02492, allocations: 63.34 kB / 0.8992 GB, free: 0.832 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009418/0.02586, allocations: 1.146 MB / 0.9004 GB, free: 15.68 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.271e-05/0.02589, allocations: 37.7 kB / 0.9004 GB, free: 15.63 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003021/0.02619, allocations: 0.5351 MB / 0.9009 GB, free: 15.09 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001079/0.0263, allocations: 186.5 kB / 0.9011 GB, free: 14.91 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001834/0.02648, allocations: 232.2 kB / 0.9013 GB, free: 14.67 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.02662, allocations: 0.5238 MB / 0.9018 GB, free: 14.14 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003748/0.027, allocations: 206.2 kB / 0.902 GB, free: 13.94 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005228/0.02752, allocations: 0.6714 MB / 0.9027 GB, free: 13.07 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008282/0.02835, allocations: 0.9486 MB / 0.9036 GB, free: 11.92 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.02836, allocations: 4 kB / 0.9036 GB, free: 11.92 MB / 0.8698 GB Notification: Performance of matching and sorting (n=139) (initialization): time 0.0009895/0.02934, allocations: 0.9703 MB / 0.9046 GB, free: 10.94 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.02936, allocations: 10.5 kB / 0.9046 GB, free: 10.93 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.041e-05/0.02939, allocations: 23.98 kB / 0.9046 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001956/0.02958, allocations: 43.66 kB / 0.9046 GB, free: 10.86 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006672/0.03025, allocations: 267.8 kB / 0.9049 GB, free: 10.6 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002853/0.0331, allocations: 9.077 MB / 0.9138 GB, free: 1.168 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004295/0.03353, allocations: 131 kB / 0.9139 GB, free: 1.039 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.044e-05/0.03357, allocations: 40 kB / 0.9139 GB, free: 1 MB / 0.8698 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.0001727/0.03374, allocations: 216.5 kB / 0.9141 GB, free: 0.7773 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000111/0.03385, allocations: 131.2 kB / 0.9142 GB, free: 0.6484 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004684/0.03432, allocations: 390.2 kB / 0.9146 GB, free: 264 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.03433, allocations: 7.938 kB / 0.9146 GB, free: 256 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.03433, allocations: 7.938 kB / 0.9146 GB, free: 248 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.03434, allocations: 3.984 kB / 0.9146 GB, free: 244 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005529/0.03489, allocations: 0.6181 MB / 0.9152 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.03489, allocations: 0 / 0.9152 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002813/0.03517, allocations: 111.9 kB / 0.9153 GB, free: 15.48 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001119/0.03528, allocations: 31.66 kB / 0.9154 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.043e-05/0.03531, allocations: 19.98 kB / 0.9154 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006405/0.03595, allocations: 1.74 MB / 0.9171 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.03596, allocations: 8.062 kB / 0.9171 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005984/0.03655, allocations: 0.6325 MB / 0.9177 GB, free: 12.9 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002281/0.03678, allocations: 183 kB / 0.9179 GB, free: 12.72 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.822e-05/0.03686, allocations: 23.92 kB / 0.9179 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002804/0.03714, allocations: 27.97 kB / 0.9179 GB, free: 12.67 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.827e-05/0.0372, allocations: 27.94 kB / 0.918 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.64e-05/0.03722, allocations: 8 kB / 0.918 GB, free: 12.63 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0005812/0.0378, allocations: 0.6787 MB / 0.9186 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7.1e-08/0.0378, allocations: 4 kB / 0.9186 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006167/0.03841, allocations: 371.5 kB / 0.919 GB, free: 11.58 MB / 0.8855 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.0004006/0.03881, allocations: 282.8 kB / 0.9193 GB, free: 11.3 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001045/0.03986, allocations: 0.8411 MB / 0.9201 GB, free: 10.43 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.03986, allocations: 4.062 kB / 0.9201 GB, free: 10.43 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0002356/0.0401, allocations: 313.5 kB / 0.9204 GB, free: 10.1 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006333/0.04073, allocations: 230.3 kB / 0.9206 GB, free: 9.879 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002122/0.04285, allocations: 1.973 MB / 0.9225 GB, free: 7.867 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002166/0.04307, allocations: 235.3 kB / 0.9228 GB, free: 7.617 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.000284/0.04335, allocations: 171.1 kB / 0.9229 GB, free: 7.445 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/0.04349, allocations: 72.48 kB / 0.923 GB, free: 7.375 MB / 0.8855 GB Notification: Performance of SimCode: time 1.011e-06/0.04349, allocations: 0 / 0.923 GB, free: 7.375 MB / 0.8855 GB Notification: Performance of Templates: time 0.01723/0.06072, allocations: 15.7 MB / 0.9383 GB, free: 7.977 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorSingleLayerPCM_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.6946702199056745]