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.001468/0.001468, allocations: 88.2 kB / 20.19 MB, free: 4.359 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.00164/0.00164, allocations: 173 kB / 23.49 MB, free: 1.055 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.9449/0.9449, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.6736 GB, free: 4.051 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 1.503e-06/1.503e-06, allocations: 0 / 0.8781 GB, free: 6.707 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.461e-05/1.611e-05, allocations: 3.062 kB / 0.8781 GB, free: 6.703 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.HeatTransfer.Examples.ConductorInitialization): time 0.003001/0.003017, allocations: 2.874 MB / 0.8809 GB, free: 3.832 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002108/0.005125, allocations: 2.198 MB / 0.8831 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001646/0.00529, allocations: 23.09 kB / 0.8831 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0008438/0.006134, allocations: 390 kB / 0.8835 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003379/0.006472, allocations: 307.6 kB / 0.8838 GB, free: 0.9336 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004869/0.006959, allocations: 357.7 kB / 0.8841 GB, free: 0.5859 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.001112/0.00807, allocations: 1.694 MB / 0.8858 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001419/0.008212, allocations: 63.66 kB / 0.8858 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006132/0.008825, allocations: 0.7837 MB / 0.8866 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004204/0.009246, allocations: 490.9 kB / 0.8871 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.531e-05/0.009311, allocations: 64 kB / 0.8871 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 8.247e-05/0.009393, allocations: 71.94 kB / 0.8872 GB, free: 13.42 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002902/0.009684, allocations: 462.9 kB / 0.8876 GB, free: 12.97 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0005291/0.01021, allocations: 367.2 kB / 0.888 GB, free: 12.61 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0005797/0.01079, allocations: 0.8449 MB / 0.8888 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.01079, allocations: 0 / 0.8888 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of FrontEnd: time 4.91e-07/0.0108, allocations: 0 / 0.8888 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.084e-06/0.0108, allocations: 0 / 0.8888 GB, free: 11.76 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.001568/0.01237, allocations: 1.608 MB / 0.8904 GB, free: 10.11 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.212e-05/0.0124, allocations: 8.031 kB / 0.8904 GB, free: 10.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001445/0.01255, allocations: 140.2 kB / 0.8905 GB, free: 9.965 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008836/0.01343, allocations: 0.7702 MB / 0.8913 GB, free: 9.152 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.118e-05/0.01346, allocations: 33.03 kB / 0.8913 GB, free: 9.117 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.012e-05/0.01352, allocations: 56.33 kB / 0.8914 GB, free: 9.062 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000367/0.01389, allocations: 352.4 kB / 0.8917 GB, free: 8.668 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.788e-06/0.0139, allocations: 192 / 0.8917 GB, free: 8.668 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.748e-05/0.01393, allocations: 27.91 kB / 0.8917 GB, free: 8.641 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.088e-05/0.01394, allocations: 8 kB / 0.8917 GB, free: 8.633 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001686/0.01411, allocations: 111.7 kB / 0.8918 GB, free: 8.523 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001959/0.01606, allocations: 2.711 MB / 0.8945 GB, free: 5.723 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007988/0.01686, allocations: 465.3 kB / 0.8949 GB, free: 5.258 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.497e-05/0.01696, allocations: 59.67 kB / 0.895 GB, free: 5.195 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.494e-05/0.01697, allocations: 15.92 kB / 0.895 GB, free: 5.18 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.17e-05/0.017, allocations: 33.39 kB / 0.895 GB, free: 5.137 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=26): time 2.615e-06/0.017, allocations: 3.984 kB / 0.895 GB, free: 5.133 MB / 0.8542 GB Notification: Performance of matching and sorting (n=26): time 0.0005859/0.01758, allocations: 331.5 kB / 0.8953 GB, free: 4.801 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.876e-05/0.01761, allocations: 59.34 kB / 0.8954 GB, free: 4.73 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009847/0.0186, allocations: 1.165 MB / 0.8965 GB, free: 3.543 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.584e-05/0.01862, allocations: 41.7 kB / 0.8966 GB, free: 3.496 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000321/0.01894, allocations: 0.5234 MB / 0.8971 GB, free: 2.965 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 8.873e-05/0.01903, allocations: 115.1 kB / 0.8972 GB, free: 2.852 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/0.01919, allocations: 183.9 kB / 0.8974 GB, free: 2.664 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001325/0.01932, allocations: 0.5238 MB / 0.8979 GB, free: 2.133 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.01944, allocations: 73.25 kB / 0.898 GB, free: 2.062 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003049/0.01974, allocations: 0.529 MB / 0.8985 GB, free: 1.336 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004896/0.02023, allocations: 0.6594 MB / 0.8991 GB, free: 492 kB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.02024, allocations: 4 kB / 0.8991 GB, free: 488 kB / 0.8542 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0008639/0.0211, allocations: 0.7149 MB / 0.8998 GB, free: 15.75 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.894e-05/0.02112, allocations: 11.98 kB / 0.8998 GB, free: 15.74 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.02113, allocations: 15.94 kB / 0.8999 GB, free: 15.72 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00123/0.02236, allocations: 0.4951 MB / 0.9003 GB, free: 15.22 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001713/0.02253, allocations: 107.8 kB / 0.9004 GB, free: 15.12 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002465/0.025, allocations: 3.065 MB / 0.9034 GB, free: 11.94 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005628/0.02556, allocations: 219.2 kB / 0.9036 GB, free: 11.72 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.805e-05/0.02559, allocations: 32 kB / 0.9037 GB, free: 11.69 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.0001424/0.02573, allocations: 200.3 kB / 0.9039 GB, free: 11.48 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.29e-05/0.02582, allocations: 103.3 kB / 0.904 GB, free: 11.38 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.286e-05/0.0259, allocations: 88.8 kB / 0.904 GB, free: 11.3 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.0259, allocations: 12.02 kB / 0.9041 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.0259, allocations: 0 / 0.9041 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.02591, allocations: 0 / 0.9041 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005746/0.02648, allocations: 0.7125 MB / 0.9048 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.02648, allocations: 3.984 kB / 0.9048 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002185/0.0267, allocations: 87.86 kB / 0.9048 GB, free: 10.45 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001208/0.02682, allocations: 51.58 kB / 0.9049 GB, free: 10.39 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.38e-05/0.02685, allocations: 11.98 kB / 0.9049 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006679/0.02752, allocations: 1.755 MB / 0.9066 GB, free: 8.508 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.02752, allocations: 0 / 0.9066 GB, free: 8.508 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004269/0.02794, allocations: 495.6 kB / 0.9071 GB, free: 8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002407/0.02818, allocations: 207.4 kB / 0.9073 GB, free: 7.797 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.711e-05/0.02825, allocations: 11.98 kB / 0.9073 GB, free: 7.785 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003329/0.02858, allocations: 95.83 kB / 0.9074 GB, free: 7.691 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.187e-05/0.02864, allocations: 27.89 kB / 0.9074 GB, free: 7.664 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.849e-06/0.02865, allocations: 4 kB / 0.9074 GB, free: 7.66 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0006244/0.02927, allocations: 0.6539 MB / 0.9081 GB, free: 6.996 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.02927, allocations: 0 / 0.9081 GB, free: 6.996 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0006487/0.02992, allocations: 463.8 kB / 0.9085 GB, free: 6.543 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.0001039/0.03002, allocations: 123.1 kB / 0.9086 GB, free: 6.41 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0008235/0.03085, allocations: 0.6785 MB / 0.9093 GB, free: 5.711 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.03085, allocations: 0 / 0.9093 GB, free: 5.711 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001787/0.03103, allocations: 269.4 kB / 0.9095 GB, free: 5.426 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006837/0.03171, allocations: 263.3 kB / 0.9098 GB, free: 5.168 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001779/0.03349, allocations: 1.699 MB / 0.9114 GB, free: 3.43 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001667/0.03366, allocations: 254.4 kB / 0.9117 GB, free: 3.16 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002775/0.03393, allocations: 198.5 kB / 0.9119 GB, free: 2.961 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001239/0.03406, allocations: 52.5 kB / 0.9119 GB, free: 2.91 MB / 0.8698 GB Notification: Performance of SimCode: time 7.52e-07/0.03406, allocations: 0 / 0.9119 GB, free: 2.91 MB / 0.8698 GB Notification: Performance of Templates: time 0.01753/0.05158, allocations: 16.48 MB / 0.928 GB, free: 2.746 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.5048374170437455]