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.001102/0.001102, allocations: 92.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.0009895/0.0009895, allocations: 173 kB / 23.49 MB, free: 1.059 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.9636/0.9636, allocations: 177.1 MB / 203.8 MB, free: 5.633 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.093/2.093, allocations: 429.5 MB / 0.6736 GB, free: 4.039 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 5.04e-06/5.04e-06, allocations: 4 kB / 0.8782 GB, free: 6.668 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.344e-05/3.848e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.664 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.006636/0.006674, allocations: 4.338 MB / 0.8824 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.004088/0.01076, allocations: 2.418 MB / 0.8848 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003288/0.01109, allocations: 28.88 kB / 0.8848 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0007943/0.01189, allocations: 378.9 kB / 0.8852 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0007724/0.01266, allocations: 402.4 kB / 0.8856 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000576/0.01323, allocations: 323.5 kB / 0.8859 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0006597/0.01389, allocations: 0.7032 MB / 0.8865 GB, free: 14.1 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003876/0.01428, allocations: 235.2 kB / 0.8868 GB, free: 13.87 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004611/0.01474, allocations: 364.7 kB / 0.8871 GB, free: 13.51 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003239/0.01507, allocations: 243.2 kB / 0.8874 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 5.005e-05/0.01512, allocations: 28 kB / 0.8874 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005209/0.01564, allocations: 397.4 kB / 0.8878 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.000132/0.01577, allocations: 155.5 kB / 0.8879 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.0159, allocations: 155.6 kB / 0.8881 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0006638/0.01656, allocations: 0.5761 MB / 0.8886 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.01657, allocations: 0 / 0.8886 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.473e-06/0.01657, allocations: 0 / 0.8886 GB, free: 11.98 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.338e-06/0.01658, allocations: 0 / 0.8886 GB, free: 11.98 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: 99 * Number of variables: 99 Notification: Performance of Generate backend data structure: time 0.0007846/0.01736, allocations: 0.836 MB / 0.8894 GB, free: 11.11 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.0174, allocations: 8.031 kB / 0.8894 GB, free: 11.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009135/0.01832, allocations: 272.1 kB / 0.8897 GB, free: 10.83 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004542/0.01877, allocations: 391.7 kB / 0.8901 GB, free: 10.42 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.092e-05/0.01879, allocations: 29.3 kB / 0.8901 GB, free: 10.39 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.612e-05/0.01884, allocations: 36.33 kB / 0.8901 GB, free: 10.36 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005998/0.01944, allocations: 0.6137 MB / 0.8907 GB, free: 9.609 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.679e-05/0.01947, allocations: 8.125 kB / 0.8907 GB, free: 9.602 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.189e-05/0.01951, allocations: 20.36 kB / 0.8908 GB, free: 9.582 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.43e-05/0.01957, allocations: 63.89 kB / 0.8908 GB, free: 9.52 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000319/0.01989, allocations: 237.2 kB / 0.891 GB, free: 9.289 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002154/0.02204, allocations: 4.245 MB / 0.8952 GB, free: 4.875 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008583/0.0229, allocations: 0.5243 MB / 0.8957 GB, free: 4.312 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.02301, allocations: 75.05 kB / 0.8958 GB, free: 4.227 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.031e-05/0.02303, allocations: 7.984 kB / 0.8958 GB, free: 4.219 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/0.02305, allocations: 45.33 kB / 0.8958 GB, free: 4.164 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=30): time 2.975e-06/0.02306, allocations: 0 / 0.8958 GB, free: 4.164 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33): time 0.00112/0.02418, allocations: 0.7014 MB / 0.8965 GB, free: 3.441 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/0.02422, allocations: 106.8 kB / 0.8966 GB, free: 3.312 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002664/0.02449, allocations: 426.4 kB / 0.897 GB, free: 2.879 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.118e-05/0.02451, allocations: 29.7 kB / 0.8971 GB, free: 2.844 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000162/0.02467, allocations: 342.7 kB / 0.8974 GB, free: 2.504 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.603e-05/0.02473, allocations: 115.1 kB / 0.8975 GB, free: 2.391 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.57e-05/0.02483, allocations: 111.9 kB / 0.8976 GB, free: 2.273 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.02497, allocations: 0.5157 MB / 0.8981 GB, free: 1.746 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.02508, allocations: 85.27 kB / 0.8982 GB, free: 1.664 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002705/0.02535, allocations: 377 kB / 0.8985 GB, free: 1.168 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003702/0.02572, allocations: 486.5 kB / 0.899 GB, free: 0.5664 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.227e-06/0.02572, allocations: 4 kB / 0.899 GB, free: 0.5625 MB / 0.8542 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0005488/0.02627, allocations: 0.5075 MB / 0.8995 GB, free: 36 kB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.364e-05/0.02629, allocations: 8 kB / 0.8995 GB, free: 28 kB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.0263, allocations: 8 kB / 0.8995 GB, free: 20 kB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002864/0.02659, allocations: 83.75 kB / 0.8996 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002192/0.02681, allocations: 111.8 kB / 0.8997 GB, free: 15.82 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002305/0.02911, allocations: 5.248 MB / 0.9048 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002056/0.02932, allocations: 36.16 kB / 0.9049 GB, free: 10.16 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.422e-05/0.02934, allocations: 24 kB / 0.9049 GB, free: 10.14 MB / 0.8698 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.0001571/0.0295, allocations: 197.3 kB / 0.9051 GB, free: 9.938 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.563e-05/0.02958, allocations: 55.72 kB / 0.9051 GB, free: 9.883 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007265/0.0303, allocations: 343.4 kB / 0.9055 GB, free: 9.523 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.03031, allocations: 4 kB / 0.9055 GB, free: 9.52 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.485e-06/0.03031, allocations: 0 / 0.9055 GB, free: 9.52 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-06/0.03031, allocations: 4 kB / 0.9055 GB, free: 9.516 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009188/0.03123, allocations: 1.073 MB / 0.9065 GB, free: 8.348 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.03124, allocations: 0 / 0.9065 GB, free: 8.348 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001226/0.03136, allocations: 67.89 kB / 0.9066 GB, free: 8.281 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001648/0.03152, allocations: 83.22 kB / 0.9067 GB, free: 8.188 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.57e-05/0.03154, allocations: 8 kB / 0.9067 GB, free: 8.18 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002003/0.03354, allocations: 5.237 MB / 0.9118 GB, free: 2.574 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.03355, allocations: 7.984 kB / 0.9118 GB, free: 2.566 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007451/0.03429, allocations: 0.7711 MB / 0.9125 GB, free: 1.723 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001031/0.03439, allocations: 67.69 kB / 0.9126 GB, free: 1.656 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.885e-05/0.03442, allocations: 11.98 kB / 0.9126 GB, free: 1.645 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001536/0.03458, allocations: 23.98 kB / 0.9126 GB, free: 1.621 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.002e-05/0.03464, allocations: 43.8 kB / 0.9127 GB, free: 1.578 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.03465, allocations: 16 kB / 0.9127 GB, free: 1.562 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001685/0.03482, allocations: 271.1 kB / 0.913 GB, free: 1.301 MB / 0.8698 GB Notification: Performance of sort global known variables: time 9.1e-08/0.03482, allocations: 0 / 0.913 GB, free: 1.301 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.000494/0.03531, allocations: 124 kB / 0.9131 GB, free: 1.18 MB / 0.8698 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.0001207/0.03543, allocations: 115.1 kB / 0.9132 GB, free: 1.059 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0007347/0.03617, allocations: 0.7954 MB / 0.914 GB, free: 216 kB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.03617, allocations: 0 / 0.914 GB, free: 216 kB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.000361/0.03653, allocations: 0.6272 MB / 0.9146 GB, free: 15.53 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005551/0.03709, allocations: 142.3 kB / 0.9147 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001297/0.03838, allocations: 0.8429 MB / 0.9155 GB, free: 14.47 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001078/0.03849, allocations: 149.6 kB / 0.9157 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001603/0.03865, allocations: 80.34 kB / 0.9157 GB, free: 14.23 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.055e-05/0.03872, allocations: 32.5 kB / 0.9158 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of SimCode: time 1.673e-06/0.03873, allocations: 4 kB / 0.9158 GB, free: 14.2 MB / 0.8855 GB Notification: Performance of Templates: time 0.008648/0.04737, allocations: 5.96 MB / 0.9216 GB, free: 8.348 MB / 0.8855 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.396578381070867]