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.0008064/0.0008064, allocations: 81.17 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.0009414/0.0009414, allocations: 169 kB / 23.27 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.928/0.928, allocations: 177.2 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.286/2.286, allocations: 438.1 MB / 0.682 GB, free: 14.19 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.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 3.467e-06/3.467e-06, allocations: 3.984 kB / 0.8897 GB, free: 9.762 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.744e-05/3.091e-05, allocations: 2.312 kB / 0.8897 GB, free: 9.758 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.003569/0.0036, allocations: 3.235 MB / 0.8929 GB, free: 6.504 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001494/0.005094, allocations: 1.189 MB / 0.8941 GB, free: 5.309 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001696/0.005264, allocations: 23.75 kB / 0.8941 GB, free: 5.285 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0004426/0.005706, allocations: 131.1 kB / 0.8942 GB, free: 5.156 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0003615/0.006068, allocations: 278.2 kB / 0.8945 GB, free: 4.883 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004243/0.006492, allocations: 231.5 kB / 0.8947 GB, free: 4.656 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.000466/0.006958, allocations: 0.7023 MB / 0.8954 GB, free: 3.949 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002599/0.007218, allocations: 226.1 kB / 0.8956 GB, free: 3.727 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003475/0.007566, allocations: 382.9 kB / 0.896 GB, free: 3.352 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002775/0.007843, allocations: 251.3 kB / 0.8962 GB, free: 3.105 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 3.712e-05/0.00788, allocations: 28 kB / 0.8962 GB, free: 3.078 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001415/0.008022, allocations: 103.8 kB / 0.8963 GB, free: 2.977 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001038/0.008125, allocations: 151.5 kB / 0.8965 GB, free: 2.828 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001146/0.00824, allocations: 151.6 kB / 0.8966 GB, free: 2.68 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0003486/0.008589, allocations: 406.4 kB / 0.897 GB, free: 2.281 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.008592, allocations: 0 / 0.897 GB, free: 2.281 MB / 0.8542 GB Notification: Performance of FrontEnd: time 8.31e-07/0.008593, allocations: 0 / 0.897 GB, free: 2.281 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.701e-06/0.008598, allocations: 0 / 0.897 GB, free: 2.281 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.0006397/0.009238, allocations: 0.7874 MB / 0.8978 GB, free: 1.453 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.696e-05/0.009275, allocations: 12.03 kB / 0.8978 GB, free: 1.441 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000606/0.009881, allocations: 216.2 kB / 0.898 GB, free: 1.23 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006348/0.01052, allocations: 382.6 kB / 0.8984 GB, free: 0.8281 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/0.01054, allocations: 29.38 kB / 0.8984 GB, free: 0.8008 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.918e-05/0.01057, allocations: 32.36 kB / 0.8984 GB, free: 0.7695 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003951/0.01097, allocations: 0.5902 MB / 0.899 GB, free: 40 kB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.01098, allocations: 4.188 kB / 0.899 GB, free: 36 kB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.453e-05/0.01101, allocations: 20.36 kB / 0.899 GB, free: 16 kB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.469e-05/0.01107, allocations: 59.83 kB / 0.8991 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001986/0.01127, allocations: 199 kB / 0.8993 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001756/0.01303, allocations: 4.163 MB / 0.9033 GB, free: 11.44 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006779/0.01371, allocations: 421.1 kB / 0.9037 GB, free: 10.99 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.756e-05/0.01377, allocations: 70.92 kB / 0.9038 GB, free: 10.91 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.01379, allocations: 11.98 kB / 0.9038 GB, free: 10.9 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.246e-05/0.01381, allocations: 49.31 kB / 0.9039 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=30): time 2.906e-06/0.01381, allocations: 0 / 0.9039 GB, free: 10.84 MB / 0.8698 GB Notification: Performance of matching and sorting (n=33): time 0.0008089/0.01462, allocations: 480.7 kB / 0.9043 GB, free: 10.35 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.922e-05/0.01466, allocations: 110.8 kB / 0.9044 GB, free: 10.22 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002165/0.01488, allocations: 418.2 kB / 0.9048 GB, free: 9.793 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.787e-05/0.0149, allocations: 33.7 kB / 0.9049 GB, free: 9.754 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004023/0.0153, allocations: 338.8 kB / 0.9052 GB, free: 9.414 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 5.826e-05/0.01536, allocations: 130.9 kB / 0.9053 GB, free: 9.285 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.418e-05/0.01544, allocations: 107.9 kB / 0.9054 GB, free: 9.172 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001203/0.01556, allocations: 0.5234 MB / 0.9059 GB, free: 8.637 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.247e-05/0.01562, allocations: 61.25 kB / 0.906 GB, free: 8.578 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001768/0.0158, allocations: 361 kB / 0.9063 GB, free: 8.098 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002982/0.0161, allocations: 462 kB / 0.9068 GB, free: 7.52 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.0161, allocations: 4 kB / 0.9068 GB, free: 7.516 MB / 0.8698 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.0004505/0.01655, allocations: 468.4 kB / 0.9072 GB, free: 7.039 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.01657, allocations: 8 kB / 0.9072 GB, free: 7.031 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.01658, allocations: 12.06 kB / 0.9072 GB, free: 7.02 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001939/0.01677, allocations: 82.98 kB / 0.9073 GB, free: 6.926 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001816/0.01695, allocations: 103.8 kB / 0.9074 GB, free: 6.824 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0024/0.01935, allocations: 5.176 MB / 0.9125 GB, free: 1.305 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001718/0.01953, allocations: 16 kB / 0.9125 GB, free: 1.289 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.01955, allocations: 24.92 kB / 0.9125 GB, free: 1.266 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.0001248/0.01967, allocations: 188.3 kB / 0.9127 GB, free: 1.07 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.73e-05/0.01974, allocations: 63.7 kB / 0.9127 GB, free: 1.008 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003482/0.02009, allocations: 315.6 kB / 0.913 GB, free: 0.6836 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.02009, allocations: 4 kB / 0.913 GB, free: 0.6797 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.02009, allocations: 0 / 0.913 GB, free: 0.6797 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.316e-06/0.0201, allocations: 0 / 0.913 GB, free: 0.6797 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007779/0.02087, allocations: 0.9885 MB / 0.914 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.02088, allocations: 4 kB / 0.914 GB, free: 15.6 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.02098, allocations: 51.91 kB / 0.9141 GB, free: 15.55 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001378/0.02112, allocations: 79.22 kB / 0.9141 GB, free: 15.46 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.02113, allocations: 8 kB / 0.9142 GB, free: 15.45 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002294/0.02343, allocations: 5.176 MB / 0.9192 GB, free: 9.934 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.02343, allocations: 4 kB / 0.9192 GB, free: 9.93 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004404/0.02387, allocations: 0.7448 MB / 0.9199 GB, free: 9.109 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001012/0.02397, allocations: 75.59 kB / 0.92 GB, free: 9.035 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.024, allocations: 8 kB / 0.92 GB, free: 9.027 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/0.02413, allocations: 8 kB / 0.92 GB, free: 9.02 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.198e-05/0.02417, allocations: 35.83 kB / 0.9201 GB, free: 8.984 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-05/0.02418, allocations: 12 kB / 0.9201 GB, free: 8.973 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001158/0.0243, allocations: 263.1 kB / 0.9203 GB, free: 8.719 MB / 0.8855 GB Notification: Performance of sort global known variables: time 4e-08/0.0243, allocations: 0 / 0.9203 GB, free: 8.719 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004178/0.02472, allocations: 120 kB / 0.9204 GB, free: 8.602 MB / 0.8855 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.0001086/0.02482, allocations: 111.2 kB / 0.9205 GB, free: 8.484 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0005561/0.02538, allocations: 0.7654 MB / 0.9213 GB, free: 7.668 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.02538, allocations: 0 / 0.9213 GB, free: 7.668 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.000309/0.02569, allocations: 0.6188 MB / 0.9219 GB, free: 6.992 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005226/0.02621, allocations: 138.4 kB / 0.922 GB, free: 6.859 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/0.02723, allocations: 0.8489 MB / 0.9229 GB, free: 5.93 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.077e-05/0.02732, allocations: 145.5 kB / 0.923 GB, free: 5.77 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001236/0.02744, allocations: 52.41 kB / 0.923 GB, free: 5.719 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001772/0.02762, allocations: 174.1 kB / 0.9232 GB, free: 5.547 MB / 0.8855 GB Notification: Performance of SimCode: time 7.12e-07/0.02762, allocations: 8 kB / 0.9232 GB, free: 5.539 MB / 0.8855 GB Notification: Performance of Templates: time 0.01062/0.03823, allocations: 6.326 MB / 0.9294 GB, free: 15.34 MB / 0.9011 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.206254377029836]