Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.405/2.405, allocations: 387.1 MB / 399.7 MB, free: 9.473 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001045/0.001045, allocations: 180.9 kB / 492.3 MB, free: 0.6211 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.698/1.698, allocations: 221.3 MB / 0.7871 GB, free: 12.94 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 95.88 kB / 0.9267 GB, free: 14 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.438e-05/3.442e-05, allocations: 4 kB / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3037, allocations: 142.3 MB / 1.212 GB, free: 38.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.031/1.335, allocations: 165.7 MB / 1.374 GB, free: 18.82 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002785/1.336, allocations: 94.27 kB / 1.374 GB, free: 18.82 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04582/1.381, allocations: 22.24 MB / 1.396 GB, free: 27.35 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.542e-06/1.382, allocations: 0 / 1.396 GB, free: 27.35 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.875e-05/1.382, allocations: 15.84 kB / 1.396 GB, free: 27.34 MB / 0.8386 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.0008732/1.382, allocations: 0.6419 MB / 1.397 GB, free: 26.82 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/1.382, allocations: 11.69 kB / 1.397 GB, free: 26.81 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008371/1.383, allocations: 132.7 kB / 1.397 GB, free: 26.75 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005225/1.384, allocations: 381.6 kB / 1.397 GB, free: 26.46 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.966e-05/1.384, allocations: 22.56 kB / 1.397 GB, free: 26.46 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.517e-05/1.384, allocations: 29.34 kB / 1.397 GB, free: 26.46 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006636/1.385, allocations: 0.5823 MB / 1.398 GB, free: 26.09 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.844e-05/1.385, allocations: 7.875 kB / 1.398 GB, free: 26.08 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.884e-05/1.385, allocations: 17.53 kB / 1.398 GB, free: 26.08 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.012e-05/1.385, allocations: 39.12 kB / 1.398 GB, free: 26.07 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004574/1.385, allocations: 372.7 kB / 1.398 GB, free: 26.02 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002359/1.388, allocations: 3.368 MB / 1.401 GB, free: 23.1 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005448/1.388, allocations: 306.1 kB / 1.402 GB, free: 22.88 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002009/1.388, allocations: 167.7 kB / 1.402 GB, free: 22.77 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/1.388, allocations: 4 kB / 1.402 GB, free: 22.76 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/1.388, allocations: 37.94 kB / 1.402 GB, free: 22.72 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=26): time 2.875e-06/1.388, allocations: 4 kB / 1.402 GB, free: 22.71 MB / 0.8386 GB Notification: Performance of matching and sorting (n=27): time 0.001049/1.389, allocations: 0.5937 MB / 1.403 GB, free: 22.23 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.073e-05/1.39, allocations: 55.64 kB / 1.403 GB, free: 22.17 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002597/1.39, allocations: 293 kB / 1.403 GB, free: 21.93 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/1.39, allocations: 29.39 kB / 1.403 GB, free: 21.89 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/1.39, allocations: 238.9 kB / 1.403 GB, free: 21.71 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.304e-05/1.39, allocations: 97.06 kB / 1.403 GB, free: 21.63 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.393e-05/1.39, allocations: 3.125 kB / 1.403 GB, free: 21.63 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001219/1.39, allocations: 356.6 kB / 1.404 GB, free: 21.29 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001664/1.39, allocations: 129.7 kB / 1.404 GB, free: 21.2 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000214/1.391, allocations: 255.5 kB / 1.404 GB, free: 20.95 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002/1.391, allocations: 170.6 kB / 1.404 GB, free: 20.83 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/1.391, allocations: 3.984 kB / 1.404 GB, free: 20.83 MB / 0.8386 GB Notification: Performance of matching and sorting (n=45) (initialization): time 0.0006554/1.391, allocations: 0.5091 MB / 1.405 GB, free: 20.42 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.958e-05/1.391, allocations: 8 kB / 1.405 GB, free: 20.41 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/1.391, allocations: 4.531 kB / 1.405 GB, free: 20.41 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002861/1.392, allocations: 92.14 kB / 1.405 GB, free: 20.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003005/1.392, allocations: 79.88 kB / 1.405 GB, free: 20.24 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/1.392, allocations: 11.94 kB / 1.405 GB, free: 20.23 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002279/1.392, allocations: 34.91 kB / 1.405 GB, free: 20.2 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.727e-05/1.392, allocations: 19.38 kB / 1.405 GB, free: 20.19 MB / 0.8386 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.0001107/1.392, allocations: 128.3 kB / 1.405 GB, free: 20.07 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.527e-05/1.393, allocations: 43.48 kB / 1.405 GB, free: 20.02 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007462/1.393, allocations: 432 kB / 1.405 GB, free: 19.7 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/1.393, allocations: 4 kB / 1.405 GB, free: 19.7 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.895e-06/1.393, allocations: 0 / 1.405 GB, free: 19.7 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/1.393, allocations: 4 kB / 1.405 GB, free: 19.7 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001276/1.395, allocations: 0.9426 MB / 1.406 GB, free: 18.88 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/1.395, allocations: 4 kB / 1.406 GB, free: 18.88 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002194/1.395, allocations: 51.89 kB / 1.406 GB, free: 18.82 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001975/1.395, allocations: 84.11 kB / 1.407 GB, free: 18.75 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.155e-05/1.395, allocations: 7.312 kB / 1.407 GB, free: 18.74 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/1.395, allocations: 3.938 kB / 1.407 GB, free: 18.74 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/1.395, allocations: 4 kB / 1.407 GB, free: 18.73 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007548/1.396, allocations: 0.5555 MB / 1.407 GB, free: 18.22 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001673/1.396, allocations: 139.3 kB / 1.407 GB, free: 18.08 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.017e-05/1.396, allocations: 6.875 kB / 1.407 GB, free: 18.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/1.396, allocations: 29.72 kB / 1.407 GB, free: 18.05 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.32e-05/1.396, allocations: 23.08 kB / 1.407 GB, free: 18.03 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.56e-05/1.396, allocations: 8 kB / 1.407 GB, free: 18.02 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002347/1.397, allocations: 229.7 kB / 1.407 GB, free: 17.84 MB / 0.8386 GB Notification: Performance of sort global known variables: time 3.1e-07/1.397, allocations: 4 kB / 1.407 GB, free: 17.84 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003999/1.397, allocations: 86.38 kB / 1.408 GB, free: 17.76 MB / 0.8386 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.0002128/1.397, allocations: 119.3 kB / 1.408 GB, free: 17.64 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006969/1.398, allocations: 0.5905 MB / 1.408 GB, free: 17.08 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/1.398, allocations: 1.062 kB / 1.408 GB, free: 17.08 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003742/1.398, allocations: 415 kB / 1.409 GB, free: 16.66 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000643/1.399, allocations: 123.9 kB / 1.409 GB, free: 16.56 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009303/1.4, allocations: 0.5166 MB / 1.409 GB, free: 16.07 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005764/1.401, allocations: 0.8351 MB / 1.41 GB, free: 15.22 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002334/1.401, allocations: 75.3 kB / 1.41 GB, free: 15.14 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.537e-05/1.401, allocations: 31.42 kB / 1.41 GB, free: 15.12 MB / 0.8386 GB Notification: Performance of SimCode: time 4.2e-07/1.401, allocations: 0 / 1.41 GB, free: 15.12 MB / 0.8386 GB Notification: Performance of Templates: time 0.00929/1.41, allocations: 4.319 MB / 1.414 GB, free: 10.87 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches