Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.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.001156/0.001156, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.001501/0.001501, allocations: 173 kB / 23.02 MB, free: 1.547 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.089/1.089, allocations: 177.1 MB / 203.4 MB, free: 5.164 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.23/2.23, allocations: 429.5 MB / 0.6733 GB, free: 4.023 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.ConductorMultiLayer3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.[0-9,]+.|con.port_a.T|con.port_b.T",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3") translateModel(Buildings.HeatTransfer.Examples.ConductorMultiLayer3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con.T.[0-9,]+.|con.port_a.T|con.port_b.T",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.264e-06/2.264e-06, allocations: 0 / 0.8781 GB, free: 6.328 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.403e-05/3.63e-05, allocations: 3.031 kB / 0.8781 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.004799/0.004835, allocations: 2.812 MB / 0.8809 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00363/0.008465, allocations: 2.79 MB / 0.8836 GB, free: 0.7305 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002454/0.00871, allocations: 11.88 kB / 0.8836 GB, free: 0.7188 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.001392/0.0101, allocations: 492.4 kB / 0.8841 GB, free: 244 kB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0006216/0.01072, allocations: 315.1 kB / 0.8844 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006908/0.01142, allocations: 411.6 kB / 0.8848 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001199/0.01261, allocations: 1.546 MB / 0.8863 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001709/0.01279, allocations: 74.36 kB / 0.8864 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006125/0.0134, allocations: 0.6082 MB / 0.8869 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004248/0.01382, allocations: 407.1 kB / 0.8873 GB, free: 12.9 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.018e-05/0.01388, allocations: 48 kB / 0.8874 GB, free: 12.85 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001258/0.01401, allocations: 60 kB / 0.8874 GB, free: 12.79 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002213/0.01423, allocations: 311.1 kB / 0.8877 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002017/0.01443, allocations: 243.5 kB / 0.888 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0005829/0.01501, allocations: 0.6074 MB / 0.8886 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.01502, allocations: 4 kB / 0.8886 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.864e-06/0.01502, allocations: 0 / 0.8886 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.838e-06/0.01503, allocations: 0 / 0.8886 GB, free: 11.64 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: 57 * Number of variables: 57 Notification: Performance of Generate backend data structure: time 0.001412/0.01644, allocations: 1.231 MB / 0.8898 GB, free: 10.37 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.474e-05/0.01649, allocations: 8.031 kB / 0.8898 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001992/0.01669, allocations: 104.5 kB / 0.8899 GB, free: 10.26 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006519/0.01734, allocations: 0.5472 MB / 0.8904 GB, free: 9.676 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.071e-05/0.01736, allocations: 28.88 kB / 0.8904 GB, free: 9.648 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.046e-05/0.01741, allocations: 44.31 kB / 0.8905 GB, free: 9.605 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002981/0.01771, allocations: 247.7 kB / 0.8907 GB, free: 9.336 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.01772, allocations: 4.125 kB / 0.8907 GB, free: 9.332 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.056e-05/0.01774, allocations: 16.12 kB / 0.8907 GB, free: 9.316 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.01775, allocations: 4 kB / 0.8907 GB, free: 9.312 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001275/0.01788, allocations: 82.89 kB / 0.8908 GB, free: 9.234 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001517/0.01939, allocations: 1.801 MB / 0.8926 GB, free: 7.367 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005114/0.01991, allocations: 259 kB / 0.8928 GB, free: 7.102 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.708e-05/0.01998, allocations: 51.66 kB / 0.8929 GB, free: 7.047 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.114e-05/0.01999, allocations: 4 kB / 0.8929 GB, free: 7.043 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.02002, allocations: 41.7 kB / 0.8929 GB, free: 6.992 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 2.404e-06/0.02002, allocations: 4 kB / 0.8929 GB, free: 6.988 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.0004922/0.02051, allocations: 259.1 kB / 0.8932 GB, free: 6.727 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.98e-05/0.02054, allocations: 51.41 kB / 0.8932 GB, free: 6.664 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007376/0.02128, allocations: 0.8197 MB / 0.894 GB, free: 5.828 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.775e-05/0.02131, allocations: 37.7 kB / 0.8941 GB, free: 5.785 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002464/0.02156, allocations: 399.5 kB / 0.8944 GB, free: 5.391 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.674e-05/0.02162, allocations: 83.31 kB / 0.8945 GB, free: 5.309 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001374/0.02176, allocations: 144 kB / 0.8946 GB, free: 5.156 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0003425/0.0221, allocations: 0.5977 MB / 0.8952 GB, free: 4.547 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001966/0.0223, allocations: 57.27 kB / 0.8953 GB, free: 4.492 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003214/0.02262, allocations: 465.3 kB / 0.8957 GB, free: 3.859 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004899/0.02311, allocations: 0.5568 MB / 0.8963 GB, free: 3.125 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.871e-06/0.02312, allocations: 0 / 0.8963 GB, free: 3.125 MB / 0.8542 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0006456/0.02376, allocations: 490.8 kB / 0.8967 GB, free: 2.637 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.304e-05/0.02379, allocations: 8 kB / 0.8968 GB, free: 2.629 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.079e-05/0.02381, allocations: 8 kB / 0.8968 GB, free: 2.621 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002582/0.02406, allocations: 47.66 kB / 0.8968 GB, free: 2.57 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002792/0.02434, allocations: 140.1 kB / 0.8969 GB, free: 2.434 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001064/0.02541, allocations: 1.771 MB / 0.8987 GB, free: 0.5391 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003664/0.02577, allocations: 123.4 kB / 0.8988 GB, free: 428 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.799e-05/0.0258, allocations: 28 kB / 0.8988 GB, free: 400 kB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (63): * Single equations (assignments): 62 * 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 prepare postOptimizeDAE: time 0.0001459/0.02595, allocations: 196.5 kB / 0.899 GB, free: 192 kB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.451e-05/0.02602, allocations: 67.58 kB / 0.8991 GB, free: 124 kB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.314e-05/0.02608, allocations: 57.86 kB / 0.8991 GB, free: 64 kB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-06/0.02608, allocations: 0 / 0.8991 GB, free: 64 kB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.02608, allocations: 0 / 0.8991 GB, free: 64 kB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.438e-06/0.02609, allocations: 7.938 kB / 0.8991 GB, free: 56 kB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004587/0.02654, allocations: 496.2 kB / 0.8996 GB, free: 15.54 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.02655, allocations: 0 / 0.8996 GB, free: 15.54 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001371/0.02668, allocations: 43.95 kB / 0.8996 GB, free: 15.49 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001342/0.02682, allocations: 51.58 kB / 0.8997 GB, free: 15.44 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.846e-05/0.02684, allocations: 0 / 0.8997 GB, free: 15.44 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007533/0.02759, allocations: 1.756 MB / 0.9014 GB, free: 13.56 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.02759, allocations: 0 / 0.9014 GB, free: 13.56 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003603/0.02795, allocations: 391.1 kB / 0.9018 GB, free: 13.16 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001527/0.0281, allocations: 115.5 kB / 0.9019 GB, free: 13.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.333e-05/0.02815, allocations: 11.98 kB / 0.9019 GB, free: 13.03 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001841/0.02833, allocations: 43.92 kB / 0.9019 GB, free: 12.99 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.825e-05/0.02838, allocations: 19.88 kB / 0.902 GB, free: 12.97 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.215e-06/0.02839, allocations: 4 kB / 0.902 GB, free: 12.96 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003978/0.02879, allocations: 475 kB / 0.9024 GB, free: 12.5 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.1e-08/0.02879, allocations: 0 / 0.9024 GB, free: 12.5 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003875/0.02917, allocations: 183.9 kB / 0.9026 GB, free: 12.32 MB / 0.8698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 5 (con.lay[1].T[1],con.lay[1].T[2],con.lay[2].T[1],con.lay[2].T[2],con.lay[2].T[3]) * 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 (17): * Single equations (assignments): 16 * 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.0001006/0.02927, allocations: 115.1 kB / 0.9027 GB, free: 12.2 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0004516/0.02973, allocations: 418 kB / 0.9031 GB, free: 11.78 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.02973, allocations: 0 / 0.9031 GB, free: 11.78 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000142/0.02987, allocations: 241.4 kB / 0.9033 GB, free: 11.52 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004757/0.03034, allocations: 172 kB / 0.9035 GB, free: 11.35 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001569/0.03191, allocations: 1.154 MB / 0.9046 GB, free: 10.16 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001325/0.03205, allocations: 193.2 kB / 0.9048 GB, free: 9.949 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002452/0.03229, allocations: 140.5 kB / 0.9049 GB, free: 9.809 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.104e-05/0.03238, allocations: 36.5 kB / 0.905 GB, free: 9.773 MB / 0.8698 GB Notification: Performance of SimCode: time 9.92e-07/0.03238, allocations: 0 / 0.905 GB, free: 9.773 MB / 0.8698 GB Notification: Performance of Templates: time 0.01197/0.04435, allocations: 9.133 MB / 0.9139 GB, free: 0.8398 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorMultiLayer3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorMultiLayer3.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: 6.052363147959113]