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.001377/0.001377, allocations: 93.06 kB / 19.65 MB, free: 272 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.001494/0.001494, allocations: 169 kB / 23.02 MB, free: 1.543 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.894/0.894, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.994/1.994, allocations: 429.5 MB / 0.6732 GB, free: 4.047 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_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.643e-06/1.643e-06, allocations: 0 / 0.8782 GB, free: 6.297 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.263e-05/2.428e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.293 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.004376/0.0044, allocations: 4.142 MB / 0.8822 GB, free: 2.152 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002346/0.006746, allocations: 1.539 MB / 0.8837 GB, free: 0.6172 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003126/0.007059, allocations: 39.62 kB / 0.8838 GB, free: 0.5781 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0005811/0.00764, allocations: 186.6 kB / 0.8839 GB, free: 404 kB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0006449/0.008285, allocations: 415.9 kB / 0.8843 GB, free: 15.99 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005737/0.008858, allocations: 357.4 kB / 0.8847 GB, free: 15.64 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0009633/0.009822, allocations: 1.136 MB / 0.8858 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006083/0.01043, allocations: 0.5099 MB / 0.8863 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006299/0.01106, allocations: 0.6087 MB / 0.8869 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004991/0.01156, allocations: 453.7 kB / 0.8873 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 6.618e-05/0.01163, allocations: 56 kB / 0.8874 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002294/0.01185, allocations: 131.8 kB / 0.8875 GB, free: 12.75 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0001954/0.01205, allocations: 311.1 kB / 0.8878 GB, free: 12.45 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001992/0.01225, allocations: 263.4 kB / 0.888 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0006052/0.01285, allocations: 0.6694 MB / 0.8887 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.01286, allocations: 5.625 kB / 0.8887 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.583e-06/0.01286, allocations: 0 / 0.8887 GB, free: 11.52 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.142e-05/0.01287, allocations: 0 / 0.8887 GB, free: 11.52 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.0009891/0.01386, allocations: 1.047 MB / 0.8897 GB, free: 10.43 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.0139, allocations: 12.03 kB / 0.8897 GB, free: 10.42 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007802/0.01468, allocations: 308.2 kB / 0.89 GB, free: 10.12 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005476/0.01523, allocations: 0.536 MB / 0.8905 GB, free: 9.562 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.045e-05/0.01526, allocations: 45.67 kB / 0.8906 GB, free: 9.52 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.164e-05/0.01533, allocations: 72.31 kB / 0.8907 GB, free: 9.449 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007565/0.01609, allocations: 0.8936 MB / 0.8915 GB, free: 8.383 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.305e-05/0.01611, allocations: 8.125 kB / 0.8915 GB, free: 8.375 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.252e-05/0.01615, allocations: 32.36 kB / 0.8916 GB, free: 8.344 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.51e-05/0.01622, allocations: 69.2 kB / 0.8916 GB, free: 8.273 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004205/0.01664, allocations: 347.2 kB / 0.892 GB, free: 7.934 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003106/0.01974, allocations: 5.635 MB / 0.8975 GB, free: 2.098 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003963/0.02014, allocations: 254.7 kB / 0.8977 GB, free: 1.836 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003719/0.02051, allocations: 254.5 kB / 0.8979 GB, free: 1.586 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.02054, allocations: 8 kB / 0.898 GB, free: 1.578 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.553e-05/0.02056, allocations: 41.39 kB / 0.898 GB, free: 1.527 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=41): time 2.204e-06/0.02057, allocations: 3.938 kB / 0.898 GB, free: 1.523 MB / 0.8542 GB Notification: Performance of matching and sorting (n=42): time 0.002008/0.02257, allocations: 1.152 MB / 0.8991 GB, free: 356 kB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.884e-05/0.0226, allocations: 59.41 kB / 0.8992 GB, free: 284 kB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005055/0.02311, allocations: 466.5 kB / 0.8996 GB, free: 15.8 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.466e-05/0.02313, allocations: 29.7 kB / 0.8997 GB, free: 15.77 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001825/0.02332, allocations: 450.7 kB / 0.9001 GB, free: 15.32 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 9.062e-05/0.02341, allocations: 154.7 kB / 0.9002 GB, free: 15.17 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001058/0.02351, allocations: 115.9 kB / 0.9003 GB, free: 15.05 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.02365, allocations: 0.5313 MB / 0.9009 GB, free: 14.51 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001346/0.02378, allocations: 101.2 kB / 0.901 GB, free: 14.41 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002544/0.02404, allocations: 408.7 kB / 0.9013 GB, free: 13.88 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004568/0.02449, allocations: 0.5533 MB / 0.9019 GB, free: 13.2 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.847e-06/0.0245, allocations: 4 kB / 0.9019 GB, free: 13.19 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.0008869/0.02539, allocations: 0.7216 MB / 0.9026 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.02541, allocations: 8 kB / 0.9026 GB, free: 12.44 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.477e-06/0.02542, allocations: 8 kB / 0.9026 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006112/0.02603, allocations: 263 kB / 0.9029 GB, free: 12.16 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001789/0.02621, allocations: 99.75 kB / 0.903 GB, free: 12.06 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004201/0.03041, allocations: 7.717 MB / 0.9105 GB, free: 3.844 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002492/0.03066, allocations: 31.97 kB / 0.9105 GB, free: 3.812 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.592e-05/0.03068, allocations: 28.12 kB / 0.9106 GB, free: 3.785 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 (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.0001879/0.03087, allocations: 200.3 kB / 0.9107 GB, free: 3.578 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.37e-05/0.03094, allocations: 75.62 kB / 0.9108 GB, free: 3.504 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007424/0.03169, allocations: 0.5672 MB / 0.9114 GB, free: 2.914 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.03169, allocations: 4 kB / 0.9114 GB, free: 2.91 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.03169, allocations: 4 kB / 0.9114 GB, free: 2.906 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/0.0317, allocations: 3.938 kB / 0.9114 GB, free: 2.902 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001224/0.03293, allocations: 1.135 MB / 0.9125 GB, free: 1.684 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.03293, allocations: 0 / 0.9125 GB, free: 1.684 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.889e-05/0.03302, allocations: 43.91 kB / 0.9125 GB, free: 1.641 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000531/0.03355, allocations: 250.7 kB / 0.9128 GB, free: 1.379 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.178e-05/0.03357, allocations: 8 kB / 0.9128 GB, free: 1.371 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004063/0.03763, allocations: 7.71 MB / 0.9203 GB, free: 9.172 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.03764, allocations: 0 / 0.9203 GB, free: 9.172 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008136/0.03845, allocations: 0.7422 MB / 0.921 GB, free: 8.367 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.03858, allocations: 99.5 kB / 0.9211 GB, free: 8.27 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.294e-05/0.03861, allocations: 8 kB / 0.9211 GB, free: 8.262 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001282/0.03874, allocations: 27.91 kB / 0.9212 GB, free: 8.234 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/0.03884, allocations: 47.86 kB / 0.9212 GB, free: 8.188 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.03886, allocations: 16 kB / 0.9212 GB, free: 8.172 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001811/0.03904, allocations: 290.8 kB / 0.9215 GB, free: 7.891 MB / 0.8855 GB Notification: Performance of sort global known variables: time 5e-08/0.03904, allocations: 0 / 0.9215 GB, free: 7.891 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005743/0.03961, allocations: 196 kB / 0.9217 GB, free: 7.699 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.0001342/0.03975, allocations: 107.2 kB / 0.9218 GB, free: 7.586 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001036/0.04078, allocations: 1.149 MB / 0.9229 GB, free: 6.367 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.04079, allocations: 0 / 0.9229 GB, free: 6.367 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0006426/0.04143, allocations: 0.9565 MB / 0.9238 GB, free: 5.336 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005858/0.04201, allocations: 206.5 kB / 0.924 GB, free: 5.145 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001646/0.04366, allocations: 1.164 MB / 0.9252 GB, free: 3.918 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001619/0.04382, allocations: 202.2 kB / 0.9254 GB, free: 3.699 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001935/0.04402, allocations: 88.98 kB / 0.9255 GB, free: 3.609 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.861e-05/0.04407, allocations: 36.48 kB / 0.9255 GB, free: 3.574 MB / 0.8855 GB Notification: Performance of SimCode: time 1.783e-06/0.04408, allocations: 0 / 0.9255 GB, free: 3.574 MB / 0.8855 GB Notification: Performance of Templates: time 0.01407/0.05815, allocations: 10.95 MB / 0.9362 GB, free: 8.828 MB / 0.9011 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.497735318727791]