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.00129/0.00129, allocations: 93.06 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.001479/0.001479, allocations: 165 kB / 23.02 MB, free: 1.551 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.9461/0.9461, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.041/2.041, allocations: 429.5 MB / 0.6732 GB, free: 4.055 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 2.285e-06/2.285e-06, allocations: 0 / 0.8782 GB, free: 6.324 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.307e-05/3.536e-05, allocations: 4.844 kB / 0.8782 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.ThreePhases): time 0.00569/0.005725, allocations: 3.29 MB / 0.8814 GB, free: 3.031 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001914/0.007639, allocations: 1.188 MB / 0.8825 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002401/0.007879, allocations: 23.75 kB / 0.8826 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0005309/0.00841, allocations: 135 kB / 0.8827 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0005205/0.008931, allocations: 277.6 kB / 0.883 GB, free: 1.418 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004221/0.009353, allocations: 225.4 kB / 0.8832 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0007478/0.0101, allocations: 0.7114 MB / 0.8839 GB, free: 496 kB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004058/0.01051, allocations: 227.2 kB / 0.8841 GB, free: 268 kB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005206/0.01103, allocations: 375 kB / 0.8844 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003125/0.01134, allocations: 240.7 kB / 0.8847 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 4.399e-05/0.01138, allocations: 32 kB / 0.8847 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001974/0.01158, allocations: 95.8 kB / 0.8848 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001307/0.01171, allocations: 160.1 kB / 0.8849 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001358/0.01185, allocations: 160.7 kB / 0.8851 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0004095/0.01226, allocations: 402.5 kB / 0.8855 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.01226, allocations: 0 / 0.8855 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.673e-06/0.01226, allocations: 0 / 0.8855 GB, free: 14.83 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.01227, allocations: 3.469 kB / 0.8855 GB, free: 14.83 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.0007746/0.01304, allocations: 0.7839 MB / 0.8863 GB, free: 14.01 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.01308, allocations: 12.03 kB / 0.8863 GB, free: 14 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008278/0.01391, allocations: 268 kB / 0.8865 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004283/0.01434, allocations: 392.5 kB / 0.8869 GB, free: 13.32 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.236e-05/0.01436, allocations: 25.36 kB / 0.8869 GB, free: 13.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.474e-05/0.01442, allocations: 44.31 kB / 0.887 GB, free: 13.25 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005099/0.01493, allocations: 0.6098 MB / 0.8876 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.45e-05/0.01494, allocations: 192 / 0.8876 GB, free: 12.51 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.025e-05/0.01497, allocations: 20.38 kB / 0.8876 GB, free: 12.49 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.837e-05/0.01503, allocations: 59.83 kB / 0.8876 GB, free: 12.43 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003136/0.01534, allocations: 243.5 kB / 0.8879 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002049/0.01739, allocations: 4.252 MB / 0.892 GB, free: 7.77 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009083/0.0183, allocations: 0.5242 MB / 0.8925 GB, free: 7.207 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.0184, allocations: 78.97 kB / 0.8926 GB, free: 7.117 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.01843, allocations: 12 kB / 0.8926 GB, free: 7.105 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/0.01845, allocations: 37.39 kB / 0.8927 GB, free: 7.059 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=30): time 1.834e-06/0.01846, allocations: 0 / 0.8927 GB, free: 7.059 MB / 0.8542 GB Notification: Performance of matching and sorting (n=33): time 0.001107/0.01956, allocations: 0.7015 MB / 0.8933 GB, free: 6.336 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.0196, allocations: 106.8 kB / 0.8934 GB, free: 6.207 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002709/0.01987, allocations: 426.4 kB / 0.8938 GB, free: 5.773 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.062e-05/0.01989, allocations: 33.7 kB / 0.8939 GB, free: 5.734 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001394/0.02003, allocations: 334.8 kB / 0.8942 GB, free: 5.402 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.455e-05/0.0201, allocations: 119 kB / 0.8943 GB, free: 5.285 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.562e-05/0.02019, allocations: 107.9 kB / 0.8944 GB, free: 5.172 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001406/0.02033, allocations: 0.5235 MB / 0.8949 GB, free: 4.637 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001239/0.02046, allocations: 81.25 kB / 0.895 GB, free: 4.559 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002515/0.02071, allocations: 373 kB / 0.8954 GB, free: 4.066 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003804/0.02109, allocations: 0.4906 MB / 0.8958 GB, free: 3.449 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.056e-06/0.02109, allocations: 0 / 0.8958 GB, free: 3.449 MB / 0.8542 GB Notification: Performance of matching and sorting (n=63) (initialization): time 0.000583/0.02168, allocations: 0.5079 MB / 0.8963 GB, free: 2.922 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.708e-05/0.02169, allocations: 8 kB / 0.8963 GB, free: 2.914 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.0217, allocations: 8 kB / 0.8963 GB, free: 2.906 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002451/0.02195, allocations: 86.94 kB / 0.8964 GB, free: 2.809 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002203/0.02217, allocations: 112 kB / 0.8965 GB, free: 2.699 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002374/0.02454, allocations: 5.244 MB / 0.9017 GB, free: 13.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001751/0.02472, allocations: 27.98 kB / 0.9017 GB, free: 13.06 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.524e-05/0.02474, allocations: 31.98 kB / 0.9017 GB, free: 13.03 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.0001269/0.02487, allocations: 193.5 kB / 0.9019 GB, free: 12.83 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.443e-05/0.02494, allocations: 55.72 kB / 0.902 GB, free: 12.77 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004191/0.02536, allocations: 343.5 kB / 0.9023 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.02537, allocations: 4 kB / 0.9023 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.02537, allocations: 4 kB / 0.9023 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.02537, allocations: 0 / 0.9023 GB, free: 12.41 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009951/0.02637, allocations: 1.078 MB / 0.9033 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.02637, allocations: 4 kB / 0.9033 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000129/0.0265, allocations: 59.89 kB / 0.9034 GB, free: 11.17 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001706/0.02667, allocations: 75 kB / 0.9035 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.891e-05/0.02669, allocations: 12 kB / 0.9035 GB, free: 11.07 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002028/0.02872, allocations: 5.245 MB / 0.9086 GB, free: 5.461 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/0.02872, allocations: 7.938 kB / 0.9086 GB, free: 5.453 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005034/0.02923, allocations: 0.7592 MB / 0.9094 GB, free: 4.621 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.52e-05/0.02932, allocations: 79.59 kB / 0.9094 GB, free: 4.543 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.02935, allocations: 12 kB / 0.9094 GB, free: 4.531 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001538/0.0295, allocations: 23.97 kB / 0.9095 GB, free: 4.508 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.312e-05/0.02955, allocations: 47.89 kB / 0.9095 GB, free: 4.461 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.288e-05/0.02957, allocations: 8 kB / 0.9095 GB, free: 4.453 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001627/0.02973, allocations: 275.1 kB / 0.9098 GB, free: 4.188 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.02973, allocations: 0 / 0.9098 GB, free: 4.188 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0004273/0.03016, allocations: 120 kB / 0.9099 GB, free: 4.07 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.0001186/0.03028, allocations: 103.2 kB / 0.91 GB, free: 3.961 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0006862/0.03096, allocations: 0.8043 MB / 0.9108 GB, free: 3.105 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.03097, allocations: 320 / 0.9108 GB, free: 3.105 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003534/0.03132, allocations: 0.6263 MB / 0.9114 GB, free: 2.422 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005522/0.03187, allocations: 143.7 kB / 0.9115 GB, free: 2.289 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001138/0.03301, allocations: 0.8526 MB / 0.9124 GB, free: 1.355 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001007/0.03311, allocations: 145.6 kB / 0.9125 GB, free: 1.191 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0001598/0.03327, allocations: 84.34 kB / 0.9126 GB, free: 1.109 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.082e-05/0.03334, allocations: 32.5 kB / 0.9126 GB, free: 1.078 MB / 0.8698 GB Notification: Performance of SimCode: time 6.41e-07/0.03334, allocations: 0 / 0.9126 GB, free: 1.078 MB / 0.8698 GB Notification: Performance of Templates: time 0.007972/0.04131, allocations: 5.949 MB / 0.9184 GB, free: 11.25 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.385104905813932]