Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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_L,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_L") translateModel(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,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_L") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00143/0.00143, allocations: 105 kB / 16.35 MB, free: 5.824 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.001672/0.001673, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.465/1.465, allocations: 222.9 MB / 241 MB, free: 15.13 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.361/2.361, allocations: 390.3 MB / 0.6655 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001335/0.001335, allocations: 61.56 kB / 0.814 GB, free: 32.82 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3391/0.3405, allocations: 140.4 MB / 0.9511 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.008721/0.3492, allocations: 6.087 MB / 0.9571 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.006048/0.3553, allocations: 3.149 MB / 0.9601 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009999/0.3564, allocations: 31.81 kB / 0.9602 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002578/0.359, allocations: 0.922 MB / 0.9611 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001681/0.3608, allocations: 473.6 kB / 0.9615 GB, free: 13.33 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001544/0.3623, allocations: 490.2 kB / 0.962 GB, free: 12.85 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001628/0.364, allocations: 1.096 MB / 0.9631 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001059/0.365, allocations: 0.6427 MB / 0.9637 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007974/0.3658, allocations: 434.4 kB / 0.9641 GB, free: 10.68 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005965/0.3664, allocations: 474.2 kB / 0.9646 GB, free: 10.21 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 8.069e-05/0.3665, allocations: 56 kB / 0.9646 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001004/0.3675, allocations: 487 kB / 0.9651 GB, free: 9.684 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0003115/0.3679, allocations: 287.3 kB / 0.9654 GB, free: 9.402 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0004317/0.3683, allocations: 394 kB / 0.9657 GB, free: 9.016 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001461/0.3698, allocations: 1.18 MB / 0.9669 GB, free: 7.832 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.3698, allocations: 0 / 0.9669 GB, free: 7.832 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3698, allocations: 0 / 0.9669 GB, free: 7.832 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.526e-05/0.3698, allocations: 0 / 0.9669 GB, free: 7.832 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001743/0.3716, allocations: 1.056 MB / 0.9679 GB, free: 6.727 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.3716, allocations: 8.031 kB / 0.9679 GB, free: 6.719 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001484/0.3731, allocations: 211.7 kB / 0.9681 GB, free: 6.512 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.3742, allocations: 0.5922 MB / 0.9687 GB, free: 5.879 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.702e-05/0.3742, allocations: 45.67 kB / 0.9687 GB, free: 5.832 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001098/0.3743, allocations: 68.27 kB / 0.9688 GB, free: 5.766 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001501/0.3758, allocations: 1.034 MB / 0.9698 GB, free: 4.621 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.91e-05/0.3759, allocations: 11.88 kB / 0.9698 GB, free: 4.609 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.85e-05/0.376, allocations: 31.98 kB / 0.9699 GB, free: 4.578 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9e-05/0.3761, allocations: 73.2 kB / 0.9699 GB, free: 4.508 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009787/0.377, allocations: 0.6918 MB / 0.9706 GB, free: 3.816 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005531/0.3826, allocations: 5.733 MB / 0.9762 GB, free: 13.65 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008601/0.3835, allocations: 0.5921 MB / 0.9768 GB, free: 13.02 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007644/0.3843, allocations: 428.5 kB / 0.9772 GB, free: 12.59 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 4.735e-05/0.3843, allocations: 4 kB / 0.9772 GB, free: 12.59 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.3844, allocations: 34.56 kB / 0.9772 GB, free: 12.55 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=41): time 3.567e-06/0.3844, allocations: 4 kB / 0.9772 GB, free: 12.54 MB / 0.7637 GB Notification: Performance of matching and sorting (n=42): time 0.004446/0.3888, allocations: 2.052 MB / 0.9792 GB, free: 10.39 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/0.3889, allocations: 55.41 kB / 0.9793 GB, free: 10.33 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006266/0.3895, allocations: 454.8 kB / 0.9797 GB, free: 9.875 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 4.15e-05/0.3896, allocations: 33.7 kB / 0.9798 GB, free: 9.836 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003084/0.3899, allocations: 391 kB / 0.9801 GB, free: 9.445 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.39, allocations: 149.9 kB / 0.9803 GB, free: 9.297 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001717/0.3902, allocations: 114.2 kB / 0.9804 GB, free: 9.176 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.3904, allocations: 366.8 kB / 0.9807 GB, free: 8.809 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003412/0.3907, allocations: 241.2 kB / 0.981 GB, free: 8.574 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005188/0.3912, allocations: 457 kB / 0.9814 GB, free: 8.031 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009536/0.3922, allocations: 0.7558 MB / 0.9821 GB, free: 7.18 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.553e-06/0.3922, allocations: 7.938 kB / 0.9821 GB, free: 7.172 MB / 0.7637 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001937/0.3942, allocations: 1.062 MB / 0.9832 GB, free: 6.09 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.006e-05/0.3942, allocations: 8 kB / 0.9832 GB, free: 6.082 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.3942, allocations: 4 kB / 0.9832 GB, free: 6.078 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001042/0.3953, allocations: 331.5 kB / 0.9835 GB, free: 5.742 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003039/0.3956, allocations: 103.8 kB / 0.9836 GB, free: 5.641 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007617/0.4032, allocations: 7.509 MB / 0.9909 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005491/0.4038, allocations: 36.02 kB / 0.991 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.547e-05/0.4039, allocations: 28 kB / 0.991 GB, free: 13.51 MB / 0.7794 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 (53): * Single equations (assignments): 49 * 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 {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004165/0.4043, allocations: 241.6 kB / 0.9912 GB, free: 13.26 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.752e-05/0.4044, allocations: 63.19 kB / 0.9913 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001709/0.4061, allocations: 0.9155 MB / 0.9922 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/0.4061, allocations: 4 kB / 0.9922 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.4061, allocations: 4 kB / 0.9922 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.4062, allocations: 0 / 0.9922 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002797/0.409, allocations: 1.7 MB / 0.9938 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.409, allocations: 4 kB / 0.9939 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001835/0.4092, allocations: 44.09 kB / 0.9939 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009339/0.4101, allocations: 327 kB / 0.9942 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.367e-05/0.4102, allocations: 8 kB / 0.9942 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007378/0.4175, allocations: 7.505 MB / 1.002 GB, free: 2.012 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.579e-06/0.4176, allocations: 12 kB / 1.002 GB, free: 2 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001778/0.4194, allocations: 1.014 MB / 1.003 GB, free: 0.9375 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003249/0.4197, allocations: 168.4 kB / 1.003 GB, free: 0.7539 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.197e-05/0.4198, allocations: 12 kB / 1.003 GB, free: 0.7422 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002773/0.4201, allocations: 19.97 kB / 1.003 GB, free: 0.7227 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/0.4203, allocations: 43.89 kB / 1.003 GB, free: 0.6797 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.007e-05/0.4203, allocations: 8 kB / 1.003 GB, free: 0.6719 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0004038/0.4207, allocations: 314.9 kB / 1.003 GB, free: 376 kB / 0.7794 GB Notification: Performance of sort global known variables: time 3.9e-07/0.4207, allocations: 0 / 1.003 GB, free: 376 kB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0009514/0.4217, allocations: 195.9 kB / 1.003 GB, free: 180 kB / 0.7794 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 (23): * Single equations (assignments): 19 * 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 {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,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.0002012/0.4219, allocations: 115.2 kB / 1.003 GB, free: 56 kB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.002202/0.4241, allocations: 1.203 MB / 1.005 GB, free: 14.8 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.4241, allocations: 0 / 1.005 GB, free: 14.8 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001247/0.4254, allocations: 0.8657 MB / 1.005 GB, free: 13.88 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.4264, allocations: 206.7 kB / 1.006 GB, free: 13.7 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002046/0.4284, allocations: 1.23 MB / 1.007 GB, free: 12.42 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005896/0.4291, allocations: 0.9882 MB / 1.008 GB, free: 11.4 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0002743/0.4293, allocations: 101.2 kB / 1.008 GB, free: 11.3 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.775e-05/0.4294, allocations: 43.44 kB / 1.008 GB, free: 11.26 MB / 0.795 GB Notification: Performance of SimCode: time 1.293e-06/0.4294, allocations: 0 / 1.008 GB, free: 11.26 MB / 0.795 GB Notification: Performance of Templates: time 0.01834/0.4478, allocations: 9.953 MB / 1.018 GB, free: 1.406 MB / 0.795 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches