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.001398/0.001398, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001503/0.001503, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9022/0.9022, allocations: 177.1 MB / 204.5 MB, free: 5.508 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.998/1.998, allocations: 429.5 MB / 0.6743 GB, free: 3.895 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.112e-06/1.112e-06, allocations: 0 / 0.8794 GB, free: 4.871 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.344e-05/1.455e-05, allocations: 5.125 kB / 0.8794 GB, free: 4.867 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_L): time 0.00379/0.003804, allocations: 4.133 MB / 0.8834 GB, free: 0.7422 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.00186/0.005664, allocations: 1.566 MB / 0.885 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002102/0.005875, allocations: 43.62 kB / 0.885 GB, free: 15.14 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.00048/0.006355, allocations: 198.6 kB / 0.8852 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0004549/0.006809, allocations: 405.1 kB / 0.8856 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004043/0.007214, allocations: 387.2 kB / 0.886 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0007846/0.007998, allocations: 1.139 MB / 0.8871 GB, free: 13.02 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006453/0.008644, allocations: 0.51 MB / 0.8876 GB, free: 12.51 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000508/0.009152, allocations: 0.6157 MB / 0.8882 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004372/0.009589, allocations: 450.8 kB / 0.8886 GB, free: 11.45 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 5.878e-05/0.009648, allocations: 56 kB / 0.8886 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001665/0.009814, allocations: 139.7 kB / 0.8888 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001918/0.01001, allocations: 307.1 kB / 0.8891 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0001969/0.0102, allocations: 271.3 kB / 0.8893 GB, free: 10.69 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0005312/0.01073, allocations: 0.6656 MB / 0.89 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.01074, allocations: 3.984 kB / 0.89 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.31e-07/0.01074, allocations: 0 / 0.89 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.133e-06/0.01075, allocations: 4 kB / 0.89 GB, free: 10.02 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.0009436/0.01169, allocations: 1.06 MB / 0.891 GB, free: 8.914 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.842e-05/0.01172, allocations: 12.02 kB / 0.891 GB, free: 8.902 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006905/0.01241, allocations: 279.8 kB / 0.8913 GB, free: 8.629 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005331/0.01294, allocations: 0.5368 MB / 0.8918 GB, free: 8.066 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.912e-05/0.01297, allocations: 49.67 kB / 0.8919 GB, free: 8.02 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.165e-05/0.01304, allocations: 68.3 kB / 0.8919 GB, free: 7.953 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006234/0.01367, allocations: 0.855 MB / 0.8928 GB, free: 6.922 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.01369, allocations: 12.02 kB / 0.8928 GB, free: 6.91 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.045e-05/0.01373, allocations: 36.36 kB / 0.8928 GB, free: 6.875 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-05/0.01379, allocations: 69.2 kB / 0.8929 GB, free: 6.809 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002815/0.01407, allocations: 276.5 kB / 0.8932 GB, free: 6.539 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002539/0.01661, allocations: 5.51 MB / 0.8985 GB, free: 0.8359 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002982/0.0169, allocations: 219 kB / 0.8987 GB, free: 0.6094 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000306/0.01721, allocations: 231.5 kB / 0.899 GB, free: 388 kB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.336e-05/0.01723, allocations: 8 kB / 0.899 GB, free: 380 kB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.248e-05/0.01726, allocations: 41.39 kB / 0.899 GB, free: 328 kB / 0.8073 GB Notification: Performance of pre-optimization done (n=41): time 1.482e-06/0.01726, allocations: 0 / 0.899 GB, free: 328 kB / 0.8073 GB Notification: Performance of matching and sorting (n=42): time 0.001648/0.01891, allocations: 0.9688 MB / 0.9 GB, free: 15.33 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.292e-05/0.01893, allocations: 55.41 kB / 0.9 GB, free: 15.26 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002427/0.01917, allocations: 470.2 kB / 0.9005 GB, free: 14.79 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 2.252e-05/0.01919, allocations: 37.64 kB / 0.9005 GB, free: 14.74 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/0.01937, allocations: 450.6 kB / 0.9009 GB, free: 14.29 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 7.607e-05/0.01944, allocations: 166.7 kB / 0.9011 GB, free: 14.13 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001028/0.01955, allocations: 119.8 kB / 0.9012 GB, free: 14 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001417/0.01969, allocations: 0.539 MB / 0.9017 GB, free: 13.45 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.612e-05/0.01978, allocations: 77.25 kB / 0.9018 GB, free: 13.38 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000217/0.01999, allocations: 388.6 kB / 0.9022 GB, free: 12.87 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003496/0.02034, allocations: 0.5064 MB / 0.9027 GB, free: 12.23 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.02035, allocations: 4 kB / 0.9027 GB, free: 12.23 MB / 0.823 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0007525/0.0211, allocations: 0.6596 MB / 0.9033 GB, free: 11.54 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.02111, allocations: 8 kB / 0.9033 GB, free: 11.54 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.02112, allocations: 8 kB / 0.9033 GB, free: 11.53 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005329/0.02165, allocations: 250.5 kB / 0.9036 GB, free: 11.27 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001559/0.02181, allocations: 91.83 kB / 0.9037 GB, free: 11.18 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003539/0.02535, allocations: 7.575 MB / 0.911 GB, free: 3.141 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001545/0.0255, allocations: 16 kB / 0.9111 GB, free: 3.125 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/0.02553, allocations: 24 kB / 0.9111 GB, free: 3.102 MB / 0.823 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.0001369/0.02566, allocations: 200.3 kB / 0.9113 GB, free: 2.895 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.013e-05/0.02573, allocations: 79.56 kB / 0.9114 GB, free: 2.816 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006265/0.02636, allocations: 0.5087 MB / 0.9118 GB, free: 2.285 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.02636, allocations: 8.078 kB / 0.9119 GB, free: 2.277 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.02637, allocations: 4 kB / 0.9119 GB, free: 2.273 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.02637, allocations: 3.984 kB / 0.9119 GB, free: 2.27 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001043/0.02742, allocations: 1.003 MB / 0.9128 GB, free: 1.191 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.215e-06/0.02742, allocations: 0 / 0.9128 GB, free: 1.191 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.274e-05/0.02749, allocations: 31.98 kB / 0.9129 GB, free: 1.16 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004779/0.02797, allocations: 242.6 kB / 0.9131 GB, free: 0.9062 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.02799, allocations: 12 kB / 0.9131 GB, free: 0.8945 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003383/0.03137, allocations: 7.568 MB / 0.9205 GB, free: 8.867 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.03137, allocations: 0 / 0.9205 GB, free: 8.867 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006637/0.03203, allocations: 0.6924 MB / 0.9212 GB, free: 8.113 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.964e-05/0.03213, allocations: 91.5 kB / 0.9213 GB, free: 8.023 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.645e-05/0.03217, allocations: 8 kB / 0.9213 GB, free: 8.016 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.03229, allocations: 12 kB / 0.9213 GB, free: 8.004 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.881e-05/0.03235, allocations: 43.86 kB / 0.9213 GB, free: 7.961 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.527e-05/0.03236, allocations: 12 kB / 0.9213 GB, free: 7.949 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001396/0.0325, allocations: 282.7 kB / 0.9216 GB, free: 7.676 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.0325, allocations: 0 / 0.9216 GB, free: 7.676 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004091/0.03291, allocations: 196 kB / 0.9218 GB, free: 7.484 MB / 0.8386 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 9.45e-05/0.03301, allocations: 107.2 kB / 0.9219 GB, free: 7.371 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0008125/0.03382, allocations: 1.111 MB / 0.923 GB, free: 6.188 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.03382, allocations: 0 / 0.923 GB, free: 6.188 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0005574/0.03438, allocations: 0.9427 MB / 0.9239 GB, free: 5.172 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000537/0.03491, allocations: 198.6 kB / 0.9241 GB, free: 4.98 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00118/0.03609, allocations: 1.158 MB / 0.9252 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001272/0.03622, allocations: 210.1 kB / 0.9254 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.00013/0.03635, allocations: 64.98 kB / 0.9255 GB, free: 3.473 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002158/0.03657, allocations: 202.1 kB / 0.9257 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of SimCode: time 5.31e-07/0.03657, allocations: 0 / 0.9257 GB, free: 3.273 MB / 0.8386 GB Notification: Performance of Templates: time 0.01226/0.04883, allocations: 11.29 MB / 0.9367 GB, free: 8.199 MB / 0.8542 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.222088883630931]