Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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.001318/0.001318, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.001468/0.001468, allocations: 181 kB / 24.09 MB, free: 420 kB / 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.938/0.938, allocations: 177.1 MB / 204.5 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] 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 1.703/1.703, allocations: 359 MB / 0.6055 GB, free: 10.86 MB / 0.573 GB " [Timeout remaining time 178] 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,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_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,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_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0.6562 kB / 0.7876 GB, free: 11.07 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.951e-05/2.12e-05, allocations: 3.094 kB / 0.7876 GB, free: 11.07 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.006126/0.006148, allocations: 7.658 MB / 0.795 GB, free: 3.387 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.007238/0.01339, allocations: 5.786 MB / 0.8007 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007612/0.01415, allocations: 83.25 kB / 0.8008 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0007728/0.01492, allocations: 373 kB / 0.8011 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.002395/0.01731, allocations: 1.417 MB / 0.8025 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008206/0.01814, allocations: 0.5616 MB / 0.8031 GB, free: 11.2 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.001704/0.01984, allocations: 2.367 MB / 0.8054 GB, free: 8.82 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001104/0.02094, allocations: 1.153 MB / 0.8065 GB, free: 7.633 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001441/0.02238, allocations: 1.547 MB / 0.808 GB, free: 6.082 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000871/0.02326, allocations: 0.8764 MB / 0.8089 GB, free: 5.203 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001728/0.02343, allocations: 136 kB / 0.809 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004395/0.02387, allocations: 287.6 kB / 0.8093 GB, free: 4.789 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0004216/0.02429, allocations: 0.5958 MB / 0.8098 GB, free: 4.191 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.000412/0.0247, allocations: 0.5844 MB / 0.8104 GB, free: 3.605 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.001016/0.02572, allocations: 1.413 MB / 0.8118 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.02572, allocations: 0 / 0.8118 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.012e-06/0.02572, allocations: 0 / 0.8118 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.41e-05/0.02574, allocations: 4 kB / 0.8118 GB, free: 2.184 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.001704/0.02744, allocations: 2.014 MB / 0.8138 GB, free: 128 kB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.02748, allocations: 12.03 kB / 0.8138 GB, free: 116 kB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003123/0.03061, allocations: 0.8423 MB / 0.8146 GB, free: 15.27 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001333/0.03194, allocations: 1.141 MB / 0.8157 GB, free: 14.08 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.514e-05/0.032, allocations: 90.69 kB / 0.8158 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001529/0.03215, allocations: 120.4 kB / 0.8159 GB, free: 13.87 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001732/0.03388, allocations: 1.615 MB / 0.8175 GB, free: 12.02 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.948e-05/0.03391, allocations: 15.86 kB / 0.8175 GB, free: 12 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.458e-05/0.03399, allocations: 47.98 kB / 0.8176 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001488/0.03414, allocations: 110.2 kB / 0.8177 GB, free: 11.85 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007038/0.03485, allocations: 0.612 MB / 0.8183 GB, free: 11.22 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005093/0.03994, allocations: 7.35 MB / 0.8254 GB, free: 3.668 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000828/0.04077, allocations: 419.5 kB / 0.8258 GB, free: 3.246 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002366/0.041, allocations: 201 kB / 0.826 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.291e-05/0.04104, allocations: 8.5 kB / 0.826 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.574e-05/0.04106, allocations: 41.89 kB / 0.8261 GB, free: 2.988 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=53): time 1.954e-06/0.04106, allocations: 0 / 0.8261 GB, free: 2.988 MB / 0.7292 GB Notification: Performance of matching and sorting (n=81): time 0.004317/0.04538, allocations: 2.593 MB / 0.8286 GB, free: 372 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.292e-05/0.04541, allocations: 60.06 kB / 0.8287 GB, free: 296 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006254/0.04604, allocations: 0.9197 MB / 0.8296 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.229e-05/0.0461, allocations: 45.69 kB / 0.8296 GB, free: 15.3 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004873/0.04659, allocations: 0.8116 MB / 0.8304 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001638/0.04675, allocations: 293.4 kB / 0.8307 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002305/0.04698, allocations: 212.1 kB / 0.8309 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000121/0.04711, allocations: 0.5276 MB / 0.8314 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000282/0.04739, allocations: 237.8 kB / 0.8316 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004091/0.0478, allocations: 0.5634 MB / 0.8322 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007577/0.04855, allocations: 0.8401 MB / 0.833 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.04856, allocations: 8 kB / 0.833 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.001873/0.05043, allocations: 1.434 MB / 0.8344 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.05045, allocations: 10.03 kB / 0.8344 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.047e-06/0.05046, allocations: 8 kB / 0.8344 GB, free: 10.05 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001498/0.05196, allocations: 0.6842 MB / 0.8351 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004899/0.05245, allocations: 191.6 kB / 0.8353 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006928/0.05937, allocations: 15.27 MB / 0.8502 GB, free: 8.957 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005207/0.05989, allocations: 51.97 kB / 0.8502 GB, free: 8.906 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.024e-05/0.05995, allocations: 48.03 kB / 0.8503 GB, free: 8.859 MB / 0.7605 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,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.000297/0.06025, allocations: 212.3 kB / 0.8505 GB, free: 8.641 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001764/0.06043, allocations: 163.1 kB / 0.8506 GB, free: 8.48 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001867/0.06229, allocations: 1.326 MB / 0.8519 GB, free: 7.105 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.0623, allocations: 11.94 kB / 0.8519 GB, free: 7.094 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.06231, allocations: 8 kB / 0.8519 GB, free: 7.086 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.06231, allocations: 3.984 kB / 0.852 GB, free: 7.082 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002733/0.06504, allocations: 2.272 MB / 0.8542 GB, free: 4.695 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.06505, allocations: 8.344 kB / 0.8542 GB, free: 4.688 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003583/0.06541, allocations: 119.8 kB / 0.8543 GB, free: 4.57 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001328/0.06673, allocations: 0.6417 MB / 0.8549 GB, free: 3.895 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.976e-05/0.06678, allocations: 27.97 kB / 0.8549 GB, free: 3.867 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006625/0.07341, allocations: 15.22 MB / 0.8698 GB, free: 3.734 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.07341, allocations: 3.984 kB / 0.8698 GB, free: 3.73 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001658/0.07507, allocations: 1.38 MB / 0.8712 GB, free: 2.25 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000311/0.07538, allocations: 266.9 kB / 0.8714 GB, free: 1.988 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.191e-05/0.07547, allocations: 16 kB / 0.8714 GB, free: 1.973 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004283/0.0759, allocations: 43.97 kB / 0.8715 GB, free: 1.93 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001558/0.07606, allocations: 84.39 kB / 0.8715 GB, free: 1.848 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.852e-05/0.07611, allocations: 27.97 kB / 0.8716 GB, free: 1.82 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003438/0.07645, allocations: 0.5367 MB / 0.8721 GB, free: 1.277 MB / 0.7761 GB Notification: Performance of sort global known variables: time 2.1e-07/0.07645, allocations: 0 / 0.8721 GB, free: 1.277 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.001115/0.07756, allocations: 432 kB / 0.8725 GB, free: 0.8555 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,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.0002133/0.07778, allocations: 131 kB / 0.8726 GB, free: 0.7188 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.001981/0.07976, allocations: 2.357 MB / 0.8749 GB, free: 14.21 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.07976, allocations: 4 kB / 0.8749 GB, free: 14.21 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001386/0.08115, allocations: 1.969 MB / 0.8769 GB, free: 12.1 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001086/0.08223, allocations: 497.7 kB / 0.8773 GB, free: 11.64 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003052/0.08529, allocations: 2.574 MB / 0.8799 GB, free: 8.977 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002969/0.08558, allocations: 387.3 kB / 0.8802 GB, free: 8.574 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.0006559/0.08624, allocations: 282.6 kB / 0.8805 GB, free: 8.293 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007125/0.08695, allocations: 477.8 kB / 0.8809 GB, free: 7.824 MB / 0.7917 GB Notification: Performance of SimCode: time 7.91e-07/0.08695, allocations: 0 / 0.8809 GB, free: 7.824 MB / 0.7917 GB Notification: Performance of Templates: time 0.03293/0.1199, allocations: 33.13 MB / 0.9133 GB, free: 7.328 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.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.19258766900748]