Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.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.Examples.GridDCLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|grid.P.real|grid.P.apparent|resistor.S.1.|resistor.S.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") translateModel(Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|grid.P.real|grid.P.apparent|resistor.S.1.|resistor.S.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.424/1.424, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001133/0.001133, allocations: 188.1 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.913/1.913, allocations: 205.4 MB / 0.5775 GB, free: 20.48 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.0009149/0.0009151, allocations: 90.58 kB / 0.6821 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004235/0.0004238, allocations: 9.812 kB / 0.7962 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2645, allocations: 106.3 MB / 0.9001 GB, free: 64.3 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8132/1.078, allocations: 162.1 MB / 1.058 GB, free: 64.03 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003085/1.078, allocations: 96 kB / 1.058 GB, free: 64.03 MB / 0.698 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Electrical/AC/OnePhase/Conversion/ACDCConverter.mo:43:5-43:39:writable] Warning: Ignoring overconstrained operator applied to array components having size zero: Connections.root(terminal_p.theta);. Notification: Performance of FrontEnd - DAE generated: time 0.04843/1.127, allocations: 18.27 MB / 1.076 GB, free: 62.34 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.593e-06/1.127, allocations: 0 / 1.076 GB, free: 62.34 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.986e-05/1.127, allocations: 8.844 kB / 1.076 GB, free: 62.33 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0008986/1.128, allocations: 0.5486 MB / 1.077 GB, free: 61.87 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.316e-05/1.128, allocations: 8.312 kB / 1.077 GB, free: 61.87 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009143/1.129, allocations: 104.9 kB / 1.077 GB, free: 61.86 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003544/1.129, allocations: 261.6 kB / 1.077 GB, free: 61.64 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.386e-05/1.129, allocations: 14.72 kB / 1.077 GB, free: 61.64 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.804e-05/1.129, allocations: 16.47 kB / 1.077 GB, free: 61.64 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005592/1.13, allocations: 352.9 kB / 1.078 GB, free: 61.55 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/1.13, allocations: 0 / 1.078 GB, free: 61.55 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.22e-05/1.13, allocations: 10.75 kB / 1.078 GB, free: 61.55 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.751e-05/1.13, allocations: 18.83 kB / 1.078 GB, free: 61.55 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004693/1.13, allocations: 297 kB / 1.078 GB, free: 61.54 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002088/1.132, allocations: 1.747 MB / 1.08 GB, free: 60.29 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005266/1.133, allocations: 319.7 kB / 1.08 GB, free: 60.15 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.504e-05/1.133, allocations: 85.23 kB / 1.08 GB, free: 60.05 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.96e-05/1.133, allocations: 39 kB / 1.08 GB, free: 60.01 MB / 0.698 GB Notification: Performance of pre-optimization done (n=16): time 1.373e-06/1.133, allocations: 0 / 1.08 GB, free: 60.01 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.002619/1.136, allocations: 0.9769 MB / 1.081 GB, free: 59.75 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/1.136, allocations: 83.98 kB / 1.081 GB, free: 59.65 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/1.136, allocations: 199.9 kB / 1.081 GB, free: 59.54 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.24e-05/1.136, allocations: 30.95 kB / 1.081 GB, free: 59.51 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.548e-05/1.136, allocations: 167.6 kB / 1.081 GB, free: 59.39 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.568e-05/1.136, allocations: 76.09 kB / 1.082 GB, free: 59.34 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.446e-05/1.136, allocations: 5.125 kB / 1.082 GB, free: 59.34 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.938e-05/1.136, allocations: 328.8 kB / 1.082 GB, free: 59.03 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001964/1.136, allocations: 136.6 kB / 1.082 GB, free: 59.02 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002133/1.137, allocations: 207.9 kB / 1.082 GB, free: 58.93 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002304/1.137, allocations: 160.7 kB / 1.082 GB, free: 58.93 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/1.137, allocations: 0 / 1.082 GB, free: 58.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=36) (initialization): time 0.000822/1.138, allocations: 0.5181 MB / 1.083 GB, free: 58.82 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/1.138, allocations: 5.438 kB / 1.083 GB, free: 58.82 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/1.138, allocations: 3.344 kB / 1.083 GB, free: 58.82 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004984/1.138, allocations: 151.3 kB / 1.083 GB, free: 58.78 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000257/1.138, allocations: 59.77 kB / 1.083 GB, free: 58.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002293/1.141, allocations: 3.98 MB / 1.087 GB, free: 55.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002242/1.141, allocations: 20.91 kB / 1.087 GB, free: 55.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.915e-05/1.141, allocations: 15.52 kB / 1.087 GB, free: 55.2 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (32): * Single equations (assignments): 28 * 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: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0002109/1.141, allocations: 167.9 kB / 1.087 GB, free: 55.07 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.499e-05/1.141, allocations: 23.12 kB / 1.087 GB, free: 55.06 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008475/1.142, allocations: 478.6 kB / 1.088 GB, free: 54.96 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/1.142, allocations: 3.062 kB / 1.088 GB, free: 54.96 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/1.142, allocations: 1.5 kB / 1.088 GB, free: 54.96 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.201e-06/1.142, allocations: 3.75 kB / 1.088 GB, free: 54.96 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001286/1.143, allocations: 1.004 MB / 1.089 GB, free: 54.53 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/1.143, allocations: 256 / 1.089 GB, free: 54.53 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001233/1.144, allocations: 49.97 kB / 1.089 GB, free: 54.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003703/1.144, allocations: 134.2 kB / 1.089 GB, free: 54.49 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/1.144, allocations: 11.22 kB / 1.089 GB, free: 54.49 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002139/1.146, allocations: 3.974 MB / 1.093 GB, free: 50.92 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/1.146, allocations: 3.906 kB / 1.093 GB, free: 50.92 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007129/1.147, allocations: 0.7342 MB / 1.093 GB, free: 50.43 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/1.147, allocations: 131.6 kB / 1.093 GB, free: 50.32 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.117e-05/1.147, allocations: 11.53 kB / 1.093 GB, free: 50.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002233/1.147, allocations: 23.64 kB / 1.094 GB, free: 50.31 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.385e-05/1.147, allocations: 26.61 kB / 1.094 GB, free: 50.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/1.147, allocations: 11.81 kB / 1.094 GB, free: 50.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001206/1.148, allocations: 158.9 kB / 1.094 GB, free: 50.23 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.148, allocations: 0 / 1.094 GB, free: 50.23 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006125/1.148, allocations: 98.88 kB / 1.094 GB, free: 50.21 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (21): * Single equations (assignments): 17 * 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: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 2 {1 1,1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002149/1.148, allocations: 151.6 kB / 1.094 GB, free: 50.11 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007642/1.149, allocations: 0.5508 MB / 1.094 GB, free: 49.87 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.907e-06/1.149, allocations: 4.188 kB / 1.094 GB, free: 49.87 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004184/1.15, allocations: 398.8 kB / 1.095 GB, free: 49.64 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/1.15, allocations: 33.77 kB / 1.095 GB, free: 49.64 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008743/1.151, allocations: 0.7325 MB / 1.096 GB, free: 49.23 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002307/1.151, allocations: 0.7917 MB / 1.096 GB, free: 48.53 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0001623/1.151, allocations: 53.7 kB / 1.096 GB, free: 48.52 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.752e-05/1.151, allocations: 24.83 kB / 1.096 GB, free: 48.52 MB / 0.698 GB Notification: Performance of SimCode: time 4.21e-07/1.151, allocations: 0 / 1.096 GB, free: 48.52 MB / 0.698 GB Notification: Performance of Templates: time 0.007704/1.159, allocations: 3.865 MB / 1.1 GB, free: 48.25 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_OnePhase_Examples_GridDCLoad.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Examples.GridDCLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches