Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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.001349/0.001349, 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.001343/0.001343, 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.9632/0.9632, allocations: 177.1 MB / 203.4 MB, free: 5.645 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.008/2.008, allocations: 429.5 MB / 0.6733 GB, free: 4.027 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.Lines.Examples.ACLine_R,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,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,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,]+.|sc_load.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 0.8782 GB, free: 6.32 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.758e-05/1.951e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.316 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.004345/0.004364, allocations: 4.815 MB / 0.8829 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002097/0.006461, allocations: 1.692 MB / 0.8845 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002327/0.006693, allocations: 36.25 kB / 0.8846 GB, free: 15.78 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0005534/0.007247, allocations: 207.5 kB / 0.8848 GB, free: 15.58 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0006558/0.007903, allocations: 443.1 kB / 0.8852 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004981/0.008401, allocations: 379.9 kB / 0.8855 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0008285/0.009229, allocations: 1.272 MB / 0.8868 GB, free: 13.5 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000565/0.009794, allocations: 0.5345 MB / 0.8873 GB, free: 12.96 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005499/0.01034, allocations: 0.6625 MB / 0.888 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004421/0.01079, allocations: 490.6 kB / 0.8884 GB, free: 11.82 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 7.521e-05/0.01086, allocations: 69.47 kB / 0.8885 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002007/0.01106, allocations: 135.8 kB / 0.8886 GB, free: 11.62 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002214/0.01128, allocations: 335 kB / 0.8889 GB, free: 11.29 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002232/0.01151, allocations: 315.2 kB / 0.8892 GB, free: 10.98 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0006798/0.01219, allocations: 0.7513 MB / 0.89 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.906e-06/0.01219, allocations: 0 / 0.89 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.82e-07/0.01219, allocations: 0 / 0.89 GB, free: 10.23 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 9.267e-06/0.0122, allocations: 0 / 0.89 GB, free: 10.23 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.001093/0.01329, allocations: 1.177 MB / 0.8911 GB, free: 9.016 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.01333, allocations: 12.03 kB / 0.8911 GB, free: 9.004 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009079/0.01424, allocations: 339.7 kB / 0.8915 GB, free: 8.672 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000586/0.01482, allocations: 0.5447 MB / 0.892 GB, free: 8.102 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.927e-05/0.01485, allocations: 49.67 kB / 0.892 GB, free: 8.055 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000216/0.01507, allocations: 68.36 kB / 0.8921 GB, free: 7.988 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008195/0.01589, allocations: 1.084 MB / 0.8932 GB, free: 6.695 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.017e-05/0.01591, allocations: 8.125 kB / 0.8932 GB, free: 6.688 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.433e-05/0.01595, allocations: 28.36 kB / 0.8932 GB, free: 6.66 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.869e-05/0.01605, allocations: 89.19 kB / 0.8933 GB, free: 6.574 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000481/0.01653, allocations: 355.2 kB / 0.8936 GB, free: 6.227 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003051/0.01958, allocations: 5.713 MB / 0.8992 GB, free: 316 kB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000477/0.02006, allocations: 297.5 kB / 0.8995 GB, free: 4 kB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001963/0.02026, allocations: 133.1 kB / 0.8996 GB, free: 15.87 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.059e-05/0.02029, allocations: 12.5 kB / 0.8996 GB, free: 15.86 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.38e-05/0.02031, allocations: 37.89 kB / 0.8997 GB, free: 15.81 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=47): time 1.503e-06/0.02031, allocations: 0 / 0.8997 GB, free: 15.81 MB / 0.8698 GB Notification: Performance of matching and sorting (n=48): time 0.001822/0.02213, allocations: 1.084 MB / 0.9007 GB, free: 14.71 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.087e-05/0.02216, allocations: 55.91 kB / 0.9008 GB, free: 14.64 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003608/0.02252, allocations: 0.5335 MB / 0.9013 GB, free: 14.1 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.02255, allocations: 33.7 kB / 0.9013 GB, free: 14.06 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001864/0.02274, allocations: 470.6 kB / 0.9018 GB, free: 13.59 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.477e-05/0.02283, allocations: 186.4 kB / 0.9019 GB, free: 13.41 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001282/0.02296, allocations: 128.2 kB / 0.9021 GB, free: 13.27 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.02311, allocations: 0.543 MB / 0.9026 GB, free: 12.72 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001682/0.02328, allocations: 109.9 kB / 0.9027 GB, free: 12.61 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003093/0.02359, allocations: 428.7 kB / 0.9031 GB, free: 12.06 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005235/0.02412, allocations: 0.5819 MB / 0.9037 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.02412, allocations: 0 / 0.9037 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.0008929/0.02501, allocations: 0.741 MB / 0.9044 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.02503, allocations: 8.875 kB / 0.9044 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.02504, allocations: 4 kB / 0.9044 GB, free: 10.57 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007327/0.02578, allocations: 314.3 kB / 0.9047 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002569/0.02603, allocations: 131.7 kB / 0.9048 GB, free: 10.12 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003726/0.02976, allocations: 7.607 MB / 0.9123 GB, free: 2.016 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002351/0.02999, allocations: 40.14 kB / 0.9123 GB, free: 1.977 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.627e-05/0.03003, allocations: 39.94 kB / 0.9123 GB, free: 1.938 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 (67): * Single equations (assignments): 63 * 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,6,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001421/0.03017, allocations: 200.3 kB / 0.9125 GB, free: 1.73 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.053e-05/0.03025, allocations: 83.66 kB / 0.9126 GB, free: 1.648 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008248/0.03108, allocations: 0.5453 MB / 0.9131 GB, free: 1.07 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.03108, allocations: 8 kB / 0.9132 GB, free: 1.062 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.03108, allocations: 4 kB / 0.9132 GB, free: 1.059 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.03109, allocations: 3.984 kB / 0.9132 GB, free: 1.055 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001207/0.0323, allocations: 1.159 MB / 0.9143 GB, free: 15.81 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.0323, allocations: 7.938 kB / 0.9143 GB, free: 15.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001294/0.03243, allocations: 55.95 kB / 0.9144 GB, free: 15.75 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00063/0.03306, allocations: 298.5 kB / 0.9146 GB, free: 15.44 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.142e-05/0.03308, allocations: 8 kB / 0.9146 GB, free: 15.43 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003432/0.03651, allocations: 7.592 MB / 0.9221 GB, free: 7.352 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.628e-06/0.03652, allocations: 16.36 kB / 0.9221 GB, free: 7.336 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007312/0.03725, allocations: 0.7323 MB / 0.9228 GB, free: 6.539 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001357/0.03738, allocations: 107.6 kB / 0.9229 GB, free: 6.434 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.557e-05/0.03742, allocations: 15.92 kB / 0.9229 GB, free: 6.418 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001697/0.03759, allocations: 31.97 kB / 0.9229 GB, free: 6.387 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.228e-05/0.03765, allocations: 47.8 kB / 0.923 GB, free: 6.34 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.839e-05/0.03767, allocations: 12 kB / 0.923 GB, free: 6.328 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0002132/0.03788, allocations: 350.8 kB / 0.9233 GB, free: 5.988 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.3e-07/0.03788, allocations: 0 / 0.9233 GB, free: 5.988 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0004671/0.03835, allocations: 220 kB / 0.9235 GB, free: 5.773 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 (31): * Single equations (assignments): 27 * 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,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001091/0.03846, allocations: 111.2 kB / 0.9236 GB, free: 5.656 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.000997/0.03946, allocations: 1.19 MB / 0.9248 GB, free: 4.398 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.03946, allocations: 4 kB / 0.9248 GB, free: 4.395 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006075/0.04007, allocations: 0.9806 MB / 0.9258 GB, free: 3.34 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005552/0.04062, allocations: 209.1 kB / 0.926 GB, free: 3.145 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001703/0.04233, allocations: 1.251 MB / 0.9272 GB, free: 1.828 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001349/0.04246, allocations: 211.3 kB / 0.9274 GB, free: 1.602 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001849/0.04264, allocations: 97.44 kB / 0.9275 GB, free: 1.504 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.84e-05/0.04272, allocations: 40.5 kB / 0.9275 GB, free: 1.465 MB / 0.8855 GB Notification: Performance of SimCode: time 7.62e-07/0.04272, allocations: 0 / 0.9275 GB, free: 1.465 MB / 0.8855 GB Notification: Performance of Templates: time 0.01281/0.05553, allocations: 11.44 MB / 0.9387 GB, free: 6.254 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.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.525251762010157]