Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.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.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z_L.i.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Z_L.i.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.409/1.409, allocations: 249.5 MB / 257 MB, free: 6.914 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.0009186/0.0009186, allocations: 176.8 kB / 316.3 MB, free: 3.258 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.468/1.468, allocations: 205.3 MB / 0.5671 GB, free: 15.91 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.0008825/0.0008825, allocations: 100.7 kB / 0.6714 GB, free: 5.012 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.555e-05/1.557e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2498, allocations: 106.3 MB / 0.8852 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8009/1.051, allocations: 148.2 MB / 1.03 GB, free: 6.91 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/1.051, allocations: 88.12 kB / 1.03 GB, free: 6.859 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.04705/1.098, allocations: 20.31 MB / 1.05 GB, free: 5.898 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.314e-06/1.098, allocations: 4 kB / 1.05 GB, free: 5.895 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.593e-05/1.098, allocations: 12 kB / 1.05 GB, free: 5.883 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001029/1.099, allocations: 0.632 MB / 1.05 GB, free: 5.234 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/1.099, allocations: 16.03 kB / 1.05 GB, free: 5.219 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000847/1.1, allocations: 131.3 kB / 1.051 GB, free: 5.09 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005528/1.101, allocations: 379 kB / 1.051 GB, free: 4.715 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/1.101, allocations: 8 kB / 1.051 GB, free: 4.707 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.598e-05/1.101, allocations: 16 kB / 1.051 GB, free: 4.691 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004719/1.101, allocations: 282.8 kB / 1.051 GB, free: 4.508 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007455/1.102, allocations: 0.5359 MB / 1.052 GB, free: 3.969 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.361e-05/1.102, allocations: 11.84 kB / 1.052 GB, free: 3.957 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.514e-05/1.102, allocations: 4 kB / 1.052 GB, free: 3.953 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-05/1.102, allocations: 31.3 kB / 1.052 GB, free: 3.926 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002817/1.105, allocations: 3.279 MB / 1.055 GB, free: 0.6602 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005317/1.106, allocations: 306.8 kB / 1.055 GB, free: 456 kB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002081/1.106, allocations: 154.6 kB / 1.055 GB, free: 348 kB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/1.106, allocations: 7.922 kB / 1.055 GB, free: 340 kB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.398e-05/1.106, allocations: 41.2 kB / 1.056 GB, free: 292 kB / 0.6667 GB Notification: Performance of pre-optimization done (n=26): time 1.713e-06/1.106, allocations: 0 / 1.056 GB, free: 292 kB / 0.6667 GB Notification: Performance of matching and sorting (n=27): time 0.001094/1.107, allocations: 0.5696 MB / 1.056 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.075e-05/1.107, allocations: 55.64 kB / 1.056 GB, free: 15.75 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002429/1.107, allocations: 249.9 kB / 1.056 GB, free: 15.54 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.644e-05/1.107, allocations: 29.7 kB / 1.056 GB, free: 15.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001547/1.108, allocations: 240.3 kB / 1.057 GB, free: 15.31 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 7.138e-05/1.108, allocations: 91 kB / 1.057 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.618e-05/1.108, allocations: 0 / 1.057 GB, free: 15.23 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001557/1.108, allocations: 351.5 kB / 1.057 GB, free: 14.89 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001785/1.108, allocations: 125.1 kB / 1.057 GB, free: 14.81 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000254/1.108, allocations: 250.8 kB / 1.057 GB, free: 14.57 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000206/1.108, allocations: 162.8 kB / 1.058 GB, free: 14.46 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/1.108, allocations: 0 / 1.058 GB, free: 14.46 MB / 0.6823 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.000708/1.109, allocations: 473.8 kB / 1.058 GB, free: 14.07 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/1.109, allocations: 11.95 kB / 1.058 GB, free: 14.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/1.109, allocations: 4 kB / 1.058 GB, free: 14.06 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002756/1.11, allocations: 84.98 kB / 1.058 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000345/1.11, allocations: 91.12 kB / 1.058 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/1.11, allocations: 8 kB / 1.058 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000229/1.11, allocations: 19.97 kB / 1.058 GB, free: 13.87 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.775e-05/1.11, allocations: 19.69 kB / 1.058 GB, free: 13.85 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001128/1.11, allocations: 112.9 kB / 1.058 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.434e-05/1.11, allocations: 35.62 kB / 1.058 GB, free: 13.7 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006884/1.111, allocations: 415.1 kB / 1.059 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/1.111, allocations: 0 / 1.059 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/1.111, allocations: 4 kB / 1.059 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/1.111, allocations: 0 / 1.059 GB, free: 13.38 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001138/1.112, allocations: 0.8628 MB / 1.06 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/1.112, allocations: 3.953 kB / 1.06 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002359/1.113, allocations: 51.97 kB / 1.06 GB, free: 12.57 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002199/1.113, allocations: 84.25 kB / 1.06 GB, free: 12.49 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.001e-05/1.113, allocations: 8.094 kB / 1.06 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/1.113, allocations: 0 / 1.06 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/1.113, allocations: 0 / 1.06 GB, free: 12.48 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006538/1.113, allocations: 0.5242 MB / 1.06 GB, free: 11.99 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001385/1.114, allocations: 137.3 kB / 1.06 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.525e-05/1.114, allocations: 0 / 1.06 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002386/1.114, allocations: 23.88 kB / 1.06 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.19e-05/1.114, allocations: 27.89 kB / 1.06 GB, free: 11.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.461e-05/1.114, allocations: 8 kB / 1.06 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001637/1.114, allocations: 197 kB / 1.061 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.21e-07/1.114, allocations: 0 / 1.061 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003894/1.115, allocations: 76 kB / 1.061 GB, free: 11.57 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 3 {(2,100.0%),(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001711/1.115, allocations: 107.1 kB / 1.061 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000651/1.115, allocations: 0.5841 MB / 1.061 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/1.115, allocations: 4 kB / 1.061 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003433/1.116, allocations: 415.3 kB / 1.062 GB, free: 10.47 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005756/1.116, allocations: 103 kB / 1.062 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008292/1.117, allocations: 0.493 MB / 1.062 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004313/1.118, allocations: 0.8382 MB / 1.063 GB, free: 9.062 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002558/1.118, allocations: 79.2 kB / 1.063 GB, free: 8.984 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.954e-05/1.118, allocations: 27.44 kB / 1.063 GB, free: 8.957 MB / 0.6823 GB Notification: Performance of SimCode: time 2.4e-07/1.118, allocations: 0 / 1.063 GB, free: 8.957 MB / 0.6823 GB Notification: Performance of Templates: time 0.007743/1.126, allocations: 4.001 MB / 1.067 GB, free: 5.02 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","../files/Buildings_maint.7.0.x_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches