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.00141/0.00141, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001382/0.001383, allocations: 197.1 kB / 16.14 MB, free: 6.633 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.634/1.634, allocations: 222.9 MB / 239.8 MB, free: 4.527 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.866/2.866, allocations: 437 MB / 0.7099 GB, free: 5.301 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 67.89 kB / 0.8686 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8465/0.8485, allocations: 151.6 MB / 1.017 GB, free: 2.773 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.01131/0.8599, allocations: 6.739 MB / 1.023 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.006432/0.8664, allocations: 3.048 MB / 1.026 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009891/0.8674, allocations: 31.75 kB / 1.026 GB, free: 8.922 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002826/0.8703, allocations: 0.8837 MB / 1.027 GB, free: 8.035 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.001874/0.8722, allocations: 481.7 kB / 1.028 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001491/0.8737, allocations: 382.8 kB / 1.028 GB, free: 7.191 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.002495/0.8762, allocations: 1.591 MB / 1.029 GB, free: 5.594 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001427/0.8777, allocations: 0.64 MB / 1.03 GB, free: 4.953 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001007/0.8787, allocations: 434.2 kB / 1.031 GB, free: 4.527 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001133/0.8798, allocations: 0.5215 MB / 1.031 GB, free: 4.004 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002271/0.8801, allocations: 51.94 kB / 1.031 GB, free: 3.953 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00131/0.8814, allocations: 455.1 kB / 1.031 GB, free: 3.508 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0005341/0.882, allocations: 283.2 kB / 1.032 GB, free: 3.23 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0009367/0.8829, allocations: 429.7 kB / 1.032 GB, free: 2.809 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002093/0.885, allocations: 1.207 MB / 1.033 GB, free: 1.598 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.885, allocations: 0 / 1.033 GB, free: 1.598 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.563e-06/0.885, allocations: 0 / 1.033 GB, free: 1.598 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.517e-05/0.8851, allocations: 0 / 1.033 GB, free: 1.598 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.003248/0.8884, allocations: 1.157 MB / 1.034 GB, free: 400 kB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 6.821e-05/0.8884, allocations: 11.98 kB / 1.034 GB, free: 388 kB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001907/0.8903, allocations: 243.6 kB / 1.035 GB, free: 144 kB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/0.8917, allocations: 0.5413 MB / 1.035 GB, free: 15.55 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.616e-05/0.8917, allocations: 49.67 kB / 1.035 GB, free: 15.51 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001714/0.8919, allocations: 68.3 kB / 1.035 GB, free: 15.44 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002059/0.894, allocations: 1.085 MB / 1.036 GB, free: 14.25 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.589e-05/0.894, allocations: 7.938 kB / 1.036 GB, free: 14.24 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.797e-05/0.8941, allocations: 31.98 kB / 1.036 GB, free: 14.21 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001759/0.8943, allocations: 85.25 kB / 1.037 GB, free: 14.12 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001506/0.8958, allocations: 0.7504 MB / 1.037 GB, free: 13.38 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007922/0.9038, allocations: 5.893 MB / 1.043 GB, free: 7.051 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001241/0.9051, allocations: 0.5515 MB / 1.044 GB, free: 6.488 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005574/0.9056, allocations: 326 kB / 1.044 GB, free: 6.168 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 4.007e-05/0.9057, allocations: 4.438 kB / 1.044 GB, free: 6.164 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.697e-05/0.9058, allocations: 46.94 kB / 1.044 GB, free: 6.109 MB / 0.795 GB Notification: Performance of pre-optimization done (n=47): time 3.677e-06/0.9058, allocations: 0 / 1.044 GB, free: 6.109 MB / 0.795 GB Notification: Performance of matching and sorting (n=48): time 0.004679/0.9105, allocations: 1.982 MB / 1.046 GB, free: 4.031 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.225e-05/0.9105, allocations: 59.84 kB / 1.046 GB, free: 3.961 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.9116, allocations: 0.5547 MB / 1.046 GB, free: 3.398 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 6.98e-05/0.9117, allocations: 33.7 kB / 1.047 GB, free: 3.359 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.000449/0.9121, allocations: 414.9 kB / 1.047 GB, free: 2.945 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002481/0.9124, allocations: 173.6 kB / 1.047 GB, free: 2.773 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002404/0.9126, allocations: 122.5 kB / 1.047 GB, free: 2.648 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0002341/0.9129, allocations: 382.7 kB / 1.048 GB, free: 2.266 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004715/0.9133, allocations: 277.8 kB / 1.048 GB, free: 1.992 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006605/0.914, allocations: 493 kB / 1.048 GB, free: 1.414 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/0.9152, allocations: 0.8054 MB / 1.049 GB, free: 0.5156 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.328e-06/0.9153, allocations: 8 kB / 1.049 GB, free: 0.5078 MB / 0.795 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.00216/0.9174, allocations: 1.083 MB / 1.05 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.066e-05/0.9175, allocations: 9.094 kB / 1.05 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.651e-05/0.9175, allocations: 8 kB / 1.05 GB, free: 15.39 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001003/0.9185, allocations: 279.8 kB / 1.05 GB, free: 15.11 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005378/0.9191, allocations: 127.7 kB / 1.051 GB, free: 14.98 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007861/0.9269, allocations: 6.606 MB / 1.057 GB, free: 7.836 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007815/0.9277, allocations: 36.03 kB / 1.057 GB, free: 7.801 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001058/0.9279, allocations: 36 kB / 1.057 GB, free: 7.766 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.0006078/0.9285, allocations: 258 kB / 1.057 GB, free: 7.504 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002363/0.9287, allocations: 71.16 kB / 1.057 GB, free: 7.434 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001805/0.9305, allocations: 0.8885 MB / 1.058 GB, free: 6.52 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.173e-06/0.9306, allocations: 4 kB / 1.058 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.746e-05/0.9306, allocations: 7.984 kB / 1.058 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.302e-06/0.9306, allocations: 0 / 1.058 GB, free: 6.508 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003084/0.9337, allocations: 1.717 MB / 1.06 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/0.9337, allocations: 3.938 kB / 1.06 GB, free: 4.699 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002749/0.934, allocations: 60.08 kB / 1.06 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008362/0.9348, allocations: 275.2 kB / 1.06 GB, free: 4.359 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.4e-05/0.9349, allocations: 12.06 kB / 1.06 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007801/0.9427, allocations: 6.588 MB / 1.067 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.9428, allocations: 4.031 kB / 1.067 GB, free: 13.23 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002003/0.9448, allocations: 0.9834 MB / 1.068 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000405/0.9452, allocations: 188.2 kB / 1.068 GB, free: 12 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001611/0.9454, allocations: 15.94 kB / 1.068 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004437/0.9458, allocations: 27.97 kB / 1.068 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001694/0.946, allocations: 43.94 kB / 1.068 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.745e-05/0.9461, allocations: 16 kB / 1.068 GB, free: 11.89 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0006815/0.9468, allocations: 379.1 kB / 1.068 GB, free: 11.53 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9468, allocations: 4 kB / 1.068 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001209/0.948, allocations: 224 kB / 1.069 GB, free: 11.3 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.0002146/0.9482, allocations: 120.8 kB / 1.069 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002448/0.9507, allocations: 1.264 MB / 1.07 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.882e-06/0.9507, allocations: 4.062 kB / 1.07 GB, free: 9.859 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.001495/0.9522, allocations: 0.897 MB / 1.071 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0013/0.9535, allocations: 207.4 kB / 1.071 GB, free: 8.715 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003165/0.9567, allocations: 1.631 MB / 1.073 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009525/0.9577, allocations: 1.009 MB / 1.074 GB, free: 6 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0005297/0.9582, allocations: 122 kB / 1.074 GB, free: 5.879 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001421/0.9584, allocations: 51.42 kB / 1.074 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of SimCode: time 1.152e-06/0.9584, allocations: 0 / 1.074 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of Templates: time 0.02724/0.9856, allocations: 10.76 MB / 1.084 GB, free: 11.18 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=400 -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