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.49/1.49, 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.0009448/0.0009448, allocations: 176.6 kB / 321.3 MB, free: 14.67 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.591/1.591, 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.000798/0.0007982, allocations: 94.47 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.16e-05/3.164e-05, allocations: 0 / 0.7879 GB, free: 97.11 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2249, allocations: 106.3 MB / 0.8918 GB, free: 6.676 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7611/0.986, allocations: 147.9 MB / 1.036 GB, free: 4.137 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002867/0.9864, allocations: 94 kB / 1.036 GB, free: 4.082 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.04658/1.033, allocations: 20.38 MB / 1.056 GB, free: 2.91 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.694e-06/1.033, allocations: 0 / 1.056 GB, free: 2.91 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 2.965e-05/1.033, allocations: 15.94 kB / 1.056 GB, free: 2.895 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.0009179/1.034, allocations: 0.6409 MB / 1.057 GB, free: 2.238 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/1.034, allocations: 8.031 kB / 1.057 GB, free: 2.23 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008404/1.035, allocations: 134.9 kB / 1.057 GB, free: 2.102 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005617/1.035, allocations: 382.4 kB / 1.057 GB, free: 1.719 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/1.035, allocations: 19.66 kB / 1.057 GB, free: 1.707 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.006e-05/1.036, allocations: 26.88 kB / 1.057 GB, free: 1.688 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007391/1.036, allocations: 0.5806 MB / 1.058 GB, free: 1.129 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/1.036, allocations: 11.84 kB / 1.058 GB, free: 1.117 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.746e-05/1.036, allocations: 14.31 kB / 1.058 GB, free: 1.113 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.358e-05/1.036, allocations: 32.53 kB / 1.058 GB, free: 1.082 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005102/1.037, allocations: 377.1 kB / 1.058 GB, free: 0.8203 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002651/1.04, allocations: 3.357 MB / 1.062 GB, free: 13.49 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005537/1.04, allocations: 324.1 kB / 1.062 GB, free: 13.25 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002087/1.04, allocations: 162.1 kB / 1.062 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/1.04, allocations: 4 kB / 1.062 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.943e-05/1.04, allocations: 34 kB / 1.062 GB, free: 13.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=26): time 1.423e-06/1.04, allocations: 0 / 1.062 GB, free: 13.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=27): time 0.001083/1.042, allocations: 0.6017 MB / 1.063 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.199e-05/1.042, allocations: 59.64 kB / 1.063 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002827/1.042, allocations: 294.1 kB / 1.063 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/1.042, allocations: 33.27 kB / 1.063 GB, free: 12.26 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000133/1.042, allocations: 239 kB / 1.063 GB, free: 12.07 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.409e-05/1.042, allocations: 87.25 kB / 1.063 GB, free: 12 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.833e-05/1.042, allocations: 11.06 kB / 1.063 GB, free: 12 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001331/1.042, allocations: 347.5 kB / 1.064 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001831/1.043, allocations: 128.7 kB / 1.064 GB, free: 11.57 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002456/1.043, allocations: 254.6 kB / 1.064 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002295/1.043, allocations: 177.1 kB / 1.064 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/1.043, allocations: 0 / 1.064 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.00076/1.044, allocations: 0.517 MB / 1.065 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/1.044, allocations: 4 kB / 1.065 GB, free: 10.78 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/1.044, allocations: 4 kB / 1.065 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002864/1.044, allocations: 90.17 kB / 1.065 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003168/1.044, allocations: 87.81 kB / 1.065 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.166e-05/1.044, allocations: 4 kB / 1.065 GB, free: 10.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002397/1.045, allocations: 29.53 kB / 1.065 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.146e-05/1.045, allocations: 19.12 kB / 1.065 GB, free: 10.56 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.0001102/1.045, allocations: 131.4 kB / 1.065 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.273e-05/1.045, allocations: 43.48 kB / 1.065 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007218/1.046, allocations: 431.7 kB / 1.066 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/1.046, allocations: 4 kB / 1.066 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/1.046, allocations: 0 / 1.066 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/1.046, allocations: 0 / 1.066 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001246/1.047, allocations: 0.9468 MB / 1.067 GB, free: 9.242 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/1.047, allocations: 0 / 1.067 GB, free: 9.242 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002315/1.047, allocations: 58.7 kB / 1.067 GB, free: 9.188 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002122/1.047, allocations: 80.64 kB / 1.067 GB, free: 9.113 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/1.047, allocations: 11.44 kB / 1.067 GB, free: 9.105 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/1.047, allocations: 0 / 1.067 GB, free: 9.105 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/1.047, allocations: 7.938 kB / 1.067 GB, free: 9.098 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007367/1.048, allocations: 0.5616 MB / 1.067 GB, free: 8.578 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001683/1.048, allocations: 135 kB / 1.067 GB, free: 8.438 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.513e-05/1.048, allocations: 7.25 kB / 1.067 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002214/1.049, allocations: 23.66 kB / 1.067 GB, free: 8.414 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.039e-05/1.049, allocations: 27.66 kB / 1.067 GB, free: 8.391 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/1.049, allocations: 7.312 kB / 1.067 GB, free: 8.387 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002138/1.049, allocations: 229.1 kB / 1.068 GB, free: 8.203 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/1.049, allocations: 0 / 1.068 GB, free: 8.203 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003792/1.049, allocations: 89.56 kB / 1.068 GB, free: 8.125 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.0001645/1.05, allocations: 115.4 kB / 1.068 GB, free: 8.004 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0006841/1.05, allocations: 0.5938 MB / 1.068 GB, free: 7.445 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/1.05, allocations: 0 / 1.068 GB, free: 7.445 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003618/1.051, allocations: 425.1 kB / 1.069 GB, free: 7.012 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005536/1.051, allocations: 110 kB / 1.069 GB, free: 6.926 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008807/1.052, allocations: 0.5155 MB / 1.069 GB, free: 6.438 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004546/1.053, allocations: 0.8376 MB / 1.07 GB, free: 5.582 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.000252/1.053, allocations: 83.28 kB / 1.07 GB, free: 5.5 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.053e-05/1.053, allocations: 27.44 kB / 1.07 GB, free: 5.473 MB / 0.6823 GB Notification: Performance of SimCode: time 4.8e-07/1.053, allocations: 0 / 1.07 GB, free: 5.473 MB / 0.6823 GB Notification: Performance of Templates: time 0.009483/1.062, allocations: 4.316 MB / 1.075 GB, free: 1.211 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