Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.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.0009467/0.0009467, 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.0009052/0.0009052, 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.9196/0.9196, allocations: 177.1 MB / 203.8 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.068/2.068, allocations: 429.5 MB / 0.6736 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.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.202e-06/1.202e-06, allocations: 0 / 0.8782 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.579e-05/1.699e-05, allocations: 2.875 kB / 0.8782 GB, free: 6.637 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.005272/0.005289, allocations: 6.264 MB / 0.8843 GB, free: 380 kB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003228/0.008517, allocations: 3.234 MB / 0.8875 GB, free: 13.14 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002478/0.008765, allocations: 44.69 kB / 0.8875 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.001175/0.00994, allocations: 0.9653 MB / 0.8884 GB, free: 12.13 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0008369/0.01078, allocations: 0.4926 MB / 0.8889 GB, free: 11.64 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005693/0.01135, allocations: 0.5054 MB / 0.8894 GB, free: 11.13 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0007347/0.01208, allocations: 1.131 MB / 0.8905 GB, free: 9.996 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005374/0.01262, allocations: 0.5138 MB / 0.891 GB, free: 9.48 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005015/0.01312, allocations: 0.6106 MB / 0.8916 GB, free: 8.871 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000373/0.01349, allocations: 422.9 kB / 0.892 GB, free: 8.457 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.311e-05/0.01356, allocations: 60 kB / 0.8921 GB, free: 8.398 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004125/0.01397, allocations: 454.7 kB / 0.8925 GB, free: 7.953 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001893/0.01416, allocations: 311.1 kB / 0.8928 GB, free: 7.648 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001862/0.01434, allocations: 271.3 kB / 0.8931 GB, free: 7.383 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000692/0.01504, allocations: 0.8758 MB / 0.8939 GB, free: 6.504 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.344e-06/0.01504, allocations: 5.688 kB / 0.8939 GB, free: 6.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 9.91e-07/0.01504, allocations: 0 / 0.8939 GB, free: 6.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.205e-06/0.01505, allocations: 0 / 0.8939 GB, free: 6.5 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.0009663/0.01601, allocations: 1.103 MB / 0.895 GB, free: 5.359 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.01605, allocations: 12.03 kB / 0.895 GB, free: 5.348 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009978/0.01705, allocations: 335.7 kB / 0.8953 GB, free: 5.02 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008019/0.01785, allocations: 0.5537 MB / 0.8959 GB, free: 4.441 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.963e-05/0.01788, allocations: 53.61 kB / 0.8959 GB, free: 4.391 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.701e-05/0.01794, allocations: 68.36 kB / 0.896 GB, free: 4.324 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007321/0.01868, allocations: 0.8936 MB / 0.8969 GB, free: 3.254 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.191e-05/0.0187, allocations: 12.08 kB / 0.8969 GB, free: 3.242 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.45e-05/0.01874, allocations: 36.36 kB / 0.8969 GB, free: 3.207 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.659e-05/0.01881, allocations: 73.19 kB / 0.897 GB, free: 3.137 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004243/0.01923, allocations: 335.2 kB / 0.8973 GB, free: 2.809 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002924/0.02216, allocations: 5.642 MB / 0.9028 GB, free: 12.96 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003864/0.02254, allocations: 252 kB / 0.9031 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003704/0.02291, allocations: 251.5 kB / 0.9033 GB, free: 12.46 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.783e-05/0.02294, allocations: 12 kB / 0.9033 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.02296, allocations: 33.39 kB / 0.9033 GB, free: 12.4 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=41): time 1.833e-06/0.02296, allocations: 4 kB / 0.9033 GB, free: 12.4 MB / 0.8698 GB Notification: Performance of matching and sorting (n=42): time 0.001956/0.02492, allocations: 1.14 MB / 0.9045 GB, free: 11.23 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.695e-05/0.02495, allocations: 59.41 kB / 0.9045 GB, free: 11.16 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002889/0.02524, allocations: 474.4 kB / 0.905 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.464e-05/0.02526, allocations: 33.7 kB / 0.905 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001766/0.02544, allocations: 450.7 kB / 0.9054 GB, free: 10.2 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 7.939e-05/0.02552, allocations: 158.6 kB / 0.9056 GB, free: 10.04 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.02562, allocations: 119.9 kB / 0.9057 GB, free: 9.918 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001259/0.02575, allocations: 0.5274 MB / 0.9062 GB, free: 9.379 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001429/0.02589, allocations: 109.2 kB / 0.9063 GB, free: 9.273 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002678/0.02616, allocations: 412.7 kB / 0.9067 GB, free: 8.738 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004444/0.0266, allocations: 0.5455 MB / 0.9072 GB, free: 8.062 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/0.02661, allocations: 7.984 kB / 0.9073 GB, free: 8.055 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.000868/0.02747, allocations: 0.7183 MB / 0.908 GB, free: 7.312 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.769e-05/0.02749, allocations: 16 kB / 0.908 GB, free: 7.297 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.0275, allocations: 4 kB / 0.908 GB, free: 7.293 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005979/0.0281, allocations: 262.4 kB / 0.9082 GB, free: 7.02 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/0.02827, allocations: 99.77 kB / 0.9083 GB, free: 6.922 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004002/0.03227, allocations: 7.721 MB / 0.9159 GB, free: 14.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001817/0.03245, allocations: 31.98 kB / 0.9159 GB, free: 14.67 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.572e-05/0.03248, allocations: 27.98 kB / 0.9159 GB, free: 14.64 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001388/0.03262, allocations: 196.3 kB / 0.9161 GB, free: 14.44 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.661e-05/0.03269, allocations: 75.62 kB / 0.9162 GB, free: 14.37 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009856/0.03367, allocations: 0.5555 MB / 0.9167 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.03367, allocations: 4 kB / 0.9167 GB, free: 13.79 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.03368, allocations: 4.188 kB / 0.9167 GB, free: 13.78 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.673e-06/0.03369, allocations: 7.922 kB / 0.9167 GB, free: 13.77 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001197/0.03488, allocations: 1.154 MB / 0.9179 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.03489, allocations: 0 / 0.9179 GB, free: 12.54 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.43e-05/0.03497, allocations: 39.97 kB / 0.9179 GB, free: 12.5 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005116/0.03548, allocations: 250.6 kB / 0.9181 GB, free: 12.23 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.117e-05/0.0355, allocations: 15.98 kB / 0.9181 GB, free: 12.22 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003678/0.03918, allocations: 7.702 MB / 0.9257 GB, free: 4.027 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.03918, allocations: 4 kB / 0.9257 GB, free: 4.023 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007406/0.03992, allocations: 0.7436 MB / 0.9264 GB, free: 3.219 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.04003, allocations: 103.5 kB / 0.9265 GB, free: 3.117 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.317e-05/0.04007, allocations: 8 kB / 0.9265 GB, free: 3.109 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001272/0.04019, allocations: 19.97 kB / 0.9265 GB, free: 3.09 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.216e-05/0.04026, allocations: 47.86 kB / 0.9266 GB, free: 3.043 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.979e-05/0.04028, allocations: 16 kB / 0.9266 GB, free: 3.027 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000172/0.04046, allocations: 294.8 kB / 0.9269 GB, free: 2.742 MB / 0.8855 GB Notification: Performance of sort global known variables: time 7e-08/0.04046, allocations: 0 / 0.9269 GB, free: 2.742 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004628/0.04092, allocations: 196 kB / 0.9271 GB, free: 2.551 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001075/0.04103, allocations: 119.2 kB / 0.9272 GB, free: 2.426 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0009348/0.04196, allocations: 1.133 MB / 0.9283 GB, free: 1.223 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.04196, allocations: 8.125 kB / 0.9283 GB, free: 1.215 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005818/0.04255, allocations: 0.9566 MB / 0.9292 GB, free: 188 kB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005624/0.04311, allocations: 200.5 kB / 0.9294 GB, free: 15.99 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00157/0.04468, allocations: 1.164 MB / 0.9305 GB, free: 14.76 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001276/0.04481, allocations: 210.2 kB / 0.9307 GB, free: 14.54 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001496/0.04496, allocations: 92.97 kB / 0.9308 GB, free: 14.44 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.437e-05/0.04501, allocations: 36.5 kB / 0.9309 GB, free: 14.41 MB / 0.9011 GB Notification: Performance of SimCode: time 8.71e-07/0.04501, allocations: 0 / 0.9309 GB, free: 14.41 MB / 0.9011 GB Notification: Performance of Templates: time 0.01143/0.05644, allocations: 10.54 MB / 0.9412 GB, free: 4.062 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_L.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.324461539974436]