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.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,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.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_maint.7.0.x_Buildings.Electrical.AC.OnePhase.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.421/1.421, allocations: 249.3 MB / 261.8 MB, free: 5.855 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.0009909/0.0009909, allocations: 188.4 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.291/1.291, allocations: 205.2 MB / 0.572 GB, free: 10.71 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.0008263/0.0008264, allocations: 96.34 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.882e-05/3.886e-05, allocations: 4 kB / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1722, allocations: 106.3 MB / 0.8918 GB, free: 6.688 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6144/0.7867, allocations: 173.5 MB / 1.061 GB, free: 11.39 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002524/0.787, allocations: 95.56 kB / 1.061 GB, free: 11.34 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.187/0.974, allocations: 77.69 MB / 1.137 GB, free: 3.312 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.153e-06/0.9741, allocations: 0 / 1.137 GB, free: 3.312 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.602e-05/0.9742, allocations: 47.92 kB / 1.137 GB, free: 3.266 MB / 0.7448 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.00258/0.9767, allocations: 1.528 MB / 1.139 GB, free: 1.688 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/0.9768, allocations: 12.02 kB / 1.139 GB, free: 1.676 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01042/0.9872, allocations: 1.808 MB / 1.141 GB, free: 15.86 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002726/0.99, allocations: 1.138 MB / 1.142 GB, free: 14.67 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.844e-05/0.9901, allocations: 94.31 kB / 1.142 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002619/0.9904, allocations: 112 kB / 1.142 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003007/0.9934, allocations: 2.049 MB / 1.144 GB, free: 12.23 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.477e-05/0.9934, allocations: 11.84 kB / 1.144 GB, free: 12.21 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001526/0.9936, allocations: 56 kB / 1.144 GB, free: 12.16 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.625e-05/0.9937, allocations: 74.2 kB / 1.144 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0025/0.9962, allocations: 1.609 MB / 1.146 GB, free: 10.47 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01285/1.009, allocations: 10.19 MB / 1.156 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001969/1.011, allocations: 1.126 MB / 1.157 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007966/1.012, allocations: 0.5923 MB / 1.157 GB, free: 13.87 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 4.519e-05/1.012, allocations: 12.38 kB / 1.157 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.005e-05/1.012, allocations: 42.95 kB / 1.157 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=53): time 2.354e-06/1.012, allocations: 0 / 1.157 GB, free: 13.81 MB / 0.7761 GB Notification: Performance of matching and sorting (n=81): time 0.02104/1.033, allocations: 6.618 MB / 1.164 GB, free: 7.152 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/1.033, allocations: 214.4 kB / 1.164 GB, free: 6.895 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001247/1.034, allocations: 0.9398 MB / 1.165 GB, free: 5.941 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.131e-05/1.035, allocations: 37.7 kB / 1.165 GB, free: 5.898 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004684/1.035, allocations: 0.7303 MB / 1.166 GB, free: 5.16 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002293/1.035, allocations: 287.9 kB / 1.166 GB, free: 4.875 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.041e-05/1.035, allocations: 20 kB / 1.166 GB, free: 4.855 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001156/1.035, allocations: 341.9 kB / 1.166 GB, free: 4.516 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009369/1.036, allocations: 0.6931 MB / 1.167 GB, free: 3.824 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001081/1.037, allocations: 0.9341 MB / 1.168 GB, free: 2.789 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001045/1.039, allocations: 0.7477 MB / 1.169 GB, free: 2.043 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.428e-06/1.039, allocations: 4 kB / 1.169 GB, free: 2.039 MB / 0.7761 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.004643/1.043, allocations: 2.495 MB / 1.171 GB, free: 15.51 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.708e-05/1.043, allocations: 11.95 kB / 1.171 GB, free: 15.5 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/1.043, allocations: 7.984 kB / 1.171 GB, free: 15.49 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002983/1.046, allocations: 0.8581 MB / 1.172 GB, free: 14.61 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00196/1.048, allocations: 427.3 kB / 1.172 GB, free: 14.19 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01417/1.062, allocations: 14.86 MB / 1.187 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002399/1.065, allocations: 307.5 kB / 1.187 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/1.065, allocations: 51.95 kB / 1.187 GB, free: 13.9 MB / 0.8073 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 (78): * Single equations (assignments): 70 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(3,100.0%) 5,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002761/1.065, allocations: 168.7 kB / 1.187 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002225/1.066, allocations: 146.2 kB / 1.187 GB, free: 13.58 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00489/1.07, allocations: 2.464 MB / 1.19 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-05/1.07, allocations: 12 kB / 1.19 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.475e-05/1.07, allocations: 8 kB / 1.19 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-06/1.07, allocations: 3.984 kB / 1.19 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007424/1.078, allocations: 4.233 MB / 1.194 GB, free: 6.691 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/1.078, allocations: 352 / 1.194 GB, free: 6.691 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001726/1.08, allocations: 367.4 kB / 1.194 GB, free: 6.332 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002662/1.082, allocations: 0.7795 MB / 1.195 GB, free: 5.527 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001097/1.083, allocations: 27.97 kB / 1.195 GB, free: 5.5 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01442/1.097, allocations: 14.49 MB / 1.209 GB, free: 5.945 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.909e-06/1.097, allocations: 7.938 kB / 1.209 GB, free: 5.938 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004874/1.102, allocations: 2.473 MB / 1.212 GB, free: 3.293 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000931/1.103, allocations: 387.2 kB / 1.212 GB, free: 2.895 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001862/1.103, allocations: 20 kB / 1.212 GB, free: 2.875 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001907/1.105, allocations: 307.5 kB / 1.212 GB, free: 2.574 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002593/1.105, allocations: 80.56 kB / 1.212 GB, free: 2.496 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.813e-05/1.105, allocations: 39.97 kB / 1.212 GB, free: 2.457 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.001034/1.106, allocations: 0.7231 MB / 1.213 GB, free: 1.73 MB / 0.823 GB Notification: Performance of sort global known variables: time 1.41e-07/1.106, allocations: 0 / 1.213 GB, free: 1.73 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.001509/1.108, allocations: 471.9 kB / 1.214 GB, free: 1.27 MB / 0.823 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 (46): * Single equations (assignments): 38 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(3,100.0%) 5,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003134/1.108, allocations: 143.8 kB / 1.214 GB, free: 1.117 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.004493/1.113, allocations: 2.856 MB / 1.217 GB, free: 14.16 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 6.171e-06/1.113, allocations: 0 / 1.217 GB, free: 14.16 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.00288/1.116, allocations: 1.981 MB / 1.218 GB, free: 12.07 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002174/1.118, allocations: 482.3 kB / 1.219 GB, free: 11.61 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00624/1.124, allocations: 2.715 MB / 1.222 GB, free: 8.824 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001035/1.125, allocations: 1.423 MB / 1.223 GB, free: 7.367 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.001708/1.127, allocations: 379.9 kB / 1.223 GB, free: 6.992 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003546/1.127, allocations: 99.38 kB / 1.223 GB, free: 6.895 MB / 0.8386 GB Notification: Performance of SimCode: time 1.152e-06/1.127, allocations: 7.938 kB / 1.223 GB, free: 6.887 MB / 0.8386 GB Notification: Performance of Templates: time 0.04632/1.174, allocations: 29.21 MB / 1.252 GB, free: 9.914 MB / 0.8698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches