Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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,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") 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_9_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.00136/0.00136, allocations: 106.8 kB / 15.99 MB, free: 6.352 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.001371/0.001371, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.37/1.37, allocations: 222.9 MB / 240.6 MB, free: 13.66 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.209/2.209, allocations: 390.2 MB / 0.665 GB, free: 0.8867 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 64.45 kB / 0.8127 GB, free: 32.41 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2932/0.2945, allocations: 140.4 MB / 0.9498 GB, free: 9.207 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.01262/0.3072, allocations: 10.86 MB / 0.9604 GB, free: 14.3 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01272/0.3199, allocations: 8.714 MB / 0.9689 GB, free: 5.559 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001313/0.3213, allocations: 51.69 kB / 0.9689 GB, free: 5.508 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.004335/0.3256, allocations: 1.576 MB / 0.9705 GB, free: 3.93 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.004438/0.3301, allocations: 1.394 MB / 0.9718 GB, free: 2.531 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001777/0.3319, allocations: 0.6113 MB / 0.9724 GB, free: 1.922 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003009/0.3349, allocations: 2.29 MB / 0.9747 GB, free: 15.62 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002202/0.3371, allocations: 1.547 MB / 0.9762 GB, free: 14.04 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001642/0.3388, allocations: 1.008 MB / 0.9772 GB, free: 13.03 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001668/0.3405, allocations: 1.051 MB / 0.9782 GB, free: 11.98 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.0003455/0.3408, allocations: 136 kB / 0.9783 GB, free: 11.84 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001614/0.3425, allocations: 0.8033 MB / 0.9791 GB, free: 11.04 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 0.0006756/0.3431, allocations: 0.5686 MB / 0.9797 GB, free: 10.47 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.001222/0.3444, allocations: 0.8861 MB / 0.9805 GB, free: 9.578 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.002302/0.3467, allocations: 2.038 MB / 0.9825 GB, free: 7.535 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3467, allocations: 7.938 kB / 0.9825 GB, free: 7.527 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3467, allocations: 0 / 0.9825 GB, free: 7.527 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.242e-05/0.3468, allocations: 0 / 0.9825 GB, free: 7.527 MB / 0.7637 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.00379/0.3506, allocations: 2.014 MB / 0.9845 GB, free: 5.457 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.3506, allocations: 12.03 kB / 0.9845 GB, free: 5.445 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01103/0.3617, allocations: 2.038 MB / 0.9865 GB, free: 3.402 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002289/0.364, allocations: 1.13 MB / 0.9876 GB, free: 2.215 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.707e-05/0.3641, allocations: 82.7 kB / 0.9877 GB, free: 2.133 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004112/0.3645, allocations: 124 kB / 0.9878 GB, free: 2.012 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005585/0.3701, allocations: 2.478 MB / 0.9902 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.773e-05/0.3702, allocations: 7.938 kB / 0.9902 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001708/0.3703, allocations: 55.98 kB / 0.9903 GB, free: 15.32 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000324/0.3707, allocations: 130.1 kB / 0.9904 GB, free: 15.19 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00701/0.3777, allocations: 2.533 MB / 0.9929 GB, free: 12.65 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01324/0.3909, allocations: 10.08 MB / 1.003 GB, free: 1.906 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00606/0.397, allocations: 1.948 MB / 1.005 GB, free: 15.93 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002735/0.3998, allocations: 0.9738 MB / 1.006 GB, free: 14.95 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 5.147e-05/0.3999, allocations: 4.438 kB / 1.006 GB, free: 14.94 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.3999, allocations: 39 kB / 1.006 GB, free: 14.89 MB / 0.795 GB Notification: Performance of pre-optimization done (n=53): time 2.224e-06/0.3999, allocations: 0 / 1.006 GB, free: 14.89 MB / 0.795 GB Notification: Performance of matching and sorting (n=81): time 0.03125/0.4312, allocations: 8.722 MB / 1.014 GB, free: 6.109 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.4312, allocations: 64 kB / 1.014 GB, free: 6.035 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001547/0.4328, allocations: 1.093 MB / 1.015 GB, free: 4.926 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001188/0.4329, allocations: 41.69 kB / 1.015 GB, free: 4.879 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005097/0.4334, allocations: 0.7418 MB / 1.016 GB, free: 4.129 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002914/0.4337, allocations: 283.9 kB / 1.016 GB, free: 3.848 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004354/0.4342, allocations: 202.4 kB / 1.016 GB, free: 3.641 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.4343, allocations: 345.9 kB / 1.017 GB, free: 3.297 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002923/0.4373, allocations: 1.071 MB / 1.018 GB, free: 2.227 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003088/0.4404, allocations: 1.305 MB / 1.019 GB, free: 0.8281 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00601/0.4464, allocations: 2.374 MB / 1.021 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.4464, allocations: 3.938 kB / 1.021 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008716/0.4551, allocations: 3.281 MB / 1.025 GB, free: 11.04 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.4552, allocations: 8 kB / 1.025 GB, free: 11.03 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-05/0.4552, allocations: 8 kB / 1.025 GB, free: 11.02 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002761/0.4579, allocations: 0.7912 MB / 1.025 GB, free: 10.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001814/0.4598, allocations: 419.2 kB / 1.026 GB, free: 9.793 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01554/0.4753, allocations: 15.92 MB / 1.041 GB, free: 8.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002277/0.4776, allocations: 291.5 kB / 1.042 GB, free: 8.465 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002468/0.4779, allocations: 55.95 kB / 1.042 GB, free: 8.41 MB / 0.8262 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.0009944/0.4789, allocations: 399.5 kB / 1.042 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003686/0.4793, allocations: 146.2 kB / 1.042 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008408/0.4877, allocations: 3.202 MB / 1.045 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/0.4877, allocations: 11.94 kB / 1.045 GB, free: 4.617 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.303e-05/0.4878, allocations: 12 kB / 1.045 GB, free: 4.605 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.157e-06/0.4878, allocations: 3.984 kB / 1.045 GB, free: 4.602 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01097/0.4988, allocations: 4.909 MB / 1.05 GB, free: 15.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-05/0.4988, allocations: 7.938 kB / 1.05 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001536/0.5003, allocations: 351.4 kB / 1.051 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00237/0.5027, allocations: 0.7093 MB / 1.051 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001026/0.5028, allocations: 31.97 kB / 1.051 GB, free: 14.45 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01505/0.5179, allocations: 15.54 MB / 1.066 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.5179, allocations: 3.938 kB / 1.066 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008065/0.526, allocations: 3.038 MB / 1.069 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007523/0.5268, allocations: 387.2 kB / 1.07 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003091/0.5271, allocations: 16 kB / 1.07 GB, free: 10.25 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001879/0.529, allocations: 295.4 kB / 1.07 GB, free: 9.957 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002431/0.5292, allocations: 84.42 kB / 1.07 GB, free: 9.875 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000101/0.5294, allocations: 35.97 kB / 1.07 GB, free: 9.84 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001052/0.5304, allocations: 0.7405 MB / 1.071 GB, free: 9.098 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5304, allocations: 0 / 1.071 GB, free: 9.098 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.001482/0.5319, allocations: 428 kB / 1.071 GB, free: 8.68 MB / 0.8575 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.0002586/0.5322, allocations: 139 kB / 1.071 GB, free: 8.531 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.008301/0.5405, allocations: 3.765 MB / 1.075 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 6.201e-06/0.5405, allocations: 4.125 kB / 1.075 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.004789/0.5453, allocations: 2.367 MB / 1.077 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002337/0.5477, allocations: 0.5259 MB / 1.078 GB, free: 1.684 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4133/0.961, allocations: 4.149 MB / 1.082 GB, free: 123.1 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001217/0.9622, allocations: 1.383 MB / 1.083 GB, free: 122.4 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007041/0.963, allocations: 125.4 kB / 1.083 GB, free: 122.4 MB / 0.8575 GB Notification: Performance of SimCode: time 1.433e-06/0.963, allocations: 3.844 kB / 1.083 GB, free: 122.4 MB / 0.8575 GB Notification: Performance of Templates: time 0.07997/1.043, allocations: 74.99 MB / 1.157 GB, free: 80.73 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches