Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.01545/0.01545, allocations: 98.97 kB / 15.73 MB, free: 6.016 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.003132/0.003133, allocations: 200.8 kB / 16.68 MB, free: 5.93 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.619/1.619, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.626/2.626, allocations: 437 MB / 0.7105 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 64.12 kB / 1.019 GB, free: 9.387 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.229/1.231, allocations: 151.6 MB / 1.167 GB, free: 3.82 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01542/1.246, allocations: 10.91 MB / 1.177 GB, free: 8.867 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02232/1.269, allocations: 8.803 MB / 1.186 GB, free: 32 kB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002632/1.271, allocations: 59.8 kB / 1.186 GB, free: 15.97 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.006632/1.278, allocations: 1.673 MB / 1.188 GB, free: 14.3 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.008011/1.286, allocations: 1.531 MB / 1.189 GB, free: 12.76 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.003092/1.289, allocations: 0.6733 MB / 1.19 GB, free: 12.09 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.005189/1.294, allocations: 2.271 MB / 1.192 GB, free: 9.805 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003395/1.298, allocations: 1.395 MB / 1.193 GB, free: 8.379 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002609/1.3, allocations: 0.9692 MB / 1.194 GB, free: 7.406 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002797/1.303, allocations: 1.027 MB / 1.195 GB, free: 6.375 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0007833/1.304, allocations: 140 kB / 1.195 GB, free: 6.238 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00313/1.307, allocations: 0.7955 MB / 1.196 GB, free: 5.441 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001251/1.308, allocations: 0.5686 MB / 1.197 GB, free: 4.871 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.002232/1.311, allocations: 0.8862 MB / 1.198 GB, free: 3.98 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.00527/1.316, allocations: 2.577 MB / 1.2 GB, free: 1.395 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/1.316, allocations: 0 / 1.2 GB, free: 1.395 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.453e-06/1.316, allocations: 0 / 1.2 GB, free: 1.395 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.000134/1.316, allocations: 4 kB / 1.2 GB, free: 1.391 MB / 0.92 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.005907/1.322, allocations: 2.064 MB / 1.202 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.883e-05/1.322, allocations: 20.45 kB / 1.202 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01121/1.333, allocations: 2.063 MB / 1.204 GB, free: 13.18 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00308/1.336, allocations: 1.225 MB / 1.205 GB, free: 11.9 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001146/1.337, allocations: 86.69 kB / 1.205 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004469/1.337, allocations: 120.1 kB / 1.206 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006321/1.343, allocations: 2.49 MB / 1.208 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.933e-05/1.343, allocations: 7.938 kB / 1.208 GB, free: 9.051 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002111/1.344, allocations: 55.98 kB / 1.208 GB, free: 8.996 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003615/1.344, allocations: 126.1 kB / 1.208 GB, free: 8.871 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007409/1.351, allocations: 2.533 MB / 1.211 GB, free: 6.328 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01512/1.367, allocations: 10.04 MB / 1.22 GB, free: 11.62 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006378/1.373, allocations: 1.951 MB / 1.222 GB, free: 9.648 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002857/1.376, allocations: 0.9815 MB / 1.223 GB, free: 8.664 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 6.265e-05/1.376, allocations: 4.438 kB / 1.223 GB, free: 8.66 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.837e-05/1.376, allocations: 43 kB / 1.223 GB, free: 8.609 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=53): time 2.715e-06/1.376, allocations: 0 / 1.223 GB, free: 8.609 MB / 0.9512 GB Notification: Performance of matching and sorting (n=81): time 0.03969/1.416, allocations: 8.733 MB / 1.232 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.973e-05/1.416, allocations: 64.06 kB / 1.232 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002499/1.418, allocations: 1.105 MB / 1.233 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001704/1.419, allocations: 41.7 kB / 1.233 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008302/1.419, allocations: 0.7512 MB / 1.234 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004884/1.42, allocations: 297.4 kB / 1.234 GB, free: 13.53 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000658/1.421, allocations: 202.5 kB / 1.234 GB, free: 13.33 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.000181/1.421, allocations: 341.9 kB / 1.235 GB, free: 12.99 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004198/1.425, allocations: 1.075 MB / 1.236 GB, free: 11.91 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004754/1.43, allocations: 1.305 MB / 1.237 GB, free: 10.51 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008714/1.439, allocations: 2.378 MB / 1.239 GB, free: 8.039 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.287e-06/1.439, allocations: 4 kB / 1.239 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.01345/1.452, allocations: 3.277 MB / 1.242 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 3.976e-05/1.452, allocations: 8 kB / 1.242 GB, free: 4.711 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.783e-05/1.452, allocations: 8 kB / 1.242 GB, free: 4.703 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004271/1.456, allocations: 0.7878 MB / 1.243 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002892/1.459, allocations: 427.2 kB / 1.244 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02502/1.484, allocations: 15.93 MB / 1.259 GB, free: 2.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003651/1.488, allocations: 291.6 kB / 1.259 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003413/1.488, allocations: 47.97 kB / 1.259 GB, free: 2.086 MB / 0.9825 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.0014/1.49, allocations: 405.4 kB / 1.26 GB, free: 1.68 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006361/1.491, allocations: 151.1 kB / 1.26 GB, free: 1.531 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01324/1.504, allocations: 3.199 MB / 1.263 GB, free: 14.29 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.884e-05/1.504, allocations: 11.94 kB / 1.263 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.641e-05/1.504, allocations: 8 kB / 1.263 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.702e-05/1.504, allocations: 3.984 kB / 1.263 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01335/1.517, allocations: 4.905 MB / 1.268 GB, free: 9.238 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.768e-06/1.517, allocations: 3.938 kB / 1.268 GB, free: 9.234 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001682/1.519, allocations: 363.7 kB / 1.268 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002494/1.522, allocations: 0.6974 MB / 1.269 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001332/1.522, allocations: 31.97 kB / 1.269 GB, free: 8.125 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01733/1.539, allocations: 15.53 MB / 1.284 GB, free: 7.469 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.611e-06/1.539, allocations: 4 kB / 1.284 GB, free: 7.465 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008422/1.547, allocations: 3.056 MB / 1.287 GB, free: 4.328 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009556/1.548, allocations: 388 kB / 1.288 GB, free: 3.93 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003733/1.549, allocations: 24 kB / 1.288 GB, free: 3.906 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002119/1.551, allocations: 291.4 kB / 1.288 GB, free: 3.621 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002901/1.551, allocations: 76.5 kB / 1.288 GB, free: 3.547 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001167/1.551, allocations: 47.95 kB / 1.288 GB, free: 3.5 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001301/1.553, allocations: 0.7327 MB / 1.289 GB, free: 2.766 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.01e-07/1.553, allocations: 0 / 1.289 GB, free: 2.766 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.002053/1.555, allocations: 435.9 kB / 1.289 GB, free: 2.34 MB / 1.014 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.0003375/1.555, allocations: 134.2 kB / 1.289 GB, free: 2.203 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.009171/1.564, allocations: 3.636 MB / 1.293 GB, free: 14.46 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 7.234e-06/1.564, allocations: 0 / 1.293 GB, free: 14.46 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.005411/1.57, allocations: 2.371 MB / 1.295 GB, free: 11.99 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003572/1.573, allocations: 0.5276 MB / 1.296 GB, free: 11.48 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009169/1.583, allocations: 3.481 MB / 1.299 GB, free: 7.945 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001515/1.584, allocations: 1.384 MB / 1.3 GB, free: 6.531 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.001498/1.586, allocations: 379.9 kB / 1.301 GB, free: 6.156 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003949/1.586, allocations: 103.4 kB / 1.301 GB, free: 6.055 MB / 1.029 GB Notification: Performance of SimCode: time 2.044e-06/1.586, allocations: 0 / 1.301 GB, free: 6.055 MB / 1.029 GB Notification: Performance of Templates: time 0.05379/1.64, allocations: 30.5 MB / 1.331 GB, free: 7.945 MB / 1.061 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches