Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.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.0009554/0.0009554, allocations: 92.22 kB / 19.65 MB, free: 276 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.001012/0.001012, allocations: 173 kB / 23.03 MB, free: 1.543 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.9164/0.9164, allocations: 177.1 MB / 203.4 MB, free: 5.621 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 1.94/1.94, allocations: 429.5 MB / 0.6732 GB, free: 4.035 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.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Za.i.[0-9,]+.|Zb.i.[0-9,]+.|Zc.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Za.i.[0-9,]+.|Zb.i.[0-9,]+.|Zc.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 0.8782 GB, free: 5.18 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.194e-05/2.339e-05, allocations: 2.312 kB / 0.8782 GB, free: 5.176 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.003312/0.003336, allocations: 3.282 MB / 0.8814 GB, free: 1.898 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001524/0.004859, allocations: 1.188 MB / 0.8825 GB, free: 0.7109 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001705/0.00503, allocations: 23.75 kB / 0.8826 GB, free: 0.6875 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0004011/0.005431, allocations: 138 kB / 0.8827 GB, free: 0.5547 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.0003604/0.005791, allocations: 282.9 kB / 0.883 GB, free: 284 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003011/0.006092, allocations: 224.9 kB / 0.8832 GB, free: 60 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0005166/0.006609, allocations: 0.7062 MB / 0.8839 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002718/0.006881, allocations: 238 kB / 0.8841 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003428/0.007223, allocations: 371.1 kB / 0.8844 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002764/0.0075, allocations: 251.3 kB / 0.8847 GB, free: 14.5 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 3.577e-05/0.007536, allocations: 28 kB / 0.8847 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000132/0.007668, allocations: 103.7 kB / 0.8848 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 9.721e-05/0.007765, allocations: 147.5 kB / 0.885 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001106/0.007875, allocations: 159.5 kB / 0.8851 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003299/0.008205, allocations: 410.5 kB / 0.8855 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.008207, allocations: 0 / 0.8855 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of FrontEnd: time 7.02e-07/0.008208, allocations: 0 / 0.8855 GB, free: 13.67 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.819e-06/0.008213, allocations: 0 / 0.8855 GB, free: 13.67 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.0006346/0.008847, allocations: 0.7722 MB / 0.8862 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.728e-05/0.008875, allocations: 8.031 kB / 0.8863 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000645/0.00952, allocations: 248.1 kB / 0.8865 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003617/0.009881, allocations: 402.6 kB / 0.8869 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.103e-05/0.009902, allocations: 29.36 kB / 0.8869 GB, free: 12.16 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.995e-05/0.009942, allocations: 32.38 kB / 0.8869 GB, free: 12.13 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004736/0.01042, allocations: 0.6214 MB / 0.8875 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.633e-05/0.01043, allocations: 8.125 kB / 0.8876 GB, free: 11.37 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.557e-05/0.01046, allocations: 16.36 kB / 0.8876 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.458e-05/0.01051, allocations: 63.89 kB / 0.8876 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002971/0.01081, allocations: 241.9 kB / 0.8879 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001814/0.01262, allocations: 4.241 MB / 0.892 GB, free: 6.645 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008133/0.01344, allocations: 0.5165 MB / 0.8925 GB, free: 6.09 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.894e-05/0.01353, allocations: 86.97 kB / 0.8926 GB, free: 5.992 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.01354, allocations: 4 kB / 0.8926 GB, free: 5.988 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.494e-05/0.01357, allocations: 41.39 kB / 0.8926 GB, free: 5.938 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=30): time 1.703e-06/0.01357, allocations: 0 / 0.8926 GB, free: 5.938 MB / 0.8073 GB Notification: Performance of matching and sorting (n=33): time 0.0009981/0.01457, allocations: 0.705 MB / 0.8933 GB, free: 5.211 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/0.01461, allocations: 106.8 kB / 0.8934 GB, free: 5.082 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002533/0.01486, allocations: 426.5 kB / 0.8938 GB, free: 4.645 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.01488, allocations: 29.7 kB / 0.8939 GB, free: 4.609 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.01502, allocations: 338.8 kB / 0.8942 GB, free: 4.27 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.021e-05/0.01508, allocations: 119 kB / 0.8943 GB, free: 4.152 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.913e-05/0.01517, allocations: 107.9 kB / 0.8944 GB, free: 4.039 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.0153, allocations: 0.5235 MB / 0.8949 GB, free: 3.504 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.984e-05/0.0154, allocations: 77.27 kB / 0.895 GB, free: 3.43 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002247/0.01563, allocations: 373 kB / 0.8953 GB, free: 2.938 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003657/0.01599, allocations: 0.4906 MB / 0.8958 GB, free: 2.32 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.016, allocations: 4 kB / 0.8958 GB, free: 2.316 MB / 0.8073 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0005288/0.01652, allocations: 0.4998 MB / 0.8963 GB, free: 1.797 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.01654, allocations: 11.94 kB / 0.8963 GB, free: 1.785 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.01655, allocations: 8 kB / 0.8963 GB, free: 1.777 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002085/0.01676, allocations: 91.47 kB / 0.8964 GB, free: 1.676 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002075/0.01696, allocations: 111.8 kB / 0.8965 GB, free: 1.566 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00214/0.0191, allocations: 5.245 MB / 0.9016 GB, free: 11.95 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001495/0.01925, allocations: 27.97 kB / 0.9017 GB, free: 11.93 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.263e-05/0.01928, allocations: 24 kB / 0.9017 GB, free: 11.9 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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 (60): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001186/0.01939, allocations: 200.6 kB / 0.9019 GB, free: 11.7 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.089e-05/0.01947, allocations: 59.7 kB / 0.9019 GB, free: 11.64 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003806/0.01985, allocations: 336.1 kB / 0.9023 GB, free: 11.29 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.01985, allocations: 4 kB / 0.9023 GB, free: 11.29 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.01985, allocations: 0 / 0.9023 GB, free: 11.29 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.01986, allocations: 0 / 0.9023 GB, free: 11.29 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008487/0.02071, allocations: 1.075 MB / 0.9033 GB, free: 10.12 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.02071, allocations: 4 kB / 0.9033 GB, free: 10.11 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001194/0.02083, allocations: 71.83 kB / 0.9034 GB, free: 10.04 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001482/0.02098, allocations: 75.28 kB / 0.9035 GB, free: 9.957 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.438e-05/0.02099, allocations: 8 kB / 0.9035 GB, free: 9.949 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00205/0.02304, allocations: 5.241 MB / 0.9086 GB, free: 4.34 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.234e-06/0.02305, allocations: 11.92 kB / 0.9086 GB, free: 4.328 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005278/0.02358, allocations: 0.7617 MB / 0.9093 GB, free: 3.492 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 9.118e-05/0.02367, allocations: 71.88 kB / 0.9094 GB, free: 3.422 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.818e-05/0.02369, allocations: 11.98 kB / 0.9094 GB, free: 3.41 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001446/0.02384, allocations: 19.98 kB / 0.9094 GB, free: 3.391 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.539e-05/0.0239, allocations: 43.81 kB / 0.9095 GB, free: 3.348 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.31e-05/0.02392, allocations: 12 kB / 0.9095 GB, free: 3.336 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.0001813/0.0241, allocations: 267.1 kB / 0.9097 GB, free: 3.082 MB / 0.823 GB Notification: Performance of sort global known variables: time 3.1e-08/0.0241, allocations: 0 / 0.9097 GB, free: 3.082 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0004482/0.02455, allocations: 128 kB / 0.9099 GB, free: 2.957 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (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.0001467/0.02469, allocations: 115.1 kB / 0.91 GB, free: 2.836 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.000756/0.02545, allocations: 0.7959 MB / 0.9108 GB, free: 1.988 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.02545, allocations: 0 / 0.9108 GB, free: 1.988 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003558/0.02581, allocations: 0.6272 MB / 0.9114 GB, free: 1.305 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005302/0.02634, allocations: 130.1 kB / 0.9115 GB, free: 1.18 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/0.02748, allocations: 0.8582 MB / 0.9123 GB, free: 248 kB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001017/0.02758, allocations: 137.7 kB / 0.9125 GB, free: 88 kB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0001558/0.02774, allocations: 92.39 kB / 0.9125 GB, free: 15.99 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.64e-05/0.02781, allocations: 36.5 kB / 0.9126 GB, free: 15.95 MB / 0.8386 GB Notification: Performance of SimCode: time 8.51e-07/0.02781, allocations: 0 / 0.9126 GB, free: 15.95 MB / 0.8386 GB Notification: Performance of Templates: time 0.007675/0.03548, allocations: 6.234 MB / 0.9187 GB, free: 9.848 MB / 0.8386 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_ThreePhases.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.215723797213286]