Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.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.001315/0.001315, allocations: 81.92 kB / 19.87 MB, free: 4.621 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.001348/0.001348, allocations: 173.7 kB / 23.28 MB, free: 1.223 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.9232/0.9232, allocations: 177.1 MB / 203.7 MB, free: 5.52 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.26/2.26, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 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.ConductorInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conS1.T.[0-9,]+.|conS1.Q_flow.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization") translateModel(Buildings.HeatTransfer.Examples.ConductorInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|conS1.T.[0-9,]+.|conS1.Q_flow.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 3.938 kB / 0.8897 GB, free: 9.809 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.576e-05/2.779e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.805 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorInitialization): time 0.005148/0.005175, allocations: 2.857 MB / 0.8925 GB, free: 6.926 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.003542/0.008718, allocations: 2.177 MB / 0.8946 GB, free: 4.742 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004195/0.009137, allocations: 19.81 kB / 0.8946 GB, free: 4.723 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001428/0.01057, allocations: 390 kB / 0.895 GB, free: 4.34 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0006664/0.01123, allocations: 310.4 kB / 0.8953 GB, free: 4.035 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001125/0.01236, allocations: 366.9 kB / 0.8956 GB, free: 3.676 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.002334/0.01469, allocations: 1.688 MB / 0.8973 GB, free: 1.984 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002454/0.01494, allocations: 66.61 kB / 0.8974 GB, free: 1.91 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001321/0.01626, allocations: 0.7837 MB / 0.8981 GB, free: 1.125 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008982/0.01716, allocations: 0.4911 MB / 0.8986 GB, free: 0.6328 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0002215/0.01738, allocations: 64 kB / 0.8987 GB, free: 0.5703 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001688/0.01755, allocations: 75.94 kB / 0.8987 GB, free: 0.4961 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.000436/0.01798, allocations: 466.8 kB / 0.8992 GB, free: 40 kB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0006227/0.0186, allocations: 363.2 kB / 0.8995 GB, free: 15.68 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.001024/0.01963, allocations: 0.8488 MB / 0.9004 GB, free: 14.83 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.01963, allocations: 4 kB / 0.9004 GB, free: 14.83 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.202e-06/0.01963, allocations: 0 / 0.9004 GB, free: 14.83 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.027e-05/0.01967, allocations: 0 / 0.9004 GB, free: 14.83 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.002446/0.02211, allocations: 1.48 MB / 0.9018 GB, free: 13.3 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.568e-05/0.02216, allocations: 8.031 kB / 0.9018 GB, free: 13.3 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002748/0.02243, allocations: 136.2 kB / 0.9019 GB, free: 13.16 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001032/0.02346, allocations: 0.7116 MB / 0.9026 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.02348, allocations: 29.03 kB / 0.9027 GB, free: 12.38 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.546e-05/0.02354, allocations: 52.33 kB / 0.9027 GB, free: 12.33 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006037/0.02414, allocations: 344.3 kB / 0.903 GB, free: 11.94 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.02415, allocations: 192 / 0.903 GB, free: 11.94 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.221e-05/0.02418, allocations: 15.94 kB / 0.9031 GB, free: 11.93 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.464e-06/0.02418, allocations: 12 kB / 0.9031 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.02429, allocations: 92.34 kB / 0.9032 GB, free: 11.82 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001647/0.02594, allocations: 2.441 MB / 0.9055 GB, free: 9.297 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006699/0.02661, allocations: 410.8 kB / 0.9059 GB, free: 8.883 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.817e-05/0.02668, allocations: 55.66 kB / 0.906 GB, free: 8.824 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.282e-05/0.02669, allocations: 4 kB / 0.906 GB, free: 8.82 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.02672, allocations: 41.33 kB / 0.906 GB, free: 8.77 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=26): time 1.623e-06/0.02672, allocations: 0 / 0.906 GB, free: 8.77 MB / 0.8698 GB Notification: Performance of matching and sorting (n=26): time 0.0004852/0.0272, allocations: 300.3 kB / 0.9063 GB, free: 8.469 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.061e-05/0.02723, allocations: 55.41 kB / 0.9064 GB, free: 8.402 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008242/0.02806, allocations: 1.13 MB / 0.9075 GB, free: 7.25 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.393e-05/0.02808, allocations: 37.7 kB / 0.9075 GB, free: 7.207 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003029/0.02838, allocations: 0.5427 MB / 0.908 GB, free: 6.656 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 8.648e-05/0.02847, allocations: 119 kB / 0.9082 GB, free: 6.539 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001455/0.02862, allocations: 199.8 kB / 0.9083 GB, free: 6.336 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.02875, allocations: 0.5238 MB / 0.9089 GB, free: 5.805 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.049e-05/0.02882, allocations: 57.2 kB / 0.9089 GB, free: 5.75 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002628/0.02908, allocations: 0.5094 MB / 0.9094 GB, free: 5.039 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006858/0.02977, allocations: 0.6586 MB / 0.9101 GB, free: 4.184 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.02977, allocations: 0 / 0.9101 GB, free: 4.184 MB / 0.8698 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0007161/0.03049, allocations: 0.6562 MB / 0.9107 GB, free: 3.516 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.03051, allocations: 8 kB / 0.9107 GB, free: 3.508 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.03052, allocations: 12 kB / 0.9107 GB, free: 3.496 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000922/0.03144, allocations: 345.4 kB / 0.911 GB, free: 3.156 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.0316, allocations: 107.8 kB / 0.9111 GB, free: 3.051 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002052/0.03365, allocations: 2.911 MB / 0.914 GB, free: 28 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003847/0.03403, allocations: 71.58 kB / 0.9141 GB, free: 15.95 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.557e-05/0.03406, allocations: 28 kB / 0.9141 GB, free: 15.93 MB / 0.8855 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 (61): * Single equations (assignments): 60 * 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,21,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001418/0.0342, allocations: 196.3 kB / 0.9143 GB, free: 15.72 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.877e-05/0.03429, allocations: 111.3 kB / 0.9144 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.638e-05/0.03436, allocations: 84.8 kB / 0.9145 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.03436, allocations: 4 kB / 0.9145 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.03436, allocations: 0 / 0.9145 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.03436, allocations: 32 / 0.9145 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004484/0.03481, allocations: 0.5286 MB / 0.915 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.03482, allocations: 0 / 0.915 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/0.03499, allocations: 71.89 kB / 0.915 GB, free: 14.91 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001057/0.0351, allocations: 31.64 kB / 0.9151 GB, free: 14.87 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.193e-05/0.03512, allocations: 15.98 kB / 0.9151 GB, free: 14.86 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008796/0.036, allocations: 1.728 MB / 0.9168 GB, free: 13.01 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.036, allocations: 0 / 0.9168 GB, free: 13.01 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003607/0.03636, allocations: 471 kB / 0.9172 GB, free: 12.53 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001943/0.03656, allocations: 183.2 kB / 0.9174 GB, free: 12.35 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.339e-05/0.03661, allocations: 11.98 kB / 0.9174 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002128/0.03682, allocations: 16.12 kB / 0.9174 GB, free: 12.32 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.426e-05/0.03686, allocations: 15.97 kB / 0.9174 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.648e-06/0.03687, allocations: 4 kB / 0.9174 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0004214/0.03729, allocations: 0.603 MB / 0.918 GB, free: 11.69 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.1e-07/0.03729, allocations: 3.938 kB / 0.918 GB, free: 11.69 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0006104/0.0379, allocations: 463.8 kB / 0.9185 GB, free: 11.23 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 10 (conS1.lay[1].T[1],conS1.lay[1].T[2],conS1.lay[1].T[3],conS1.lay[1].T[4],conS1.lay[1].T[5],conS1.lay[2].T[1],conS1.lay[2].T[2],conS1.lay[2].T[3],conS1.lay[2].T[4],conS1.lay[2].T[5]) * 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 (25): * Single equations (assignments): 24 * 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.0001026/0.038, allocations: 115.2 kB / 0.9186 GB, free: 11.11 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0006894/0.03869, allocations: 0.6552 MB / 0.9192 GB, free: 10.44 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.03869, allocations: 0.6875 kB / 0.9192 GB, free: 10.44 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.03884, allocations: 257.4 kB / 0.9195 GB, free: 10.16 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006455/0.03948, allocations: 266.8 kB / 0.9197 GB, free: 9.902 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001704/0.04118, allocations: 1.68 MB / 0.9214 GB, free: 8.18 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001656/0.04135, allocations: 262.3 kB / 0.9216 GB, free: 7.902 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001771/0.04153, allocations: 94.69 kB / 0.9217 GB, free: 7.805 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003749/0.0419, allocations: 298 kB / 0.922 GB, free: 7.512 MB / 0.8855 GB Notification: Performance of SimCode: time 8.42e-07/0.0419, allocations: 0 / 0.922 GB, free: 7.512 MB / 0.8855 GB Notification: Performance of Templates: time 0.0191/0.061, allocations: 17.52 MB / 0.9391 GB, free: 6.348 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe ; mkfifo Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe ; head -c 1048576 < Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe >> ../files/Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.sim & ./Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.HeatTransfer.Examples.ConductorInitialization_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_HeatTransfer_Examples_ConductorInitialization.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.492412045132369]