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.00239/0.00239, allocations: 89.48 kB / 19.44 MB, free: 332 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.002893/0.002893, allocations: 169.2 kB / 22.76 MB, free: 1.66 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 1.571/1.571, allocations: 177.1 MB / 203.1 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] 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 3.491/3.491, allocations: 429.5 MB / 0.6729 GB, free: 3.992 MB / 0.6355 GB " [Timeout remaining time 176] 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.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",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.1.|R1.v.2.|R2.v.1.|R2.v.2.|R3.v.1.|R3.v.2.|R1.i.1.|R1.i.2.|load_sc.i.1.|load_sc.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.114e-06/2.114e-06, allocations: 0 / 0.8774 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.459e-05/3.67e-05, allocations: 2.312 kB / 0.8774 GB, free: 6.629 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.01106/0.0111, allocations: 6.132 MB / 0.8834 GB, free: 0.5 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.006964/0.01806, allocations: 3.192 MB / 0.8866 GB, free: 13.31 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007635/0.01883, allocations: 39.62 kB / 0.8866 GB, free: 13.27 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.003049/0.02187, allocations: 0.9691 MB / 0.8875 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.001644/0.02352, allocations: 0.4885 MB / 0.888 GB, free: 11.81 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.001452/0.02497, allocations: 0.4918 MB / 0.8885 GB, free: 11.32 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.001824/0.02679, allocations: 1.12 MB / 0.8896 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001088/0.02788, allocations: 0.5022 MB / 0.8901 GB, free: 9.695 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001329/0.02921, allocations: 0.6117 MB / 0.8907 GB, free: 9.082 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009171/0.03013, allocations: 430.8 kB / 0.8911 GB, free: 8.66 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001738/0.0303, allocations: 63.98 kB / 0.8911 GB, free: 8.598 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001105/0.03141, allocations: 442.8 kB / 0.8916 GB, free: 8.164 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0004157/0.03182, allocations: 311.1 kB / 0.8919 GB, free: 7.859 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0006415/0.03246, allocations: 275.3 kB / 0.8921 GB, free: 7.59 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001918/0.03438, allocations: 1.215 MB / 0.8933 GB, free: 6.371 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.03439, allocations: 0 / 0.8933 GB, free: 6.371 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.182e-06/0.03439, allocations: 0 / 0.8933 GB, free: 6.371 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.21e-05/0.0344, allocations: 0 / 0.8933 GB, free: 6.371 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.001951/0.03635, allocations: 1.145 MB / 0.8944 GB, free: 5.188 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/0.0364, allocations: 12.02 kB / 0.8944 GB, free: 5.176 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001709/0.03811, allocations: 339.6 kB / 0.8948 GB, free: 4.844 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001074/0.03918, allocations: 0.5342 MB / 0.8953 GB, free: 4.285 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.421e-05/0.03923, allocations: 49.67 kB / 0.8953 GB, free: 4.238 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.03935, allocations: 64.36 kB / 0.8954 GB, free: 4.176 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001489/0.04084, allocations: 0.9639 MB / 0.8963 GB, free: 3.031 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.26e-05/0.04087, allocations: 12.19 kB / 0.8964 GB, free: 3.02 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.176e-05/0.04094, allocations: 28.36 kB / 0.8964 GB, free: 2.992 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001127/0.04105, allocations: 73.2 kB / 0.8964 GB, free: 2.922 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007917/0.04185, allocations: 376.5 kB / 0.8968 GB, free: 2.555 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006732/0.04858, allocations: 5.814 MB / 0.9025 GB, free: 12.54 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007123/0.04929, allocations: 262.7 kB / 0.9027 GB, free: 12.27 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007633/0.05005, allocations: 262.3 kB / 0.903 GB, free: 12.01 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.891e-05/0.0501, allocations: 8 kB / 0.903 GB, free: 12 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.496e-05/0.05016, allocations: 41.39 kB / 0.903 GB, free: 11.95 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=41): time 4.789e-06/0.05016, allocations: 0 / 0.903 GB, free: 11.95 MB / 0.8698 GB Notification: Performance of matching and sorting (n=42): time 0.004233/0.05439, allocations: 1.195 MB / 0.9042 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.05445, allocations: 55.41 kB / 0.9043 GB, free: 10.67 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006857/0.05513, allocations: 0.5414 MB / 0.9048 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 4.226e-05/0.05518, allocations: 33.7 kB / 0.9048 GB, free: 10.07 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004109/0.05559, allocations: 458.7 kB / 0.9053 GB, free: 9.617 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001865/0.05577, allocations: 166.6 kB / 0.9054 GB, free: 9.453 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002187/0.05599, allocations: 127.9 kB / 0.9055 GB, free: 9.32 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0003869/0.05638, allocations: 0.5508 MB / 0.9061 GB, free: 8.758 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003932/0.05677, allocations: 121.2 kB / 0.9062 GB, free: 8.641 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005933/0.05737, allocations: 436.7 kB / 0.9066 GB, free: 8.082 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008753/0.05824, allocations: 0.604 MB / 0.9072 GB, free: 7.348 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.64e-06/0.05825, allocations: 4 kB / 0.9072 GB, free: 7.344 MB / 0.8698 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001761/0.06001, allocations: 0.7649 MB / 0.9079 GB, free: 6.555 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 3.005e-05/0.06004, allocations: 8 kB / 0.9079 GB, free: 6.547 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.85e-05/0.06006, allocations: 8 kB / 0.908 GB, free: 6.539 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001246/0.0613, allocations: 282.7 kB / 0.9082 GB, free: 6.246 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003377/0.06164, allocations: 99.77 kB / 0.9083 GB, free: 6.148 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009326/0.07097, allocations: 7.897 MB / 0.916 GB, free: 13.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006689/0.07164, allocations: 35.97 kB / 0.9161 GB, free: 13.72 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.881e-05/0.07169, allocations: 28 kB / 0.9161 GB, free: 13.69 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.0004552/0.07215, allocations: 216.3 kB / 0.9163 GB, free: 13.47 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001529/0.0723, allocations: 75.61 kB / 0.9164 GB, free: 13.39 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001585/0.07389, allocations: 0.5907 MB / 0.9169 GB, free: 12.78 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.07389, allocations: 8 kB / 0.917 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.0739, allocations: 4 kB / 0.917 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.534e-06/0.07391, allocations: 3.938 kB / 0.917 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00271/0.07662, allocations: 1.279 MB / 0.9182 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.07663, allocations: 0 / 0.9182 GB, free: 11.4 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001808/0.07681, allocations: 43.89 kB / 0.9183 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001088/0.07789, allocations: 266.9 kB / 0.9185 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.786e-05/0.07793, allocations: 12 kB / 0.9185 GB, free: 11.07 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008047/0.08598, allocations: 7.889 MB / 0.9262 GB, free: 2.691 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.08598, allocations: 3.938 kB / 0.9262 GB, free: 2.688 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001742/0.08773, allocations: 0.7864 MB / 0.927 GB, free: 1.84 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00031/0.08804, allocations: 91.56 kB / 0.9271 GB, free: 1.75 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.08814, allocations: 19.95 kB / 0.9271 GB, free: 1.73 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00029/0.08843, allocations: 19.97 kB / 0.9271 GB, free: 1.711 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.08855, allocations: 43.92 kB / 0.9272 GB, free: 1.668 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.824e-05/0.08858, allocations: 8 kB / 0.9272 GB, free: 1.66 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000404/0.08898, allocations: 342.8 kB / 0.9275 GB, free: 1.328 MB / 0.8855 GB Notification: Performance of sort global known variables: time 6e-08/0.08898, allocations: 0 / 0.9275 GB, free: 1.328 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000875/0.08985, allocations: 200 kB / 0.9277 GB, free: 1.133 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.0001794/0.09003, allocations: 111.1 kB / 0.9278 GB, free: 1.016 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.00201/0.09204, allocations: 1.187 MB / 0.929 GB, free: 15.76 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.377e-06/0.09205, allocations: 0 / 0.929 GB, free: 15.76 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.001333/0.09338, allocations: 0.9768 MB / 0.9299 GB, free: 14.71 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001018/0.0944, allocations: 197.6 kB / 0.9301 GB, free: 14.52 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002199/0.0966, allocations: 1.175 MB / 0.9312 GB, free: 13.28 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004886/0.09709, allocations: 386.6 kB / 0.9316 GB, free: 12.88 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0002671/0.09735, allocations: 81 kB / 0.9317 GB, free: 12.8 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.671e-05/0.09744, allocations: 36.5 kB / 0.9317 GB, free: 12.76 MB / 0.9011 GB Notification: Performance of SimCode: time 9.72e-07/0.09744, allocations: 0 / 0.9317 GB, free: 12.76 MB / 0.9011 GB Notification: Performance of Templates: time 0.02054/0.118, allocations: 10.52 MB / 0.942 GB, free: 2.441 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.079127633944154]