Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001792/0.001792, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.001883/0.001883, allocations: 165.7 kB / 23.55 MB, free: 0.8711 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.507/1.507, allocations: 177.1 MB / 203.9 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 2.789/2.789, allocations: 359 MB / 0.6048 GB, free: 10.98 MB / 0.573 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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_11_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_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.785e-06/2.785e-06, allocations: 0 / 0.7864 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.169e-05/3.448e-05, allocations: 5.125 kB / 0.7864 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.0145/0.01454, allocations: 6.13 MB / 0.7924 GB, free: 6.695 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.006648/0.02119, allocations: 3.203 MB / 0.7955 GB, free: 3.492 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005452/0.02173, allocations: 40.16 kB / 0.7955 GB, free: 3.453 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.002845/0.02458, allocations: 0.957 MB / 0.7965 GB, free: 2.496 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.00122/0.0258, allocations: 0.5092 MB / 0.797 GB, free: 1.988 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001144/0.02694, allocations: 484.3 kB / 0.7974 GB, free: 1.516 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001414/0.02835, allocations: 1.123 MB / 0.7985 GB, free: 396 kB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009198/0.02927, allocations: 0.5107 MB / 0.799 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000928/0.0302, allocations: 0.6088 MB / 0.7996 GB, free: 15.27 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007382/0.03094, allocations: 431.3 kB / 0.8 GB, free: 14.85 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 0.0001125/0.03105, allocations: 57.38 kB / 0.8001 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000916/0.03197, allocations: 450.7 kB / 0.8005 GB, free: 14.35 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0004007/0.03237, allocations: 315.1 kB / 0.8008 GB, free: 14.04 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0003878/0.03276, allocations: 271.3 kB / 0.8011 GB, free: 13.78 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.001735/0.03449, allocations: 1.208 MB / 0.8023 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.0345, allocations: 0 / 0.8023 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.344e-06/0.0345, allocations: 3.938 kB / 0.8023 GB, free: 12.56 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 1.339e-05/0.03451, allocations: 0.8125 kB / 0.8023 GB, free: 12.56 MB / 0.7605 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.002043/0.03656, allocations: 1.136 MB / 0.8034 GB, free: 11.39 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.907e-05/0.03662, allocations: 12.03 kB / 0.8034 GB, free: 11.38 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001717/0.03833, allocations: 342.7 kB / 0.8037 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001147/0.03948, allocations: 0.5492 MB / 0.8042 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.203e-05/0.03953, allocations: 41.69 kB / 0.8043 GB, free: 10.44 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001292/0.03966, allocations: 68.3 kB / 0.8043 GB, free: 10.37 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00159/0.04125, allocations: 0.9651 MB / 0.8053 GB, free: 9.23 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.521e-05/0.04129, allocations: 8.078 kB / 0.8053 GB, free: 9.223 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.587e-05/0.04136, allocations: 28.38 kB / 0.8053 GB, free: 9.195 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001201/0.04148, allocations: 74.3 kB / 0.8054 GB, free: 9.121 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007954/0.04228, allocations: 377.2 kB / 0.8058 GB, free: 8.754 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006778/0.04906, allocations: 5.805 MB / 0.8114 GB, free: 2.754 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007533/0.04981, allocations: 264.2 kB / 0.8117 GB, free: 2.484 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007896/0.0506, allocations: 267.6 kB / 0.8119 GB, free: 2.223 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 5.486e-05/0.05065, allocations: 11.98 kB / 0.8119 GB, free: 2.211 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.468e-05/0.0507, allocations: 37.39 kB / 0.812 GB, free: 2.164 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=41): time 2.655e-06/0.0507, allocations: 3.938 kB / 0.812 GB, free: 2.16 MB / 0.7605 GB Notification: Performance of matching and sorting (n=42): time 0.004167/0.05487, allocations: 1.191 MB / 0.8131 GB, free: 0.9453 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.318e-05/0.05492, allocations: 55.41 kB / 0.8132 GB, free: 0.8789 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006183/0.05554, allocations: 0.5415 MB / 0.8137 GB, free: 328 kB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 4.04e-05/0.05558, allocations: 33.7 kB / 0.8138 GB, free: 288 kB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003954/0.05598, allocations: 458.9 kB / 0.8142 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002563/0.05623, allocations: 166.6 kB / 0.8144 GB, free: 15.66 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002019/0.05643, allocations: 120 kB / 0.8145 GB, free: 15.54 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0003422/0.05678, allocations: 0.5547 MB / 0.815 GB, free: 14.97 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002572/0.05703, allocations: 125.2 kB / 0.8151 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005675/0.0576, allocations: 436.7 kB / 0.8155 GB, free: 14.29 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008823/0.05848, allocations: 0.5993 MB / 0.8161 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.045e-06/0.05849, allocations: 0 / 0.8161 GB, free: 13.56 MB / 0.7761 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001721/0.06021, allocations: 0.7758 MB / 0.8169 GB, free: 12.76 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.06023, allocations: 8.875 kB / 0.8169 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.546e-05/0.06025, allocations: 4 kB / 0.8169 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0012/0.06145, allocations: 282.4 kB / 0.8172 GB, free: 12.46 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003352/0.06178, allocations: 103.8 kB / 0.8173 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008195/0.06998, allocations: 7.883 MB / 0.825 GB, free: 3.98 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004775/0.07046, allocations: 31.97 kB / 0.825 GB, free: 3.949 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.366e-05/0.07051, allocations: 27.94 kB / 0.825 GB, free: 3.922 MB / 0.7761 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.000355/0.07086, allocations: 216.4 kB / 0.8252 GB, free: 3.699 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.07099, allocations: 67.67 kB / 0.8253 GB, free: 3.633 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001552/0.07254, allocations: 0.6023 MB / 0.8259 GB, free: 3.008 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.683e-06/0.07254, allocations: 4.188 kB / 0.8259 GB, free: 3.004 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.667e-06/0.07255, allocations: 8 kB / 0.8259 GB, free: 2.996 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.07256, allocations: 7.922 kB / 0.8259 GB, free: 2.988 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002569/0.07513, allocations: 1.274 MB / 0.8271 GB, free: 1.629 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/0.07514, allocations: 0 / 0.8271 GB, free: 1.629 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001768/0.07531, allocations: 44.16 kB / 0.8272 GB, free: 1.586 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00111/0.07642, allocations: 282.7 kB / 0.8275 GB, free: 1.293 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.403e-05/0.07646, allocations: 8 kB / 0.8275 GB, free: 1.285 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00789/0.08435, allocations: 7.877 MB / 0.8352 GB, free: 8.914 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.08435, allocations: 8 kB / 0.8352 GB, free: 8.906 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001622/0.08597, allocations: 0.7702 MB / 0.8359 GB, free: 8.074 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002955/0.08627, allocations: 103.5 kB / 0.836 GB, free: 7.973 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.529e-05/0.08634, allocations: 8 kB / 0.836 GB, free: 7.965 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002765/0.08661, allocations: 23.97 kB / 0.836 GB, free: 7.941 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/0.08675, allocations: 47.61 kB / 0.8361 GB, free: 7.895 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.64e-05/0.08679, allocations: 20 kB / 0.8361 GB, free: 7.875 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.0003921/0.08718, allocations: 334.8 kB / 0.8364 GB, free: 7.551 MB / 0.7917 GB Notification: Performance of sort global known variables: time 8e-08/0.08718, allocations: 0 / 0.8364 GB, free: 7.551 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0008333/0.08801, allocations: 196 kB / 0.8366 GB, free: 7.359 MB / 0.7917 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.0001748/0.08819, allocations: 119.1 kB / 0.8367 GB, free: 7.234 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.001941/0.09013, allocations: 1.184 MB / 0.8379 GB, free: 5.98 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.09013, allocations: 0 / 0.8379 GB, free: 5.98 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001356/0.09149, allocations: 0.976 MB / 0.8388 GB, free: 4.93 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001016/0.0925, allocations: 201.4 kB / 0.839 GB, free: 4.742 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/0.09462, allocations: 1.179 MB / 0.8402 GB, free: 3.504 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004594/0.09508, allocations: 378.7 kB / 0.8405 GB, free: 3.109 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0002482/0.09533, allocations: 84.98 kB / 0.8406 GB, free: 3.023 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.707e-05/0.09542, allocations: 40.5 kB / 0.8407 GB, free: 2.984 MB / 0.7917 GB Notification: Performance of SimCode: time 8.31e-07/0.09542, allocations: 0 / 0.8407 GB, free: 2.984 MB / 0.7917 GB Notification: Performance of Templates: time 0.02113/0.1165, allocations: 10.51 MB / 0.8509 GB, free: 8.684 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.297996310982853]