Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.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.ThreePhasesBalanced.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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.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_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.504/1.504, allocations: 249.3 MB / 261.8 MB, free: 5.957 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.0009453/0.0009454, allocations: 176.9 kB / 321.3 MB, free: 14.66 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.513/1.513, allocations: 205.2 MB / 0.572 GB, free: 10.7 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.0009642/0.0009644, allocations: 88.31 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.289e-05/4.291e-05, allocations: 4 kB / 0.788 GB, free: 97.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2351, allocations: 106.3 MB / 0.8918 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8788/1.114, allocations: 200.7 MB / 1.088 GB, free: 1.234 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003831/1.114, allocations: 101 kB / 1.088 GB, free: 1.18 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.2092/1.324, allocations: 84.32 MB / 1.17 GB, free: 1.438 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.423e-06/1.324, allocations: 0 / 1.17 GB, free: 1.438 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 0.0001057/1.324, allocations: 43.94 kB / 1.17 GB, free: 1.395 MB / 0.7761 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.003208/1.327, allocations: 1.579 MB / 1.172 GB, free: 15.77 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 5.252e-05/1.327, allocations: 8.031 kB / 1.172 GB, free: 15.76 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01145/1.339, allocations: 1.882 MB / 1.174 GB, free: 13.87 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00331/1.342, allocations: 1.22 MB / 1.175 GB, free: 12.59 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.231e-05/1.342, allocations: 94.3 kB / 1.175 GB, free: 12.5 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003016/1.342, allocations: 112 kB / 1.175 GB, free: 12.39 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0039/1.346, allocations: 2.246 MB / 1.177 GB, free: 9.957 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.306e-05/1.346, allocations: 15.83 kB / 1.177 GB, free: 9.941 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001797/1.347, allocations: 55.98 kB / 1.177 GB, free: 9.887 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001197/1.347, allocations: 86.25 kB / 1.177 GB, free: 9.801 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00311/1.35, allocations: 1.867 MB / 1.179 GB, free: 7.926 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01617/1.366, allocations: 10.69 MB / 1.19 GB, free: 12.64 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002771/1.369, allocations: 1.696 MB / 1.191 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00125/1.37, allocations: 0.9089 MB / 1.192 GB, free: 9.98 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 6.983e-05/1.37, allocations: 8.781 kB / 1.192 GB, free: 9.969 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.075e-05/1.37, allocations: 47.34 kB / 1.192 GB, free: 9.914 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=89): time 4.629e-06/1.37, allocations: 3.984 kB / 1.192 GB, free: 9.91 MB / 0.8073 GB Notification: Performance of matching and sorting (n=131): time 0.03443/1.405, allocations: 9.97 MB / 1.202 GB, free: 15.88 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001148/1.405, allocations: 218.9 kB / 1.202 GB, free: 15.62 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001388/1.406, allocations: 0.9561 MB / 1.203 GB, free: 14.65 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001397/1.406, allocations: 49.7 kB / 1.203 GB, free: 14.6 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005073/1.407, allocations: 0.7079 MB / 1.204 GB, free: 13.88 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003904/1.407, allocations: 453.4 kB / 1.204 GB, free: 13.43 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001024/1.407, allocations: 24 kB / 1.204 GB, free: 13.41 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.000149/1.408, allocations: 361.9 kB / 1.205 GB, free: 13.05 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001395/1.409, allocations: 0.9553 MB / 1.206 GB, free: 12.09 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001551/1.411, allocations: 1.221 MB / 1.207 GB, free: 10.77 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001532/1.412, allocations: 1.059 MB / 1.208 GB, free: 9.715 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/1.412, allocations: 0 / 1.208 GB, free: 9.715 MB / 0.823 GB Notification: Performance of matching and sorting (n=164) (initialization): time 0.008303/1.42, allocations: 3.729 MB / 1.211 GB, free: 5.934 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 3.048e-05/1.42, allocations: 8 kB / 1.211 GB, free: 5.926 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.203e-05/1.42, allocations: 4 kB / 1.211 GB, free: 5.922 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00644/1.427, allocations: 1.611 MB / 1.213 GB, free: 4.27 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002245/1.429, allocations: 447.2 kB / 1.213 GB, free: 3.832 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02542/1.455, allocations: 24.77 MB / 1.238 GB, free: 9.328 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0028/1.457, allocations: 327.5 kB / 1.238 GB, free: 9.008 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001904/1.458, allocations: 55.97 kB / 1.238 GB, free: 8.953 MB / 0.8542 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 (95): * Single equations (assignments): 82 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 9,(2,100.0%) 4,(1,100.0%) 1,(2,100.0%) 4,(3,100.0%) 9,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003562/1.458, allocations: 180.7 kB / 1.238 GB, free: 8.77 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002824/1.458, allocations: 166 kB / 1.238 GB, free: 8.605 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008525/1.467, allocations: 3.771 MB / 1.242 GB, free: 4.777 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-05/1.467, allocations: 15.95 kB / 1.242 GB, free: 4.762 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.202e-05/1.467, allocations: 12 kB / 1.242 GB, free: 4.75 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.723e-05/1.467, allocations: 7.969 kB / 1.242 GB, free: 4.742 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01256/1.48, allocations: 6.201 MB / 1.248 GB, free: 14.36 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.033e-05/1.48, allocations: 4.344 kB / 1.248 GB, free: 14.36 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001914/1.481, allocations: 391.3 kB / 1.249 GB, free: 13.98 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005993/1.487, allocations: 1.505 MB / 1.25 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000276/1.488, allocations: 39.97 kB / 1.25 GB, free: 12.39 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4708/1.959, allocations: 23.79 MB / 1.273 GB, free: 251.7 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/1.959, allocations: 7.406 kB / 1.273 GB, free: 251.7 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008069/1.967, allocations: 3.699 MB / 1.277 GB, free: 251.1 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001181/1.968, allocations: 469.7 kB / 1.277 GB, free: 251 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002514/1.968, allocations: 26.88 kB / 1.277 GB, free: 251 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002267/1.971, allocations: 323.4 kB / 1.278 GB, free: 251 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005097/1.971, allocations: 126.3 kB / 1.278 GB, free: 251 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001391/1.971, allocations: 51.27 kB / 1.278 GB, free: 251 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001177/1.972, allocations: 0.7355 MB / 1.279 GB, free: 250.9 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.71e-07/1.972, allocations: 0 / 1.279 GB, free: 250.9 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002587/1.975, allocations: 0.611 MB / 1.279 GB, free: 250.9 MB / 0.8698 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 54 * 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: 13 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 13 {(1,100.0%) 1,(2,100.0%) 4,(1,100.0%) 1,(3,100.0%) 9,(1,100.0%) 1,(1,100.0%) 1,(3,100.0%) 7,(1,100.0%) 1,(2,100.0%) 4,(2,100.0%) 4,(3,100.0%) 9,(3,100.0%) 7,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004514/1.975, allocations: 161.4 kB / 1.279 GB, free: 250.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.007347/1.983, allocations: 4.333 MB / 1.284 GB, free: 249.3 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.155e-06/1.983, allocations: 1.062 kB / 1.284 GB, free: 249.3 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.005417/1.988, allocations: 3.121 MB / 1.287 GB, free: 247.8 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002806/1.991, allocations: 499.2 kB / 1.287 GB, free: 247.8 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00601/1.997, allocations: 2.885 MB / 1.29 GB, free: 247.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001273/1.998, allocations: 1.51 MB / 1.291 GB, free: 246.4 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.001952/2, allocations: 428.4 kB / 1.292 GB, free: 246.4 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004152/2.001, allocations: 111.9 kB / 1.292 GB, free: 246.4 MB / 0.8698 GB Notification: Performance of SimCode: time 1.132e-06/2.001, allocations: 0 / 1.292 GB, free: 246.4 MB / 0.8698 GB Notification: Performance of Templates: time 0.06061/2.061, allocations: 37.69 MB / 1.329 GB, free: 245 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches