Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.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.001355/0.001355, allocations: 82.05 kB / 19.87 MB, free: 4.617 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.001405/0.001405, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.9055/0.9055, allocations: 177.2 MB / 203.7 MB, free: 5.48 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.27/2.27, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 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_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.OnePhase.Lines.Examples.ACLine_L") translateModel(Buildings.Electrical.AC.OnePhase.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.OnePhase.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.633e-06/1.633e-06, allocations: 0 / 0.8897 GB, free: 9.754 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.251e-05/2.415e-05, allocations: 5.266 kB / 0.8897 GB, free: 9.75 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.005194/0.005218, allocations: 4.061 MB / 0.8937 GB, free: 5.668 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002814/0.008032, allocations: 1.532 MB / 0.8952 GB, free: 4.129 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003027/0.008334, allocations: 43.62 kB / 0.8953 GB, free: 4.086 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0006004/0.008935, allocations: 190.6 kB / 0.8954 GB, free: 3.898 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.000684/0.009619, allocations: 409.4 kB / 0.8958 GB, free: 3.496 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006248/0.01024, allocations: 359.3 kB / 0.8962 GB, free: 3.145 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001087/0.01133, allocations: 1.139 MB / 0.8973 GB, free: 2 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006745/0.01201, allocations: 0.5099 MB / 0.8978 GB, free: 1.484 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007385/0.01274, allocations: 0.6117 MB / 0.8984 GB, free: 0.8711 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005822/0.01333, allocations: 458.7 kB / 0.8988 GB, free: 432 kB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 8.851e-05/0.01341, allocations: 56 kB / 0.8989 GB, free: 376 kB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002521/0.01367, allocations: 135.8 kB / 0.899 GB, free: 240 kB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002595/0.01393, allocations: 307.2 kB / 0.8993 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.000249/0.01417, allocations: 271.3 kB / 0.8995 GB, free: 15.67 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0007194/0.01489, allocations: 0.6695 MB / 0.9002 GB, free: 15 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 2.485e-06/0.0149, allocations: 0 / 0.9002 GB, free: 15 MB / 0.8698 GB Notification: Performance of FrontEnd: time 9.41e-07/0.0149, allocations: 0 / 0.9002 GB, free: 15 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 9.478e-06/0.01491, allocations: 0 / 0.9002 GB, free: 15 MB / 0.8698 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.001168/0.01608, allocations: 1.048 MB / 0.9012 GB, free: 13.91 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.01611, allocations: 12.62 kB / 0.9012 GB, free: 13.89 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00115/0.01726, allocations: 283.8 kB / 0.9015 GB, free: 13.62 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006748/0.01794, allocations: 0.5212 MB / 0.902 GB, free: 13.07 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.816e-05/0.01798, allocations: 49.67 kB / 0.9021 GB, free: 13.03 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.049e-05/0.01807, allocations: 64.36 kB / 0.9021 GB, free: 12.96 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008421/0.01891, allocations: 0.8544 MB / 0.903 GB, free: 11.93 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.647e-05/0.01894, allocations: 8.125 kB / 0.903 GB, free: 11.92 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.418e-05/0.01899, allocations: 32.36 kB / 0.903 GB, free: 11.89 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.805e-05/0.01907, allocations: 73.2 kB / 0.9031 GB, free: 11.82 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004168/0.01949, allocations: 284.5 kB / 0.9033 GB, free: 11.54 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002899/0.02238, allocations: 5.506 MB / 0.9087 GB, free: 5.844 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003047/0.02269, allocations: 218.5 kB / 0.9089 GB, free: 5.621 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003034/0.02299, allocations: 238.8 kB / 0.9091 GB, free: 5.387 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.052e-05/0.02301, allocations: 8 kB / 0.9092 GB, free: 5.379 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.02304, allocations: 37.39 kB / 0.9092 GB, free: 5.332 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=41): time 1.523e-06/0.02304, allocations: 4 kB / 0.9092 GB, free: 5.328 MB / 0.8698 GB Notification: Performance of matching and sorting (n=42): time 0.001704/0.02474, allocations: 0.9677 MB / 0.9101 GB, free: 4.336 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.02477, allocations: 55.41 kB / 0.9102 GB, free: 4.27 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002577/0.02503, allocations: 462.2 kB / 0.9106 GB, free: 3.801 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.02505, allocations: 33.7 kB / 0.9107 GB, free: 3.762 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002001/0.02525, allocations: 454.6 kB / 0.9111 GB, free: 3.312 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.997e-05/0.02535, allocations: 158.6 kB / 0.9113 GB, free: 3.156 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.02546, allocations: 123.9 kB / 0.9114 GB, free: 3.027 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.02561, allocations: 0.5429 MB / 0.9119 GB, free: 2.473 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001048/0.02571, allocations: 77.25 kB / 0.912 GB, free: 2.398 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002333/0.02595, allocations: 384.7 kB / 0.9123 GB, free: 1.891 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003886/0.02633, allocations: 0.4986 MB / 0.9128 GB, free: 1.262 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.02634, allocations: 4 kB / 0.9128 GB, free: 1.258 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0007499/0.02709, allocations: 0.6634 MB / 0.9135 GB, free: 0.5703 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.0271, allocations: 8 kB / 0.9135 GB, free: 0.5625 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.02711, allocations: 8 kB / 0.9135 GB, free: 0.5547 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004986/0.02761, allocations: 254.5 kB / 0.9137 GB, free: 296 kB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001483/0.02776, allocations: 95.83 kB / 0.9138 GB, free: 200 kB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003478/0.03124, allocations: 7.571 MB / 0.9212 GB, free: 8.16 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001488/0.03139, allocations: 16 kB / 0.9212 GB, free: 8.145 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/0.03141, allocations: 24 kB / 0.9213 GB, free: 8.121 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.0001319/0.03154, allocations: 192.7 kB / 0.9214 GB, free: 7.922 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.495e-05/0.0316, allocations: 79.69 kB / 0.9215 GB, free: 7.844 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005889/0.03219, allocations: 0.5167 MB / 0.922 GB, free: 7.305 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.0322, allocations: 4 kB / 0.922 GB, free: 7.301 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.0322, allocations: 4 kB / 0.922 GB, free: 7.297 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.748e-06/0.03221, allocations: 7.984 kB / 0.922 GB, free: 7.289 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009931/0.0332, allocations: 0.9939 MB / 0.923 GB, free: 6.219 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.304e-06/0.0332, allocations: 4.188 kB / 0.923 GB, free: 6.215 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.77e-05/0.03327, allocations: 31.98 kB / 0.923 GB, free: 6.184 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004597/0.03373, allocations: 242.4 kB / 0.9233 GB, free: 5.93 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.091e-05/0.03375, allocations: 12 kB / 0.9233 GB, free: 5.918 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003374/0.03712, allocations: 7.567 MB / 0.9307 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.03713, allocations: 8 kB / 0.9307 GB, free: 13.89 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006421/0.03777, allocations: 0.6915 MB / 0.9314 GB, free: 13.13 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 9.887e-05/0.03787, allocations: 91.45 kB / 0.9314 GB, free: 13.04 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.96e-05/0.0379, allocations: 11.98 kB / 0.9315 GB, free: 13.03 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.038, allocations: 12 kB / 0.9315 GB, free: 13.02 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.948e-05/0.03808, allocations: 43.86 kB / 0.9315 GB, free: 12.98 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.448e-05/0.03809, allocations: 8 kB / 0.9315 GB, free: 12.97 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.000137/0.03823, allocations: 278.7 kB / 0.9318 GB, free: 12.7 MB / 0.9011 GB Notification: Performance of sort global known variables: time 7e-08/0.03823, allocations: 0 / 0.9318 GB, free: 12.7 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0004693/0.0387, allocations: 196 kB / 0.932 GB, free: 12.51 MB / 0.9011 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.000112/0.03881, allocations: 111.2 kB / 0.9321 GB, free: 12.39 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0008467/0.03966, allocations: 1.101 MB / 0.9332 GB, free: 11.22 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.03966, allocations: 0 / 0.9332 GB, free: 11.22 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0005951/0.04026, allocations: 0.9323 MB / 0.9341 GB, free: 10.21 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005644/0.04082, allocations: 205.6 kB / 0.9343 GB, free: 10.01 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.04233, allocations: 1.166 MB / 0.9354 GB, free: 8.785 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001838/0.04251, allocations: 206.2 kB / 0.9356 GB, free: 8.562 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001862/0.0427, allocations: 65.03 kB / 0.9357 GB, free: 8.496 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002287/0.04293, allocations: 202.1 kB / 0.9359 GB, free: 8.297 MB / 0.9011 GB Notification: Performance of SimCode: time 8.41e-07/0.04293, allocations: 0 / 0.9359 GB, free: 8.297 MB / 0.9011 GB Notification: Performance of Templates: time 0.01287/0.0558, allocations: 11.06 MB / 0.9466 GB, free: 13.43 MB / 0.9167 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_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.213577218353748]