Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.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_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R,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.|sc_load.i.1.|sc_load.i.2.|R2.i.1.|R2.i.2.|R3.i.1.|R3.i.2.",fileNamePrefix="Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 104 kB / 15.6 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001749/0.001749, allocations: 192.6 kB / 16.53 MB, free: 6.664 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.644/1.644, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.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.775/2.775, allocations: 437 MB / 0.7103 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001684/0.001684, allocations: 59.91 kB / 0.8692 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8348/0.8365, allocations: 151.6 MB / 1.017 GB, free: 2.543 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.009016/0.8455, allocations: 6.737 MB / 1.024 GB, free: 11.78 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004948/0.8505, allocations: 3.043 MB / 1.027 GB, free: 8.727 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008271/0.8514, allocations: 23.88 kB / 1.027 GB, free: 8.703 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002674/0.8541, allocations: 0.953 MB / 1.028 GB, free: 7.746 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001469/0.8556, allocations: 0.4934 MB / 1.028 GB, free: 7.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.8568, allocations: 430.8 kB / 1.029 GB, free: 6.832 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001735/0.8585, allocations: 1.224 MB / 1.03 GB, free: 5.602 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001057/0.8596, allocations: 0.6641 MB / 1.031 GB, free: 4.938 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000762/0.8603, allocations: 474.3 kB / 1.031 GB, free: 4.473 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008331/0.8612, allocations: 0.5098 MB / 1.031 GB, free: 3.961 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002398/0.8614, allocations: 68 kB / 1.032 GB, free: 3.895 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001198/0.8627, allocations: 379.2 kB / 1.032 GB, free: 3.523 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0005679/0.8632, allocations: 315.1 kB / 1.032 GB, free: 3.215 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0009898/0.8642, allocations: 445.8 kB / 1.033 GB, free: 2.777 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002335/0.8666, allocations: 1.203 MB / 1.034 GB, free: 1.57 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.8666, allocations: 0 / 1.034 GB, free: 1.57 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.914e-06/0.8666, allocations: 0 / 1.034 GB, free: 1.57 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 6.65e-05/0.8667, allocations: 0 / 1.034 GB, free: 1.57 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.003167/0.8699, allocations: 1.157 MB / 1.035 GB, free: 372 kB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.8699, allocations: 11.98 kB / 1.035 GB, free: 360 kB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001728/0.8717, allocations: 239.5 kB / 1.035 GB, free: 120 kB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008995/0.8726, allocations: 0.5491 MB / 1.036 GB, free: 15.52 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.853e-05/0.8726, allocations: 53.67 kB / 1.036 GB, free: 15.47 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.771e-05/0.8727, allocations: 60.38 kB / 1.036 GB, free: 15.41 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001421/0.8742, allocations: 1.085 MB / 1.037 GB, free: 14.21 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.423e-05/0.8742, allocations: 3.938 kB / 1.037 GB, free: 14.21 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.888e-05/0.8743, allocations: 35.98 kB / 1.037 GB, free: 14.18 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001494/0.8744, allocations: 85.25 kB / 1.037 GB, free: 14.09 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001048/0.8755, allocations: 0.7504 MB / 1.038 GB, free: 13.34 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005378/0.8809, allocations: 5.897 MB / 1.043 GB, free: 7.016 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009734/0.8819, allocations: 0.5516 MB / 1.044 GB, free: 6.453 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004076/0.8823, allocations: 330 kB / 1.044 GB, free: 6.129 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 3.329e-05/0.8823, allocations: 4.438 kB / 1.044 GB, free: 6.125 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.126e-05/0.8824, allocations: 39 kB / 1.044 GB, free: 6.078 MB / 0.795 GB Notification: Performance of pre-optimization done (n=47): time 2.565e-06/0.8824, allocations: 0 / 1.044 GB, free: 6.078 MB / 0.795 GB Notification: Performance of matching and sorting (n=48): time 0.003787/0.8862, allocations: 1.975 MB / 1.046 GB, free: 4.008 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.09e-05/0.8862, allocations: 63.84 kB / 1.046 GB, free: 3.934 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006151/0.8869, allocations: 0.5585 MB / 1.047 GB, free: 3.367 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.767e-05/0.8869, allocations: 33.7 kB / 1.047 GB, free: 3.328 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002788/0.8872, allocations: 422.9 kB / 1.047 GB, free: 2.91 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001365/0.8873, allocations: 173.6 kB / 1.048 GB, free: 2.738 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001878/0.8875, allocations: 126.4 kB / 1.048 GB, free: 2.609 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001761/0.8877, allocations: 378.7 kB / 1.048 GB, free: 2.23 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003922/0.8881, allocations: 269.8 kB / 1.048 GB, free: 1.965 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005701/0.8887, allocations: 0.4931 MB / 1.049 GB, free: 1.379 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/0.8898, allocations: 0.8054 MB / 1.05 GB, free: 492 kB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.8898, allocations: 4 kB / 1.05 GB, free: 488 kB / 0.795 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001841/0.8916, allocations: 1.087 MB / 1.051 GB, free: 15.37 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.8917, allocations: 8 kB / 1.051 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.8917, allocations: 12.06 kB / 1.051 GB, free: 15.35 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008851/0.8926, allocations: 271.2 kB / 1.051 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005328/0.8931, allocations: 127.8 kB / 1.051 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007405/0.9005, allocations: 7.137 MB / 1.058 GB, free: 7.246 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008602/0.9014, allocations: 39.95 kB / 1.058 GB, free: 7.207 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.409e-05/0.9015, allocations: 28 kB / 1.058 GB, free: 7.18 MB / 0.8106 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 (67): * Single equations (assignments): 63 * 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 {(2,6,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.0005177/0.902, allocations: 255 kB / 1.058 GB, free: 6.922 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001291/0.9022, allocations: 71.25 kB / 1.058 GB, free: 6.852 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001598/0.9038, allocations: 0.8925 MB / 1.059 GB, free: 5.93 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.9038, allocations: 11.92 kB / 1.059 GB, free: 5.918 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-06/0.9038, allocations: 4 kB / 1.059 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.9038, allocations: 0 / 1.059 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002601/0.9064, allocations: 1.717 MB / 1.061 GB, free: 4.109 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/0.9064, allocations: 4.188 kB / 1.061 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002674/0.9067, allocations: 67.83 kB / 1.061 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007409/0.9075, allocations: 267.5 kB / 1.061 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.546e-05/0.9075, allocations: 12 kB / 1.061 GB, free: 3.754 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006397/0.9139, allocations: 7.127 MB / 1.068 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.914, allocations: 4.031 kB / 1.068 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001636/0.9156, allocations: 0.9796 MB / 1.069 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002963/0.9159, allocations: 192.2 kB / 1.069 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.917e-05/0.916, allocations: 16 kB / 1.069 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003605/0.9164, allocations: 27.91 kB / 1.069 GB, free: 10.79 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/0.9165, allocations: 43.94 kB / 1.069 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.352e-05/0.9165, allocations: 19.94 kB / 1.069 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0004495/0.917, allocations: 383.1 kB / 1.07 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.11e-07/0.917, allocations: 0 / 1.07 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0008728/0.9179, allocations: 224 kB / 1.07 GB, free: 10.14 MB / 0.8262 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 (31): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001753/0.9181, allocations: 120.1 kB / 1.07 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002122/0.9202, allocations: 1.338 MB / 1.071 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.9202, allocations: 4 kB / 1.071 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001224/0.9214, allocations: 0.8855 MB / 1.072 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001022/0.9225, allocations: 231.2 kB / 1.073 GB, free: 7.473 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002154/0.9246, allocations: 1.331 MB / 1.074 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008641/0.9255, allocations: 1.009 MB / 1.075 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0004225/0.9259, allocations: 122 kB / 1.075 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.9261, allocations: 39.44 kB / 1.075 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of SimCode: time 6.21e-07/0.9261, allocations: 4 kB / 1.075 GB, free: 4.887 MB / 0.8262 GB Notification: Performance of Templates: time 0.02157/0.9476, allocations: 11.17 MB / 1.086 GB, free: 9.848 MB / 0.8419 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches