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.0009412/0.0009412, allocations: 93.06 kB / 19.65 MB, free: 280 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.001441/0.001441, allocations: 173 kB / 23.03 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 0.9241/0.9241, allocations: 177.1 MB / 203.4 MB, free: 5.648 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.054/2.054, allocations: 429.5 MB / 0.6733 GB, free: 4.047 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.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.033e-06/2.033e-06, allocations: 0.7656 kB / 0.8781 GB, free: 6.367 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.449e-05/2.652e-05, allocations: 8.922 kB / 0.8781 GB, free: 6.359 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorInitialization): time 0.003424/0.003451, allocations: 2.891 MB / 0.8809 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002866/0.006317, allocations: 2.21 MB / 0.8831 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002834/0.0066, allocations: 19.81 kB / 0.8831 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.001185/0.007786, allocations: 395 kB / 0.8835 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0004611/0.008247, allocations: 297.1 kB / 0.8838 GB, free: 0.5703 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008444/0.009091, allocations: 371.5 kB / 0.8841 GB, free: 216 kB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.001551/0.01064, allocations: 1.696 MB / 0.8858 GB, free: 14.51 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002218/0.01086, allocations: 63.36 kB / 0.8858 GB, free: 14.44 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009937/0.01186, allocations: 0.7798 MB / 0.8866 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006219/0.01248, allocations: 0.4927 MB / 0.8871 GB, free: 13.17 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001009/0.01258, allocations: 64 kB / 0.8872 GB, free: 13.11 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001103/0.01269, allocations: 67.94 kB / 0.8872 GB, free: 13.04 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.000328/0.01302, allocations: 466.9 kB / 0.8877 GB, free: 12.58 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0003108/0.01333, allocations: 363.8 kB / 0.888 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0007174/0.01405, allocations: 0.8458 MB / 0.8888 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.01405, allocations: 0 / 0.8888 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.062e-06/0.01405, allocations: 0 / 0.8888 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.045e-05/0.01407, allocations: 4 kB / 0.8888 GB, free: 11.38 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.00191/0.01598, allocations: 1.605 MB / 0.8904 GB, free: 9.727 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.01602, allocations: 8.031 kB / 0.8904 GB, free: 9.719 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002/0.01622, allocations: 136.2 kB / 0.8905 GB, free: 9.586 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009233/0.01715, allocations: 0.7702 MB / 0.8913 GB, free: 8.773 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.366e-05/0.01718, allocations: 37.03 kB / 0.8913 GB, free: 8.734 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.164e-05/0.01725, allocations: 52.33 kB / 0.8914 GB, free: 8.684 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004146/0.01767, allocations: 356.4 kB / 0.8917 GB, free: 8.285 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.01768, allocations: 192 / 0.8917 GB, free: 8.285 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.747e-05/0.01771, allocations: 15.94 kB / 0.8917 GB, free: 8.27 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.314e-05/0.01772, allocations: 11.98 kB / 0.8917 GB, free: 8.258 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001753/0.01789, allocations: 115.7 kB / 0.8919 GB, free: 8.145 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002181/0.02008, allocations: 2.715 MB / 0.8945 GB, free: 5.34 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008699/0.02095, allocations: 463.3 kB / 0.895 GB, free: 4.875 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001021/0.02105, allocations: 59.67 kB / 0.895 GB, free: 4.812 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.711e-05/0.02106, allocations: 8 kB / 0.895 GB, free: 4.805 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/0.02109, allocations: 37.38 kB / 0.8951 GB, free: 4.758 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=26): time 2.124e-06/0.02109, allocations: 3.938 kB / 0.8951 GB, free: 4.754 MB / 0.8542 GB Notification: Performance of matching and sorting (n=26): time 0.0006549/0.02175, allocations: 326.8 kB / 0.8954 GB, free: 4.426 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.862e-05/0.02179, allocations: 59.34 kB / 0.8954 GB, free: 4.355 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001085/0.02287, allocations: 1.165 MB / 0.8966 GB, free: 3.168 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.0229, allocations: 41.7 kB / 0.8966 GB, free: 3.121 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003988/0.0233, allocations: 0.5234 MB / 0.8971 GB, free: 2.59 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.0234, allocations: 119 kB / 0.8972 GB, free: 2.473 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000153/0.02356, allocations: 183.9 kB / 0.8974 GB, free: 2.285 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.02371, allocations: 0.5238 MB / 0.8979 GB, free: 1.754 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000127/0.02384, allocations: 77.19 kB / 0.898 GB, free: 1.68 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003198/0.02416, allocations: 0.5251 MB / 0.8985 GB, free: 0.957 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000515/0.02468, allocations: 0.6594 MB / 0.8991 GB, free: 104 kB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.243e-06/0.02468, allocations: 4 kB / 0.8991 GB, free: 100 kB / 0.8542 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0009224/0.02561, allocations: 0.7109 MB / 0.8998 GB, free: 15.38 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.385e-05/0.02563, allocations: 15.98 kB / 0.8999 GB, free: 15.36 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.02564, allocations: 12 kB / 0.8999 GB, free: 15.35 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001285/0.02693, allocations: 0.4967 MB / 0.9004 GB, free: 14.85 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001961/0.02712, allocations: 111.8 kB / 0.9005 GB, free: 14.74 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002982/0.03011, allocations: 3.064 MB / 0.9035 GB, free: 11.56 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006832/0.03079, allocations: 219.2 kB / 0.9037 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.732e-05/0.03083, allocations: 32 kB / 0.9037 GB, free: 11.31 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 (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.0001715/0.031, allocations: 196.3 kB / 0.9039 GB, free: 11.11 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001039/0.0311, allocations: 107.3 kB / 0.904 GB, free: 11 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.971e-05/0.03118, allocations: 92.78 kB / 0.9041 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.467e-06/0.03118, allocations: 8.031 kB / 0.9041 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.742e-06/0.03119, allocations: 3.984 kB / 0.9041 GB, free: 10.9 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.638e-06/0.0312, allocations: 0 / 0.9041 GB, free: 10.9 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006617/0.03186, allocations: 0.7125 MB / 0.9048 GB, free: 10.16 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.03186, allocations: 0 / 0.9048 GB, free: 10.16 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002352/0.0321, allocations: 95.78 kB / 0.9049 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001515/0.03225, allocations: 47.64 kB / 0.9049 GB, free: 10.01 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.448e-05/0.03228, allocations: 11.98 kB / 0.9049 GB, free: 10 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000791/0.03307, allocations: 1.751 MB / 0.9066 GB, free: 8.129 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.654e-06/0.03307, allocations: 4 kB / 0.9066 GB, free: 8.125 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005212/0.0336, allocations: 495.8 kB / 0.9071 GB, free: 7.617 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002843/0.03388, allocations: 203.2 kB / 0.9073 GB, free: 7.418 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.442e-05/0.03395, allocations: 11.98 kB / 0.9073 GB, free: 7.406 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003525/0.03431, allocations: 95.83 kB / 0.9074 GB, free: 7.312 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.354e-05/0.03438, allocations: 19.91 kB / 0.9074 GB, free: 7.293 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.03439, allocations: 11.98 kB / 0.9074 GB, free: 7.281 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007009/0.0351, allocations: 0.65 MB / 0.9081 GB, free: 6.621 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9e-08/0.0351, allocations: 0 / 0.9081 GB, free: 6.621 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000763/0.03586, allocations: 463.8 kB / 0.9085 GB, free: 6.168 MB / 0.8698 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.0001582/0.03602, allocations: 115.2 kB / 0.9086 GB, free: 6.043 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0009805/0.037, allocations: 0.6861 MB / 0.9093 GB, free: 5.336 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.037, allocations: 0 / 0.9093 GB, free: 5.336 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001997/0.0372, allocations: 265.4 kB / 0.9095 GB, free: 5.055 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007628/0.03796, allocations: 265 kB / 0.9098 GB, free: 4.793 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0022/0.04016, allocations: 1.693 MB / 0.9115 GB, free: 3.059 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001801/0.04034, allocations: 254.4 kB / 0.9117 GB, free: 2.789 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003237/0.04067, allocations: 198.5 kB / 0.9119 GB, free: 2.59 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001413/0.04081, allocations: 56.5 kB / 0.9119 GB, free: 2.535 MB / 0.8698 GB Notification: Performance of SimCode: time 2.004e-06/0.04081, allocations: 0 / 0.9119 GB, free: 2.535 MB / 0.8698 GB Notification: Performance of Templates: time 0.01946/0.06027, allocations: 17.18 MB / 0.9287 GB, free: 1.68 MB / 0.8855 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.8493356253020465]