Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001464/0.001464, allocations: 113.5 kB / 16.37 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001679/0.001679, allocations: 189 kB / 17.3 MB, free: 5.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.321/2.321, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001306, allocations: 61.44 kB / 0.814 GB, free: 32.61 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3239/0.3253, allocations: 140.4 MB / 0.9511 GB, free: 8.031 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01364/0.339, allocations: 10.91 MB / 0.9618 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01416/0.3532, allocations: 8.788 MB / 0.9704 GB, free: 4.262 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001902/0.3551, allocations: 63.56 kB / 0.9704 GB, free: 4.199 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.004696/0.3598, allocations: 1.68 MB / 0.9721 GB, free: 2.516 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.005119/0.365, allocations: 1.523 MB / 0.9736 GB, free: 0.9844 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002149/0.3671, allocations: 0.6699 MB / 0.9742 GB, free: 324 kB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003399/0.3705, allocations: 2.29 MB / 0.9765 GB, free: 14.02 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002061/0.3726, allocations: 1.376 MB / 0.9778 GB, free: 12.61 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001986/0.3746, allocations: 0.9848 MB / 0.9788 GB, free: 11.62 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002132/0.3768, allocations: 1.019 MB / 0.9798 GB, free: 10.59 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0003993/0.3772, allocations: 140 kB / 0.9799 GB, free: 10.46 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00194/0.3792, allocations: 0.7955 MB / 0.9807 GB, free: 9.66 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0006585/0.3798, allocations: 0.5686 MB / 0.9812 GB, free: 9.09 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001357/0.3812, allocations: 0.8861 MB / 0.9821 GB, free: 8.199 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.003816/0.385, allocations: 2.57 MB / 0.9846 GB, free: 5.621 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.144e-06/0.3851, allocations: 0 / 0.9846 GB, free: 5.621 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.645e-06/0.3851, allocations: 0 / 0.9846 GB, free: 5.621 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 5.966e-05/0.3851, allocations: 4 kB / 0.9846 GB, free: 5.617 MB / 0.7637 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.003946/0.3891, allocations: 2.022 MB / 0.9866 GB, free: 3.539 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.3892, allocations: 12.03 kB / 0.9866 GB, free: 3.527 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01047/0.3996, allocations: 2.042 MB / 0.9886 GB, free: 1.48 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002924/0.4026, allocations: 1.216 MB / 0.9898 GB, free: 212 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.349e-05/0.4027, allocations: 82.7 kB / 0.9898 GB, free: 128 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002779/0.403, allocations: 120 kB / 0.99 GB, free: 8 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005398/0.4084, allocations: 2.489 MB / 0.9924 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.016e-05/0.4085, allocations: 7.922 kB / 0.9924 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001452/0.4086, allocations: 52 kB / 0.9924 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003321/0.409, allocations: 126.1 kB / 0.9926 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006699/0.4157, allocations: 2.541 MB / 0.995 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01389/0.4296, allocations: 10.03 MB / 1.005 GB, free: 15.95 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005484/0.4351, allocations: 1.952 MB / 1.007 GB, free: 13.96 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002533/0.4377, allocations: 0.9699 MB / 1.008 GB, free: 12.99 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 5.705e-05/0.4378, allocations: 8.438 kB / 1.008 GB, free: 12.98 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.15e-05/0.4378, allocations: 39 kB / 1.008 GB, free: 12.94 MB / 0.795 GB Notification: Performance of pre-optimization done (n=53): time 2.555e-06/0.4379, allocations: 0 / 1.008 GB, free: 12.94 MB / 0.795 GB Notification: Performance of matching and sorting (n=81): time 0.02901/0.4669, allocations: 8.707 MB / 1.016 GB, free: 4.172 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.218e-05/0.4669, allocations: 64.06 kB / 1.016 GB, free: 4.098 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001566/0.4685, allocations: 1.105 MB / 1.017 GB, free: 2.977 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001881/0.4687, allocations: 41.7 kB / 1.017 GB, free: 2.93 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005472/0.4693, allocations: 0.7379 MB / 1.018 GB, free: 2.184 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.000331/0.4696, allocations: 283.9 kB / 1.018 GB, free: 1.902 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000407/0.47, allocations: 198.5 kB / 1.019 GB, free: 1.699 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001321/0.4702, allocations: 338 kB / 1.019 GB, free: 1.363 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002763/0.4729, allocations: 1.079 MB / 1.02 GB, free: 292 kB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002868/0.4758, allocations: 1.301 MB / 1.021 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005641/0.4815, allocations: 2.386 MB / 1.024 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/0.4815, allocations: 4 kB / 1.024 GB, free: 12.4 MB / 0.8106 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008536/0.4901, allocations: 3.272 MB / 1.027 GB, free: 9.094 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.669e-05/0.4901, allocations: 8 kB / 1.027 GB, free: 9.086 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.762e-05/0.4902, allocations: 8 kB / 1.027 GB, free: 9.078 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002775/0.4929, allocations: 0.7917 MB / 1.028 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001856/0.4948, allocations: 427.2 kB / 1.028 GB, free: 7.844 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01563/0.5105, allocations: 15.91 MB / 1.044 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002241/0.5128, allocations: 295.6 kB / 1.044 GB, free: 6.52 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001634/0.5129, allocations: 47.97 kB / 1.044 GB, free: 6.473 MB / 0.8262 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.0007819/0.5137, allocations: 403.4 kB / 1.044 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003059/0.514, allocations: 146.2 kB / 1.044 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008163/0.5222, allocations: 3.198 MB / 1.047 GB, free: 2.691 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/0.5223, allocations: 11.94 kB / 1.047 GB, free: 2.68 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.455e-05/0.5223, allocations: 8 kB / 1.048 GB, free: 2.672 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/0.5223, allocations: 3.984 kB / 1.048 GB, free: 2.668 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01155/0.5339, allocations: 4.913 MB / 1.052 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.117e-05/0.5339, allocations: 3.938 kB / 1.052 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001513/0.5354, allocations: 355.7 kB / 1.053 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00235/0.5378, allocations: 0.6934 MB / 1.053 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001341/0.538, allocations: 43.95 kB / 1.053 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01512/0.5531, allocations: 15.52 MB / 1.069 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.173e-06/0.5531, allocations: 7.938 kB / 1.069 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007573/0.5607, allocations: 3.039 MB / 1.071 GB, free: 8.742 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001241/0.562, allocations: 375.2 kB / 1.072 GB, free: 8.355 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002835/0.5623, allocations: 31.92 kB / 1.072 GB, free: 8.324 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001699/0.564, allocations: 291.6 kB / 1.072 GB, free: 8.039 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003294/0.5644, allocations: 76.5 kB / 1.072 GB, free: 7.965 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001145/0.5645, allocations: 47.97 kB / 1.072 GB, free: 7.918 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.00118/0.5657, allocations: 0.7366 MB / 1.073 GB, free: 7.18 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5657, allocations: 0 / 1.073 GB, free: 7.18 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001695/0.5674, allocations: 432 kB / 1.073 GB, free: 6.758 MB / 0.8575 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.0002824/0.5677, allocations: 135 kB / 1.074 GB, free: 6.613 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.00801/0.5757, allocations: 3.637 MB / 1.077 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.5757, allocations: 0 / 1.077 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.004672/0.5804, allocations: 2.364 MB / 1.079 GB, free: 416 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.5728/1.153, allocations: 0.5242 MB / 1.08 GB, free: 123.9 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01051/1.164, allocations: 3.428 MB / 1.083 GB, free: 123 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00156/1.165, allocations: 1.387 MB / 1.085 GB, free: 122.3 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001837/1.167, allocations: 382.8 kB / 1.085 GB, free: 122.3 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000408/1.168, allocations: 107.1 kB / 1.085 GB, free: 122.3 MB / 0.8575 GB Notification: Performance of SimCode: time 1.433e-06/1.168, allocations: 0 / 1.085 GB, free: 122.3 MB / 0.8575 GB Notification: Performance of Templates: time 0.07745/1.245, allocations: 30.23 MB / 1.115 GB, free: 115.2 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches