Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_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_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.516/1.516, allocations: 249.3 MB / 261.9 MB, free: 5.879 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00108/0.00108, allocations: 172.7 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.553/1.553, allocations: 205.2 MB / 0.572 GB, free: 10.62 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008814/0.0008814, allocations: 98.41 kB / 0.6764 GB, free: 15.59 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.333e-05/3.335e-05, allocations: 0 / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1948, allocations: 106.3 MB / 0.8918 GB, free: 6.68 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6345/0.8293, allocations: 153.7 MB / 1.042 GB, free: 14.62 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002902/0.8297, allocations: 94.44 kB / 1.042 GB, free: 14.57 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.08364/0.9133, allocations: 36.54 MB / 1.078 GB, free: 15.73 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.263e-06/0.9134, allocations: 0 / 1.078 GB, free: 15.73 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.561e-05/0.9134, allocations: 27.98 kB / 1.078 GB, free: 15.7 MB / 0.698 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.00147/0.9149, allocations: 0.9495 MB / 1.079 GB, free: 14.75 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.9149, allocations: 8.031 kB / 1.079 GB, free: 14.74 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001425/0.9164, allocations: 230.8 kB / 1.079 GB, free: 14.52 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008118/0.9172, allocations: 0.5348 MB / 1.079 GB, free: 14 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.578e-05/0.9172, allocations: 55.3 kB / 1.079 GB, free: 13.97 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.927e-05/0.9174, allocations: 69.62 kB / 1.079 GB, free: 13.92 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/0.9188, allocations: 1.115 MB / 1.081 GB, free: 12.93 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.118e-05/0.9188, allocations: 7.875 kB / 1.081 GB, free: 12.92 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.768e-05/0.9189, allocations: 32.69 kB / 1.081 GB, free: 12.91 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.878e-05/0.919, allocations: 57.03 kB / 1.081 GB, free: 12.86 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001043/0.92, allocations: 0.7337 MB / 1.081 GB, free: 12.36 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005116/0.9251, allocations: 5.923 MB / 1.087 GB, free: 6.457 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009768/0.9261, allocations: 0.5487 MB / 1.088 GB, free: 5.898 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004167/0.9266, allocations: 318.1 kB / 1.088 GB, free: 5.586 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.755e-05/0.9266, allocations: 4.438 kB / 1.088 GB, free: 5.582 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/0.9267, allocations: 43 kB / 1.088 GB, free: 5.527 MB / 0.698 GB Notification: Performance of pre-optimization done (n=47): time 2.715e-06/0.9267, allocations: 0 / 1.088 GB, free: 5.527 MB / 0.698 GB Notification: Performance of matching and sorting (n=48): time 0.002173/0.9288, allocations: 1.229 MB / 1.089 GB, free: 4.277 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.975e-05/0.9289, allocations: 55.84 kB / 1.089 GB, free: 4.211 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005439/0.9295, allocations: 487.4 kB / 1.09 GB, free: 3.73 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.062e-05/0.9295, allocations: 37.7 kB / 1.09 GB, free: 3.688 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002366/0.9297, allocations: 399.2 kB / 1.09 GB, free: 3.293 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001302/0.9299, allocations: 169.6 kB / 1.09 GB, free: 3.125 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.99e-05/0.9299, allocations: 12 kB / 1.09 GB, free: 3.113 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001497/0.9301, allocations: 378.8 kB / 1.091 GB, free: 2.734 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003793/0.9305, allocations: 261.5 kB / 1.091 GB, free: 2.477 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004915/0.931, allocations: 456.1 kB / 1.091 GB, free: 1.949 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004689/0.9314, allocations: 327.1 kB / 1.092 GB, free: 1.629 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.139e-06/0.9314, allocations: 8 kB / 1.092 GB, free: 1.621 MB / 0.698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001703/0.9332, allocations: 1.047 MB / 1.093 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.9332, allocations: 8 kB / 1.093 GB, free: 0.5469 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.368e-06/0.9332, allocations: 4 kB / 1.093 GB, free: 0.543 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008076/0.934, allocations: 272 kB / 1.093 GB, free: 272 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004525/0.9345, allocations: 123.8 kB / 1.093 GB, free: 148 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005841/0.9403, allocations: 6.572 MB / 1.1 GB, free: 9.039 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006493/0.941, allocations: 47.91 kB / 1.1 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-05/0.9411, allocations: 27.94 kB / 1.1 GB, free: 8.965 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001747/0.9413, allocations: 144.7 kB / 1.1 GB, free: 8.816 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.9414, allocations: 71.16 kB / 1.1 GB, free: 8.746 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001548/0.9429, allocations: 0.8807 MB / 1.101 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.9429, allocations: 4 kB / 1.101 GB, free: 7.84 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.9429, allocations: 4 kB / 1.101 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.943, allocations: 0 / 1.101 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002449/0.9454, allocations: 1.706 MB / 1.102 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.31e-06/0.9454, allocations: 4 kB / 1.102 GB, free: 6.039 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002559/0.9457, allocations: 64 kB / 1.102 GB, free: 5.977 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006941/0.9464, allocations: 267.3 kB / 1.103 GB, free: 5.703 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.224e-05/0.9464, allocations: 15.92 kB / 1.103 GB, free: 5.688 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005663/0.9521, allocations: 6.568 MB / 1.109 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.656e-06/0.9521, allocations: 4.031 kB / 1.109 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001519/0.9537, allocations: 1.044 MB / 1.11 GB, free: 13.45 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003101/0.954, allocations: 188.2 kB / 1.11 GB, free: 13.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.258e-05/0.9541, allocations: 12 kB / 1.11 GB, free: 13.24 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003651/0.9544, allocations: 31.97 kB / 1.11 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.9546, allocations: 47.83 kB / 1.11 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.159e-05/0.9546, allocations: 16 kB / 1.11 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004236/0.955, allocations: 375.2 kB / 1.111 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.5e-07/0.955, allocations: 0 / 1.111 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000742/0.9558, allocations: 231.9 kB / 1.111 GB, free: 12.56 MB / 0.7292 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000202/0.956, allocations: 128.8 kB / 1.111 GB, free: 12.42 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001723/0.9577, allocations: 1.232 MB / 1.112 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.588e-06/0.9577, allocations: 4.125 kB / 1.112 GB, free: 11.14 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001092/0.9588, allocations: 0.8774 MB / 1.113 GB, free: 10.21 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008073/0.9597, allocations: 190.7 kB / 1.113 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/0.9614, allocations: 0.9691 MB / 1.114 GB, free: 9.012 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007068/0.9622, allocations: 1.024 MB / 1.115 GB, free: 7.957 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0004354/0.9626, allocations: 122.2 kB / 1.115 GB, free: 7.836 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001107/0.9627, allocations: 39.44 kB / 1.115 GB, free: 7.797 MB / 0.7292 GB Notification: Performance of SimCode: time 1.222e-06/0.9627, allocations: 0 / 1.115 GB, free: 7.797 MB / 0.7292 GB Notification: Performance of Templates: time 0.01754/0.9803, allocations: 10.32 MB / 1.126 GB, free: 13.57 MB / 0.7448 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_R.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_R.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches