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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001131/0.001131, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001074/0.001075, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.389/1.389, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.191/2.191, allocations: 390.3 MB / 0.6653 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 66.5 kB / 0.8132 GB, free: 33.07 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2933/0.2947, allocations: 140.4 MB / 0.9503 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.008715/0.3034, allocations: 6.088 MB / 0.9562 GB, free: 2.766 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.005697/0.3092, allocations: 3.153 MB / 0.9593 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008298/0.31, allocations: 27.81 kB / 0.9593 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002735/0.3129, allocations: 0.922 MB / 0.9602 GB, free: 14.64 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.001446/0.3143, allocations: 485.5 kB / 0.9607 GB, free: 14.17 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001501/0.3159, allocations: 477.7 kB / 0.9611 GB, free: 13.7 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001621/0.3175, allocations: 1.1 MB / 0.9622 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001185/0.3187, allocations: 0.639 MB / 0.9628 GB, free: 11.96 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007951/0.3195, allocations: 426.4 kB / 0.9633 GB, free: 11.54 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008239/0.3204, allocations: 482.1 kB / 0.9637 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001704/0.3205, allocations: 64 kB / 0.9638 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001175/0.3217, allocations: 487 kB / 0.9642 GB, free: 10.53 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0004005/0.3221, allocations: 287.3 kB / 0.9645 GB, free: 10.25 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0007223/0.3229, allocations: 401.9 kB / 0.9649 GB, free: 9.855 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.00184/0.3247, allocations: 1.156 MB / 0.966 GB, free: 8.695 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.331e-06/0.3248, allocations: 0 / 0.966 GB, free: 8.695 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3248, allocations: 0 / 0.966 GB, free: 8.695 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 4.056e-05/0.3248, allocations: 0 / 0.966 GB, free: 8.695 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.001986/0.3268, allocations: 1.057 MB / 0.9671 GB, free: 7.59 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.3268, allocations: 12.03 kB / 0.9671 GB, free: 7.578 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001622/0.3285, allocations: 211.7 kB / 0.9673 GB, free: 7.371 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008314/0.3293, allocations: 0.5337 MB / 0.9678 GB, free: 6.797 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.004e-05/0.3294, allocations: 45.67 kB / 0.9678 GB, free: 6.75 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.3295, allocations: 72.27 kB / 0.9679 GB, free: 6.68 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00148/0.331, allocations: 1.03 MB / 0.9689 GB, free: 5.543 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.515e-05/0.331, allocations: 7.938 kB / 0.9689 GB, free: 5.535 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.159e-05/0.3311, allocations: 27.98 kB / 0.9689 GB, free: 5.508 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.95e-05/0.3312, allocations: 73.27 kB / 0.969 GB, free: 5.438 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.3323, allocations: 0.6918 MB / 0.9697 GB, free: 4.742 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005372/0.3377, allocations: 5.749 MB / 0.9753 GB, free: 14.56 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008531/0.3386, allocations: 0.5999 MB / 0.9759 GB, free: 13.92 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008012/0.3394, allocations: 424.6 kB / 0.9763 GB, free: 13.5 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 3.656e-05/0.3395, allocations: 11.94 kB / 0.9763 GB, free: 13.49 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.775e-05/0.3395, allocations: 38.5 kB / 0.9763 GB, free: 13.44 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=41): time 2.836e-06/0.3395, allocations: 0 / 0.9763 GB, free: 13.44 MB / 0.7637 GB Notification: Performance of matching and sorting (n=42): time 0.004659/0.3442, allocations: 2.052 MB / 0.9783 GB, free: 11.29 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.458e-05/0.3443, allocations: 55.41 kB / 0.9784 GB, free: 11.23 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005528/0.3448, allocations: 454.8 kB / 0.9788 GB, free: 10.77 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 4.283e-05/0.3449, allocations: 33.7 kB / 0.9789 GB, free: 10.73 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002649/0.3452, allocations: 395 kB / 0.9792 GB, free: 10.34 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001321/0.3453, allocations: 145.9 kB / 0.9794 GB, free: 10.2 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001712/0.3455, allocations: 114.1 kB / 0.9795 GB, free: 10.07 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.3456, allocations: 362.8 kB / 0.9798 GB, free: 9.711 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003567/0.346, allocations: 241.2 kB / 0.9801 GB, free: 9.477 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004859/0.3465, allocations: 461 kB / 0.9805 GB, free: 8.93 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009488/0.3475, allocations: 0.7519 MB / 0.9812 GB, free: 8.082 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.224e-06/0.3475, allocations: 8 kB / 0.9812 GB, free: 8.074 MB / 0.7637 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.00196/0.3494, allocations: 1.057 MB / 0.9823 GB, free: 6.996 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.03e-05/0.3495, allocations: 8 kB / 0.9823 GB, free: 6.988 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.3495, allocations: 4 kB / 0.9823 GB, free: 6.984 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/0.3506, allocations: 343.9 kB / 0.9826 GB, free: 6.637 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003526/0.3509, allocations: 95.83 kB / 0.9827 GB, free: 6.543 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007518/0.3585, allocations: 7.513 MB / 0.99 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005176/0.359, allocations: 36.02 kB / 0.9901 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.249e-05/0.3591, allocations: 28.19 kB / 0.9901 GB, free: 14.41 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.0003774/0.3595, allocations: 237.6 kB / 0.9903 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001395/0.3596, allocations: 63.19 kB / 0.9904 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001806/0.3614, allocations: 0.9233 MB / 0.9913 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.3615, allocations: 4 kB / 0.9913 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.072e-05/0.3615, allocations: 4 kB / 0.9913 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.544e-06/0.3615, allocations: 3.984 kB / 0.9913 GB, free: 13.15 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002958/0.3645, allocations: 1.704 MB / 0.993 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.3645, allocations: 0 / 0.993 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000193/0.3647, allocations: 43.91 kB / 0.993 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009901/0.3657, allocations: 331.3 kB / 0.9933 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.912e-05/0.3658, allocations: 12 kB / 0.9933 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007649/0.3734, allocations: 7.505 MB / 1.001 GB, free: 2.895 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.3735, allocations: 0 / 1.001 GB, free: 2.895 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001872/0.3753, allocations: 1.018 MB / 1.002 GB, free: 1.828 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003185/0.3757, allocations: 172.4 kB / 1.002 GB, free: 1.641 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001124/0.3758, allocations: 15.98 kB / 1.002 GB, free: 1.625 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003232/0.3761, allocations: 19.98 kB / 1.002 GB, free: 1.605 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001364/0.3763, allocations: 43.88 kB / 1.002 GB, free: 1.562 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.817e-05/0.3763, allocations: 12 kB / 1.002 GB, free: 1.551 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0003668/0.3767, allocations: 306.9 kB / 1.002 GB, free: 1.254 MB / 0.7794 GB Notification: Performance of sort global known variables: time 4.8e-07/0.3767, allocations: 0 / 1.002 GB, free: 1.254 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0009014/0.3776, allocations: 203.9 kB / 1.002 GB, free: 1.055 MB / 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.0001681/0.3778, allocations: 103.2 kB / 1.003 GB, free: 0.9453 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.002182/0.38, allocations: 1.25 MB / 1.004 GB, free: 15.64 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.38, allocations: 0 / 1.004 GB, free: 15.64 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.001344/0.3814, allocations: 0.8734 MB / 1.005 GB, free: 14.72 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001174/0.3825, allocations: 196 kB / 1.005 GB, free: 14.54 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002549/0.3851, allocations: 1.306 MB / 1.006 GB, free: 13.18 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007351/0.3859, allocations: 0.9881 MB / 1.007 GB, free: 12.16 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.386, allocations: 39.44 kB / 1.007 GB, free: 12.12 MB / 0.795 GB Notification: Performance of SimCode: time 1.042e-06/0.386, allocations: 0 / 1.007 GB, free: 12.12 MB / 0.795 GB Notification: Performance of Templates: time 0.02389/0.4099, allocations: 18.46 MB / 1.025 GB, free: 9.695 MB / 0.8106 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 -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