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.001405/0.001405, allocations: 112.6 kB / 16.41 MB, free: 6.023 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.001439/0.001439, allocations: 188.4 kB / 17.34 MB, free: 5.629 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.381/1.381, allocations: 222.9 MB / 241 MB, free: 15.17 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.542/2.542, allocations: 437 MB / 0.7112 GB, free: 4.406 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00147/0.00147, allocations: 67.89 kB / 1.019 GB, free: 9.434 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.015/1.017, allocations: 151.6 MB / 1.167 GB, free: 3.871 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01551/1.032, allocations: 10.91 MB / 1.178 GB, free: 8.914 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.01469/1.047, allocations: 8.807 MB / 1.187 GB, free: 76 kB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001816/1.049, allocations: 59.62 kB / 1.187 GB, free: 16 kB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.005216/1.054, allocations: 1.672 MB / 1.188 GB, free: 14.34 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.005589/1.06, allocations: 1.574 MB / 1.19 GB, free: 12.76 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.002243/1.062, allocations: 0.6676 MB / 1.19 GB, free: 12.09 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.003905/1.066, allocations: 2.279 MB / 1.193 GB, free: 9.805 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002357/1.068, allocations: 1.383 MB / 1.194 GB, free: 8.391 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002163/1.07, allocations: 1.008 MB / 1.195 GB, free: 7.379 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002233/1.073, allocations: 1.019 MB / 1.196 GB, free: 6.355 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0005214/1.073, allocations: 136 kB / 1.196 GB, free: 6.223 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002162/1.075, allocations: 0.7994 MB / 1.197 GB, free: 5.422 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.0008971/1.076, allocations: 0.5725 MB / 1.197 GB, free: 4.848 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.001887/1.078, allocations: 0.8861 MB / 1.198 GB, free: 3.957 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.004612/1.083, allocations: 2.577 MB / 1.201 GB, free: 1.371 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/1.083, allocations: 0 / 1.201 GB, free: 1.371 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.455e-06/1.083, allocations: 0 / 1.201 GB, free: 1.371 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001046/1.083, allocations: 0 / 1.201 GB, free: 1.371 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.005025/1.088, allocations: 2.07 MB / 1.203 GB, free: 15.24 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/1.088, allocations: 16.88 kB / 1.203 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01065/1.099, allocations: 2.063 MB / 1.205 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003782/1.102, allocations: 1.217 MB / 1.206 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001461/1.103, allocations: 90.69 kB / 1.206 GB, free: 11.8 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006421/1.103, allocations: 124 kB / 1.206 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006649/1.11, allocations: 2.478 MB / 1.209 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.481e-05/1.11, allocations: 7.938 kB / 1.209 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002755/1.11, allocations: 51.98 kB / 1.209 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003613/1.111, allocations: 138 kB / 1.209 GB, free: 8.852 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007139/1.118, allocations: 2.541 MB / 1.211 GB, free: 6.301 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01513/1.133, allocations: 10.03 MB / 1.221 GB, free: 11.61 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005668/1.139, allocations: 1.96 MB / 1.223 GB, free: 9.621 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002556/1.141, allocations: 0.9727 MB / 1.224 GB, free: 8.648 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 5.892e-05/1.141, allocations: 16.38 kB / 1.224 GB, free: 8.633 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.348e-05/1.142, allocations: 35 kB / 1.224 GB, free: 8.59 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=53): time 3.467e-06/1.142, allocations: 0 / 1.224 GB, free: 8.59 MB / 0.9512 GB Notification: Performance of matching and sorting (n=81): time 0.02935/1.171, allocations: 8.741 MB / 1.233 GB, free: 15.8 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.105e-05/1.171, allocations: 60.06 kB / 1.233 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001884/1.173, allocations: 1.101 MB / 1.234 GB, free: 14.61 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 0.0001443/1.173, allocations: 45.7 kB / 1.234 GB, free: 14.56 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006117/1.174, allocations: 0.7473 MB / 1.235 GB, free: 13.8 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003414/1.174, allocations: 297.4 kB / 1.235 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004598/1.175, allocations: 198.5 kB / 1.235 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001663/1.175, allocations: 345.9 kB / 1.235 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002781/1.177, allocations: 1.075 MB / 1.236 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002932/1.18, allocations: 1.301 MB / 1.238 GB, free: 10.5 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005641/1.186, allocations: 2.39 MB / 1.24 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.478e-06/1.186, allocations: 0 / 1.24 GB, free: 8.012 MB / 0.9669 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008525/1.195, allocations: 3.281 MB / 1.243 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.901e-05/1.195, allocations: 8 kB / 1.243 GB, free: 4.684 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.631e-05/1.195, allocations: 4 kB / 1.243 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002824/1.198, allocations: 0.7913 MB / 1.244 GB, free: 3.863 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00179/1.199, allocations: 415.3 kB / 1.244 GB, free: 3.457 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01658/1.216, allocations: 15.93 MB / 1.26 GB, free: 2.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002314/1.218, allocations: 295.6 kB / 1.26 GB, free: 2.113 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002424/1.219, allocations: 51.97 kB / 1.26 GB, free: 2.062 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.0009485/1.22, allocations: 398.2 kB / 1.261 GB, free: 1.664 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000461/1.22, allocations: 155 kB / 1.261 GB, free: 1.512 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008248/1.228, allocations: 3.202 MB / 1.264 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.396e-05/1.228, allocations: 11.94 kB / 1.264 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-05/1.228, allocations: 8 kB / 1.264 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/1.228, allocations: 3.984 kB / 1.264 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01092/1.239, allocations: 4.901 MB / 1.269 GB, free: 9.219 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.217e-05/1.239, allocations: 7.938 kB / 1.269 GB, free: 9.211 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001495/1.241, allocations: 351.4 kB / 1.269 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002405/1.243, allocations: 0.7016 MB / 1.27 GB, free: 8.141 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001044/1.243, allocations: 31.97 kB / 1.27 GB, free: 8.109 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01556/1.259, allocations: 15.53 MB / 1.285 GB, free: 7.453 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.165e-06/1.259, allocations: 12 kB / 1.285 GB, free: 7.441 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007943/1.267, allocations: 3.044 MB / 1.288 GB, free: 4.316 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008718/1.268, allocations: 396 kB / 1.288 GB, free: 3.91 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003693/1.268, allocations: 27.97 kB / 1.288 GB, free: 3.883 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001839/1.27, allocations: 291.5 kB / 1.289 GB, free: 3.598 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002997/1.27, allocations: 76.48 kB / 1.289 GB, free: 3.523 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001127/1.271, allocations: 39.97 kB / 1.289 GB, free: 3.484 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.001258/1.272, allocations: 0.7405 MB / 1.289 GB, free: 2.742 MB / 1.014 GB Notification: Performance of sort global known variables: time 5.61e-07/1.272, allocations: 3.938 kB / 1.289 GB, free: 2.738 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.001825/1.274, allocations: 435.9 kB / 1.29 GB, free: 2.312 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.000316/1.274, allocations: 124.5 kB / 1.29 GB, free: 2.184 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.008208/1.282, allocations: 3.636 MB / 1.294 GB, free: 14.45 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-05/1.282, allocations: 4 kB / 1.294 GB, free: 14.44 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.00481/1.287, allocations: 2.371 MB / 1.296 GB, free: 11.96 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002718/1.29, allocations: 0.5162 MB / 1.296 GB, free: 11.46 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007891/1.298, allocations: 3.591 MB / 1.3 GB, free: 7.812 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001358/1.299, allocations: 1.392 MB / 1.301 GB, free: 6.391 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006353/1.3, allocations: 127.3 kB / 1.301 GB, free: 6.266 MB / 1.029 GB Notification: Performance of SimCode: time 9.12e-07/1.3, allocations: 0 / 1.301 GB, free: 6.266 MB / 1.029 GB Notification: Performance of Templates: time 0.08121/1.381, allocations: 75.09 MB / 1.375 GB, free: 11.25 MB / 1.107 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/jenkins1/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