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.00137/0.00137, 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.0009756/0.0009756, allocations: 173.3 kB / 23.49 MB, free: 1.062 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.9357/0.9357, allocations: 177.1 MB / 203.8 MB, free: 5.656 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.103/2.103, 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.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.964e-06/1.964e-06, allocations: 0 / 0.8781 GB, free: 6.719 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.037e-05/3.233e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.715 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorMultiLayer3): time 0.004673/0.004705, allocations: 2.793 MB / 0.8809 GB, free: 3.922 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.004705/0.00941, allocations: 2.79 MB / 0.8836 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002381/0.009648, allocations: 11.88 kB / 0.8836 GB, free: 1.121 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.001569/0.01122, allocations: 482 kB / 0.8841 GB, free: 0.6484 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000649/0.01187, allocations: 310.5 kB / 0.8844 GB, free: 352 kB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000971/0.01284, allocations: 422.8 kB / 0.8848 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001793/0.01463, allocations: 1.532 MB / 0.8863 GB, free: 14.39 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002099/0.01484, allocations: 75.97 kB / 0.8863 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009252/0.01576, allocations: 0.6082 MB / 0.8869 GB, free: 13.71 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006407/0.01641, allocations: 407 kB / 0.8873 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 9.493e-05/0.0165, allocations: 48 kB / 0.8874 GB, free: 13.26 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.01666, allocations: 60 kB / 0.8874 GB, free: 13.2 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.000323/0.01698, allocations: 299.2 kB / 0.8877 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0003192/0.0173, allocations: 251.4 kB / 0.8879 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0007808/0.01808, allocations: 0.6035 MB / 0.8885 GB, free: 12.06 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.01808, allocations: 4 kB / 0.8885 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.473e-06/0.01808, allocations: 0 / 0.8885 GB, free: 12.05 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.069e-05/0.01809, allocations: 0 / 0.8885 GB, free: 12.05 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.002062/0.02016, allocations: 1.239 MB / 0.8897 GB, free: 10.78 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/0.0202, allocations: 8.031 kB / 0.8898 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002644/0.02046, allocations: 104.4 kB / 0.8899 GB, free: 10.67 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008749/0.02134, allocations: 0.555 MB / 0.8904 GB, free: 10.08 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.947e-05/0.02137, allocations: 28.86 kB / 0.8904 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.412e-05/0.02144, allocations: 44.38 kB / 0.8905 GB, free: 10.01 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004398/0.02188, allocations: 243.7 kB / 0.8907 GB, free: 9.742 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.271e-05/0.0219, allocations: 192 / 0.8907 GB, free: 9.742 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.19e-05/0.02193, allocations: 16.12 kB / 0.8907 GB, free: 9.727 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.02194, allocations: 8 kB / 0.8907 GB, free: 9.719 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002225/0.02216, allocations: 82.88 kB / 0.8908 GB, free: 9.641 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002438/0.0246, allocations: 1.805 MB / 0.8926 GB, free: 7.77 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007741/0.02538, allocations: 251.2 kB / 0.8928 GB, free: 7.512 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001225/0.0255, allocations: 55.64 kB / 0.8929 GB, free: 7.453 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.02551, allocations: 4 kB / 0.8929 GB, free: 7.449 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.02554, allocations: 37.64 kB / 0.8929 GB, free: 7.402 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=18): time 1.553e-06/0.02554, allocations: 4 kB / 0.8929 GB, free: 7.398 MB / 0.8542 GB Notification: Performance of matching and sorting (n=18): time 0.0006927/0.02624, allocations: 251.2 kB / 0.8931 GB, free: 7.145 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.02627, allocations: 55.41 kB / 0.8932 GB, free: 7.078 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009162/0.02719, allocations: 0.8197 MB / 0.894 GB, free: 6.246 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.02721, allocations: 37.64 kB / 0.894 GB, free: 6.203 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002303/0.02744, allocations: 403.5 kB / 0.8944 GB, free: 5.805 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 5.574e-05/0.0275, allocations: 79.33 kB / 0.8945 GB, free: 5.727 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.02763, allocations: 151.9 kB / 0.8946 GB, free: 5.566 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000202/0.02783, allocations: 0.5977 MB / 0.8952 GB, free: 4.957 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.02794, allocations: 57.28 kB / 0.8953 GB, free: 4.902 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002789/0.02821, allocations: 465.3 kB / 0.8957 GB, free: 4.27 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005676/0.02878, allocations: 0.5535 MB / 0.8963 GB, free: 3.539 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.02879, allocations: 4 kB / 0.8963 GB, free: 3.535 MB / 0.8542 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0005556/0.02934, allocations: 478.3 kB / 0.8967 GB, free: 3.059 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.02936, allocations: 8 kB / 0.8967 GB, free: 3.051 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.02937, allocations: 12 kB / 0.8967 GB, free: 3.039 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002028/0.02957, allocations: 47.64 kB / 0.8968 GB, free: 2.988 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000257/0.02983, allocations: 148 kB / 0.8969 GB, free: 2.844 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008366/0.03066, allocations: 1.771 MB / 0.8986 GB, free: 0.9492 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003443/0.03101, allocations: 123.4 kB / 0.8988 GB, free: 0.8281 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.57e-05/0.03103, allocations: 28 kB / 0.8988 GB, free: 0.8008 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.0001298/0.03116, allocations: 192.5 kB / 0.899 GB, free: 0.6016 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.665e-05/0.03123, allocations: 71.56 kB / 0.899 GB, free: 0.5312 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.158e-05/0.03128, allocations: 57.88 kB / 0.8991 GB, free: 484 kB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.03129, allocations: 7.984 kB / 0.8991 GB, free: 476 kB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.03129, allocations: 0 / 0.8991 GB, free: 476 kB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.03129, allocations: 3.938 kB / 0.8991 GB, free: 472 kB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004224/0.03172, allocations: 492.3 kB / 0.8996 GB, free: 15.94 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.275e-06/0.03172, allocations: 0 / 0.8996 GB, free: 15.94 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001349/0.03185, allocations: 51.89 kB / 0.8996 GB, free: 15.89 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001198/0.03197, allocations: 43.64 kB / 0.8997 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.03199, allocations: 8 kB / 0.8997 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007086/0.0327, allocations: 1.74 MB / 0.9014 GB, free: 13.98 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.0327, allocations: 0 / 0.9014 GB, free: 13.98 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003405/0.03304, allocations: 401 kB / 0.9018 GB, free: 13.56 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/0.03319, allocations: 111.5 kB / 0.9019 GB, free: 13.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.578e-05/0.03323, allocations: 8 kB / 0.9019 GB, free: 13.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001979/0.03343, allocations: 47.92 kB / 0.9019 GB, free: 13.4 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.973e-05/0.03348, allocations: 19.86 kB / 0.9019 GB, free: 13.38 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.03349, allocations: 8 kB / 0.9019 GB, free: 13.37 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0004204/0.03391, allocations: 471 kB / 0.9024 GB, free: 12.91 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8e-08/0.03391, allocations: 0 / 0.9024 GB, free: 12.91 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0005374/0.03445, allocations: 183.9 kB / 0.9026 GB, free: 12.73 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.0001024/0.03455, allocations: 111.2 kB / 0.9027 GB, free: 12.61 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.000468/0.03502, allocations: 418.1 kB / 0.9031 GB, free: 12.19 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.03502, allocations: 0 / 0.9031 GB, free: 12.19 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001569/0.03518, allocations: 245.4 kB / 0.9033 GB, free: 11.93 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005222/0.0357, allocations: 161.9 kB / 0.9035 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.03721, allocations: 1.155 MB / 0.9046 GB, free: 10.59 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001258/0.03734, allocations: 193.2 kB / 0.9048 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002288/0.03757, allocations: 148.5 kB / 0.9049 GB, free: 10.23 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001245/0.03769, allocations: 36.5 kB / 0.905 GB, free: 10.19 MB / 0.8698 GB Notification: Performance of SimCode: time 1.172e-06/0.03769, allocations: 0 / 0.905 GB, free: 10.19 MB / 0.8698 GB Notification: Performance of Templates: time 0.01141/0.0491, allocations: 8.76 MB / 0.9135 GB, free: 1.633 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.425466891145334]