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.001194/0.001194, allocations: 73.97 kB / 20.66 MB, free: 3.84 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.001012/0.001012, allocations: 173 kB / 24.06 MB, free: 452 kB / 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.9582/0.9582, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.034/2.034, allocations: 429.5 MB / 0.6743 GB, free: 3.906 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 1.062e-06/1.062e-06, allocations: 0 / 0.8793 GB, free: 6.082 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.283e-05/1.39e-05, allocations: 3.406 kB / 0.8793 GB, free: 6.078 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.002657/0.002671, allocations: 2.774 MB / 0.8821 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00273/0.005401, allocations: 2.779 MB / 0.8848 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001631/0.005564, allocations: 11.88 kB / 0.8848 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0009756/0.00654, allocations: 486 kB / 0.8852 GB, free: 48 kB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0004258/0.006966, allocations: 306.6 kB / 0.8855 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006/0.007566, allocations: 414.8 kB / 0.8859 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001069/0.008635, allocations: 1.546 MB / 0.8874 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001329/0.008768, allocations: 74.34 kB / 0.8875 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006171/0.009385, allocations: 0.6083 MB / 0.8881 GB, free: 13.1 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004922/0.009877, allocations: 415.1 kB / 0.8885 GB, free: 12.7 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.099e-05/0.009938, allocations: 48 kB / 0.8886 GB, free: 12.65 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 9.978e-05/0.01004, allocations: 52 kB / 0.8886 GB, free: 12.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002062/0.01024, allocations: 307.2 kB / 0.8889 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001905/0.01043, allocations: 251.4 kB / 0.8891 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004587/0.01089, allocations: 0.6036 MB / 0.8897 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.0109, allocations: 0 / 0.8897 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.52e-07/0.0109, allocations: 0 / 0.8897 GB, free: 11.45 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.211e-06/0.0109, allocations: 3.938 kB / 0.8897 GB, free: 11.44 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.001134/0.01204, allocations: 1.137 MB / 0.8908 GB, free: 10.27 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 2.967e-05/0.01207, allocations: 8.031 kB / 0.8908 GB, free: 10.26 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001569/0.01222, allocations: 100.5 kB / 0.8909 GB, free: 10.16 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005022/0.01273, allocations: 0.5121 MB / 0.8914 GB, free: 9.613 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.01275, allocations: 32.88 kB / 0.8915 GB, free: 9.582 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.445e-05/0.01279, allocations: 44.31 kB / 0.8915 GB, free: 9.539 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002388/0.01303, allocations: 235.6 kB / 0.8917 GB, free: 9.281 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.01304, allocations: 192 / 0.8917 GB, free: 9.281 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.779e-05/0.01306, allocations: 12.12 kB / 0.8917 GB, free: 9.27 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.01307, allocations: 4 kB / 0.8918 GB, free: 9.266 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.529e-05/0.01315, allocations: 71.38 kB / 0.8918 GB, free: 9.199 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001326/0.01448, allocations: 1.533 MB / 0.8933 GB, free: 7.609 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004318/0.01491, allocations: 231.1 kB / 0.8935 GB, free: 7.371 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.565e-05/0.01496, allocations: 53.78 kB / 0.8936 GB, free: 7.316 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.949e-06/0.01497, allocations: 0 / 0.8936 GB, free: 7.316 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.015, allocations: 41.7 kB / 0.8936 GB, free: 7.266 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 1.383e-06/0.015, allocations: 0 / 0.8936 GB, free: 7.266 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.0004306/0.01543, allocations: 228.7 kB / 0.8938 GB, free: 7.031 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.01546, allocations: 55.34 kB / 0.8939 GB, free: 6.965 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005964/0.01605, allocations: 0.8076 MB / 0.8947 GB, free: 6.141 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.221e-05/0.01608, allocations: 33.7 kB / 0.8947 GB, free: 6.102 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002386/0.01631, allocations: 407.4 kB / 0.8951 GB, free: 5.699 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.511e-05/0.01637, allocations: 83.3 kB / 0.8952 GB, free: 5.617 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001271/0.0165, allocations: 155.9 kB / 0.8953 GB, free: 5.453 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001908/0.01669, allocations: 0.6015 MB / 0.8959 GB, free: 4.84 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.301e-05/0.01676, allocations: 49.27 kB / 0.896 GB, free: 4.793 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002359/0.017, allocations: 449.3 kB / 0.8964 GB, free: 4.176 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004085/0.0174, allocations: 0.5521 MB / 0.8969 GB, free: 3.449 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.01741, allocations: 4 kB / 0.8969 GB, free: 3.445 MB / 0.8542 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0004982/0.01791, allocations: 448.9 kB / 0.8974 GB, free: 2.996 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.01793, allocations: 8 kB / 0.8974 GB, free: 2.988 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.01793, allocations: 12 kB / 0.8974 GB, free: 2.977 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001559/0.01809, allocations: 39.66 kB / 0.8974 GB, free: 2.934 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002275/0.01832, allocations: 123.8 kB / 0.8975 GB, free: 2.812 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007645/0.01908, allocations: 1.736 MB / 0.8992 GB, free: 0.9609 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002714/0.01935, allocations: 67.5 kB / 0.8993 GB, free: 0.8945 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.377e-05/0.01938, allocations: 24 kB / 0.8993 GB, free: 0.8711 MB / 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.0001169/0.01949, allocations: 192.3 kB / 0.8995 GB, free: 0.6719 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.615e-05/0.01956, allocations: 71.58 kB / 0.8996 GB, free: 0.6016 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.116e-05/0.01961, allocations: 57.86 kB / 0.8996 GB, free: 0.543 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.01961, allocations: 4.125 kB / 0.8996 GB, free: 0.5391 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.927e-06/0.01962, allocations: 0 / 0.8996 GB, free: 0.5391 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.01962, allocations: 0 / 0.8996 GB, free: 0.5391 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003111/0.01993, allocations: 356.8 kB / 0.9 GB, free: 168 kB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.01993, allocations: 7.922 kB / 0.9 GB, free: 160 kB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000108/0.02004, allocations: 31.98 kB / 0.9 GB, free: 128 kB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.49e-05/0.02014, allocations: 39.64 kB / 0.9001 GB, free: 84 kB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/0.02015, allocations: 8 kB / 0.9001 GB, free: 76 kB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006336/0.02078, allocations: 1.729 MB / 0.9018 GB, free: 14.23 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.02078, allocations: 4 kB / 0.9018 GB, free: 14.23 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002708/0.02106, allocations: 375.1 kB / 0.9021 GB, free: 13.84 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001212/0.02118, allocations: 103.6 kB / 0.9022 GB, free: 13.74 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.259e-05/0.02122, allocations: 15.98 kB / 0.9022 GB, free: 13.73 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001452/0.02136, allocations: 7.938 kB / 0.9022 GB, free: 13.72 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.433e-05/0.0214, allocations: 15.88 kB / 0.9023 GB, free: 13.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/0.02141, allocations: 8 kB / 0.9023 GB, free: 13.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002948/0.0217, allocations: 446.8 kB / 0.9027 GB, free: 13.26 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4e-08/0.0217, allocations: 0 / 0.9027 GB, free: 13.26 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0003641/0.02207, allocations: 179.9 kB / 0.9029 GB, free: 13.09 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 9.815e-05/0.02216, allocations: 107.2 kB / 0.903 GB, free: 12.97 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003538/0.02252, allocations: 392.3 kB / 0.9033 GB, free: 12.57 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.02252, allocations: 4.125 kB / 0.9033 GB, free: 12.57 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001281/0.02265, allocations: 233.4 kB / 0.9036 GB, free: 12.32 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004568/0.0231, allocations: 162.5 kB / 0.9037 GB, free: 12.16 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.02439, allocations: 1.16 MB / 0.9048 GB, free: 10.96 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/0.02451, allocations: 197.1 kB / 0.905 GB, free: 10.75 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001495/0.02466, allocations: 64.64 kB / 0.9051 GB, free: 10.69 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002441/0.02491, allocations: 210.1 kB / 0.9053 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of SimCode: time 5.91e-07/0.02491, allocations: 0 / 0.9053 GB, free: 10.48 MB / 0.8698 GB Notification: Performance of Templates: time 0.01048/0.03538, allocations: 9.507 MB / 0.9146 GB, free: 1.18 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: 5.489278826862574]