Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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.001366/0.001366, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001545/0.001545, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.9648/0.9648, allocations: 177.2 MB / 203.8 MB, free: 5.465 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.436/2.436, allocations: 438.8 MB / 0.6827 GB, free: 13.54 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.ACLineMedium,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.ACLineMedium") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,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.ACLineMedium") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.082e-06/1.082e-06, allocations: 0 / 0.8386 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.043e-05/1.151e-05, allocations: 2.312 kB / 0.8386 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.008427/0.008438, allocations: 10.39 MB / 0.8488 GB, free: 3.664 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.00675/0.01519, allocations: 6.973 MB / 0.8556 GB, free: 12.67 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004075/0.0156, allocations: 87.19 kB / 0.8557 GB, free: 12.58 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007475/0.01634, allocations: 392.9 kB / 0.8561 GB, free: 12.2 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.002029/0.01837, allocations: 1.698 MB / 0.8577 GB, free: 10.5 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007546/0.01913, allocations: 0.6551 MB / 0.8584 GB, free: 9.84 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.001908/0.02104, allocations: 2.851 MB / 0.8611 GB, free: 6.98 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009978/0.02203, allocations: 1.266 MB / 0.8624 GB, free: 5.676 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002001/0.02403, allocations: 2.082 MB / 0.8644 GB, free: 3.59 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001028/0.02506, allocations: 0.966 MB / 0.8653 GB, free: 2.621 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001923/0.02525, allocations: 168 kB / 0.8655 GB, free: 2.457 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000509/0.02576, allocations: 307.7 kB / 0.8658 GB, free: 2.156 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0004661/0.02623, allocations: 0.6425 MB / 0.8664 GB, free: 1.512 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005718/0.0268, allocations: 0.6429 MB / 0.8671 GB, free: 0.8672 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.001402/0.0282, allocations: 1.538 MB / 0.8686 GB, free: 15.32 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.02821, allocations: 0 / 0.8686 GB, free: 15.32 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.052e-06/0.02821, allocations: 0 / 0.8686 GB, free: 15.32 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 1.309e-05/0.02822, allocations: 4 kB / 0.8686 GB, free: 15.32 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002357/0.03058, allocations: 1.997 MB / 0.8705 GB, free: 13.29 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.216e-05/0.03061, allocations: 8.625 kB / 0.8705 GB, free: 13.28 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004756/0.03537, allocations: 0.8705 MB / 0.8714 GB, free: 12.41 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001388/0.03675, allocations: 1.066 MB / 0.8724 GB, free: 11.29 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.546e-05/0.03682, allocations: 94.61 kB / 0.8725 GB, free: 11.2 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001974/0.03702, allocations: 124.2 kB / 0.8726 GB, free: 11.07 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005071/0.04209, allocations: 1.613 MB / 0.8742 GB, free: 9.262 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.415e-05/0.04212, allocations: 19.84 kB / 0.8742 GB, free: 9.242 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001282/0.04225, allocations: 51.98 kB / 0.8743 GB, free: 9.191 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003641/0.04261, allocations: 150.2 kB / 0.8744 GB, free: 9.043 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001028/0.04364, allocations: 0.5699 MB / 0.875 GB, free: 8.461 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0157/0.05934, allocations: 5.721 MB / 0.8806 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001174/0.06052, allocations: 0.5785 MB / 0.8811 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004356/0.06095, allocations: 258.6 kB / 0.8814 GB, free: 1.742 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.295e-05/0.061, allocations: 13 kB / 0.8814 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.06104, allocations: 51.5 kB / 0.8814 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=89): time 2.685e-06/0.06104, allocations: 0 / 0.8814 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of matching and sorting (n=90): time 0.02385/0.08489, allocations: 3.911 MB / 0.8852 GB, free: 13.74 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.469e-05/0.08493, allocations: 64.34 kB / 0.8853 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003892/0.08882, allocations: 0.895 MB / 0.8862 GB, free: 12.76 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 8.919e-05/0.08891, allocations: 45.69 kB / 0.8862 GB, free: 12.71 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003331/0.08924, allocations: 0.5813 MB / 0.8868 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.000259/0.0895, allocations: 333.1 kB / 0.8871 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003415/0.09291, allocations: 186.7 kB / 0.8873 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.09302, allocations: 349.9 kB / 0.8876 GB, free: 11.26 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004209/0.09344, allocations: 190.5 kB / 0.8878 GB, free: 11.07 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005637/0.09401, allocations: 444.5 kB / 0.8882 GB, free: 10.54 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001055/0.09506, allocations: 0.7038 MB / 0.8889 GB, free: 9.738 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.09507, allocations: 4 kB / 0.8889 GB, free: 9.734 MB / 0.8542 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.006069/0.1011, allocations: 1.281 MB / 0.8902 GB, free: 8.434 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.157e-05/0.1012, allocations: 8 kB / 0.8902 GB, free: 8.426 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.1012, allocations: 7.938 kB / 0.8902 GB, free: 8.418 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003346/0.1045, allocations: 0.8538 MB / 0.891 GB, free: 7.551 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008737/0.1054, allocations: 175.7 kB / 0.8912 GB, free: 7.379 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008128/0.1135, allocations: 6.98 MB / 0.898 GB, free: 20 kB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008072/0.1143, allocations: 48.03 kB / 0.898 GB, free: 15.97 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.777e-05/0.1144, allocations: 43.91 kB / 0.8981 GB, free: 15.93 MB / 0.8698 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 (73): * Single equations (assignments): 69 * 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 {(2,8,100.0%), (3,17,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003585/0.1148, allocations: 176.3 kB / 0.8983 GB, free: 15.75 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001718/0.1149, allocations: 119.9 kB / 0.8984 GB, free: 15.63 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002126/0.1171, allocations: 1.249 MB / 0.8996 GB, free: 14.36 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.1171, allocations: 19.88 kB / 0.8996 GB, free: 14.34 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.428e-06/0.1171, allocations: 8 kB / 0.8996 GB, free: 14.33 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.133e-06/0.1171, allocations: 3.984 kB / 0.8996 GB, free: 14.32 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003026/0.1201, allocations: 1.977 MB / 0.9016 GB, free: 12.28 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.1201, allocations: 4 kB / 0.9016 GB, free: 12.28 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004464/0.1206, allocations: 115.8 kB / 0.9017 GB, free: 12.16 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002127/0.1227, allocations: 0.8334 MB / 0.9025 GB, free: 11.32 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.463e-05/0.1228, allocations: 31.95 kB / 0.9025 GB, free: 11.29 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00563/0.1284, allocations: 6.993 MB / 0.9093 GB, free: 3.914 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1284, allocations: 0 / 0.9093 GB, free: 3.914 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0019/0.1303, allocations: 1.266 MB / 0.9106 GB, free: 2.598 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003136/0.1306, allocations: 246.9 kB / 0.9108 GB, free: 2.355 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001117/0.1307, allocations: 19.98 kB / 0.9108 GB, free: 2.336 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004449/0.1312, allocations: 39.98 kB / 0.9109 GB, free: 2.297 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001791/0.1313, allocations: 92.77 kB / 0.911 GB, free: 2.207 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.919e-05/0.1314, allocations: 27.97 kB / 0.911 GB, free: 2.18 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0003253/0.1317, allocations: 459.7 kB / 0.9114 GB, free: 1.727 MB / 0.8698 GB Notification: Performance of sort global known variables: time 7e-08/0.1317, allocations: 0 / 0.9114 GB, free: 1.727 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009191/0.1327, allocations: 488 kB / 0.9119 GB, free: 1.25 MB / 0.8698 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 (37): * Single equations (assignments): 33 * 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 {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001917/0.1328, allocations: 104.3 kB / 0.912 GB, free: 1.137 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001654/0.1345, allocations: 1.469 MB / 0.9134 GB, free: 15.61 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.586e-05/0.1345, allocations: 16.5 kB / 0.9134 GB, free: 15.59 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.001086/0.1356, allocations: 1.115 MB / 0.9145 GB, free: 14.42 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001042/0.1366, allocations: 0.5196 MB / 0.915 GB, free: 13.92 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002878/0.1395, allocations: 2.513 MB / 0.9175 GB, free: 11.35 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.1398, allocations: 400 kB / 0.9179 GB, free: 10.93 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0006646/0.1405, allocations: 283.2 kB / 0.9181 GB, free: 10.65 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007503/0.1412, allocations: 395 kB / 0.9185 GB, free: 10.26 MB / 0.8855 GB Notification: Performance of SimCode: time 5.71e-07/0.1412, allocations: 0 / 0.9185 GB, free: 10.26 MB / 0.8855 GB Notification: Performance of Templates: time 0.0363/0.1775, allocations: 35.48 MB / 0.9532 GB, free: 7.395 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium.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.819588961079717]