Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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_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_9_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_9_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.0009054/0.0009056, allocations: 92.16 kB / 16.02 MB, free: 80 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.001225/0.001225, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.447/1.447, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.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.601/2.601, allocations: 390.9 MB / 0.667 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003483/0.0003484, allocations: 8 kB / 0.8166 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7281/0.7284, allocations: 142.4 MB / 0.9557 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R): time 0.006315/0.7348, allocations: 6.311 MB / 0.9619 GB, free: 2.926 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004802/0.7397, allocations: 3.009 MB / 0.9648 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008541/0.7406, allocations: 23.34 kB / 0.9648 GB, free: 0.5469 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004465/0.741, allocations: 132.8 kB / 0.965 GB, free: 444 kB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001509/0.7426, allocations: 473 kB / 0.9654 GB, free: 68 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001206/0.7438, allocations: 392.2 kB / 0.9658 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002033/0.7458, allocations: 1.587 MB / 0.9673 GB, free: 14.89 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002132/0.748, allocations: 1.012 MB / 0.9683 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009653/0.7489, allocations: 390.8 kB / 0.9687 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008367/0.7498, allocations: 0.4884 MB / 0.9692 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.51e-05/0.7499, allocations: 35.22 kB / 0.9692 GB, free: 13.75 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001054/0.751, allocations: 444.9 kB / 0.9696 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003528/0.7513, allocations: 262.4 kB / 0.9699 GB, free: 13.36 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005672/0.7519, allocations: 431.7 kB / 0.9703 GB, free: 13.07 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001413/0.7533, allocations: 0.9167 MB / 0.9712 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.7533, allocations: 4 kB / 0.9712 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.395e-06/0.7534, allocations: 1.062 kB / 0.9712 GB, free: 12.44 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.691e-05/0.7534, allocations: 0 / 0.9712 GB, free: 12.44 MB / 0.7325 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.00211/0.7555, allocations: 1.014 MB / 0.9722 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.647e-05/0.7556, allocations: 8.906 kB / 0.9722 GB, free: 11.63 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00165/0.7572, allocations: 230.5 kB / 0.9724 GB, free: 11.54 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009295/0.7582, allocations: 0.5478 MB / 0.973 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.899e-05/0.7582, allocations: 46.95 kB / 0.973 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001239/0.7583, allocations: 66.14 kB / 0.9731 GB, free: 11.04 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001734/0.7601, allocations: 1.084 MB / 0.9741 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.092e-05/0.7601, allocations: 10.22 kB / 0.9741 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.45e-05/0.7602, allocations: 33.89 kB / 0.9742 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001746/0.7604, allocations: 84.5 kB / 0.9742 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00121/0.7616, allocations: 0.7496 MB / 0.975 GB, free: 9.824 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006054/0.7677, allocations: 5.897 MB / 0.9807 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/0.7688, allocations: 0.5609 MB / 0.9813 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000476/0.7693, allocations: 331.7 kB / 0.9816 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.515e-05/0.7694, allocations: 4.438 kB / 0.9816 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.218e-05/0.7694, allocations: 47.17 kB / 0.9816 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=47): time 2.314e-06/0.7694, allocations: 0 / 0.9816 GB, free: 3.824 MB / 0.7325 GB Notification: Performance of matching and sorting (n=48): time 0.004162/0.7736, allocations: 1.992 MB / 0.9836 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/0.7737, allocations: 59.84 kB / 0.9836 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006626/0.7743, allocations: 0.5509 MB / 0.9842 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.532e-05/0.7744, allocations: 41.64 kB / 0.9842 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002735/0.7747, allocations: 414.9 kB / 0.9846 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/0.7748, allocations: 169.6 kB / 0.9848 GB, free: 0.7461 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.04e-05/0.7749, allocations: 57.69 kB / 0.9848 GB, free: 0.6836 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001554/0.7751, allocations: 382.7 kB / 0.9852 GB, free: 308 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003899/0.7755, allocations: 269.9 kB / 0.9855 GB, free: 40 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005497/0.776, allocations: 496.9 kB / 0.9859 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001003/0.777, allocations: 0.8055 MB / 0.9867 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.777, allocations: 4 kB / 0.9867 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001837/0.7789, allocations: 1.091 MB / 0.9878 GB, free: 13.45 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.576e-05/0.7789, allocations: 12.16 kB / 0.9878 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.381e-05/0.7789, allocations: 8 kB / 0.9878 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008687/0.7798, allocations: 287.1 kB / 0.9881 GB, free: 13.14 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004848/0.7803, allocations: 123.8 kB / 0.9882 GB, free: 13.02 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006289/0.7866, allocations: 6.595 MB / 0.9946 GB, free: 5.883 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007938/0.7874, allocations: 39.97 kB / 0.9947 GB, free: 5.844 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.196e-05/0.7875, allocations: 31.98 kB / 0.9947 GB, free: 5.812 MB / 0.7481 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.0004543/0.788, allocations: 257.5 kB / 0.995 GB, free: 5.551 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/0.7881, allocations: 71.16 kB / 0.995 GB, free: 5.48 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001659/0.7898, allocations: 0.8923 MB / 0.9959 GB, free: 4.57 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.56e-06/0.7898, allocations: 4 kB / 0.9959 GB, free: 4.566 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.307e-05/0.7898, allocations: 4 kB / 0.9959 GB, free: 4.562 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.433e-06/0.7898, allocations: 4.031 kB / 0.9959 GB, free: 4.559 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002635/0.7924, allocations: 1.728 MB / 0.9976 GB, free: 2.742 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.7925, allocations: 7.938 kB / 0.9976 GB, free: 2.734 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000274/0.7927, allocations: 59.89 kB / 0.9977 GB, free: 2.676 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007496/0.7935, allocations: 275.5 kB / 0.9979 GB, free: 2.395 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.164e-05/0.7935, allocations: 4 kB / 0.9979 GB, free: 2.391 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005997/0.7995, allocations: 6.591 MB / 1.004 GB, free: 11.26 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.7996, allocations: 4.031 kB / 1.004 GB, free: 11.26 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00168/0.8013, allocations: 0.9834 MB / 1.005 GB, free: 10.23 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003373/0.8016, allocations: 188.3 kB / 1.006 GB, free: 10.02 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.291e-05/0.8017, allocations: 12.08 kB / 1.006 GB, free: 10.01 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003779/0.8021, allocations: 27.97 kB / 1.006 GB, free: 9.984 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001092/0.8022, allocations: 51.92 kB / 1.006 GB, free: 9.934 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.014e-05/0.8022, allocations: 12 kB / 1.006 GB, free: 9.922 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0004632/0.8027, allocations: 387 kB / 1.006 GB, free: 9.547 MB / 0.7637 GB Notification: Performance of sort global known variables: time 4.21e-07/0.8027, allocations: 0 / 1.006 GB, free: 9.547 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0009114/0.8036, allocations: 228 kB / 1.006 GB, free: 9.324 MB / 0.7637 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.000175/0.8038, allocations: 111.2 kB / 1.006 GB, free: 9.207 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001981/0.8058, allocations: 1.267 MB / 1.008 GB, free: 7.891 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.8058, allocations: 8.125 kB / 1.008 GB, free: 7.883 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.00122/0.8071, allocations: 0.8973 MB / 1.008 GB, free: 6.934 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001232/0.8083, allocations: 208.7 kB / 1.009 GB, free: 6.734 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002502/0.8108, allocations: 1.719 MB / 1.01 GB, free: 4.961 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00065/0.8115, allocations: 1.009 MB / 1.011 GB, free: 3.922 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001583/0.8117, allocations: 47.44 kB / 1.011 GB, free: 3.879 MB / 0.7637 GB Notification: Performance of SimCode: time 6.31e-07/0.8117, allocations: 0 / 1.011 GB, free: 3.879 MB / 0.7637 GB Notification: Performance of Templates: time 0.02642/0.8381, allocations: 20.55 MB / 1.031 GB, free: 15.38 MB / 0.795 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches