Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 87.58 kB / 20.45 MB, free: 4.117 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001188/0.001188, allocations: 161 kB / 23.82 MB, free: 0.75 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.023/1.023, allocations: 177.1 MB / 204.2 MB, free: 5.254 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.799/1.799, allocations: 359 MB / 0.6052 GB, free: 11.04 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z_L.i.[0-9,]+.|Z_C.i.[0-9,]+.|Z_R.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z_L.i.[0-9,]+.|Z_C.i.[0-9,]+.|Z_R.i.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.996e-05/3.152e-05, allocations: 6.078 kB / 0.7871 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.004436/0.004467, allocations: 3.111 MB / 0.7901 GB, free: 9.395 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001755/0.006222, allocations: 1.124 MB / 0.7912 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001591/0.006381, allocations: 27.75 kB / 0.7913 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004683/0.00685, allocations: 131.8 kB / 0.7914 GB, free: 8.113 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003709/0.007221, allocations: 246.7 kB / 0.7916 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003506/0.007571, allocations: 216.1 kB / 0.7918 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0005671/0.008138, allocations: 0.625 MB / 0.7924 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003855/0.008524, allocations: 231.3 kB / 0.7927 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004068/0.008931, allocations: 345.3 kB / 0.793 GB, free: 6.473 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002444/0.009175, allocations: 199.4 kB / 0.7932 GB, free: 6.277 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.498e-05/0.00921, allocations: 28 kB / 0.7932 GB, free: 6.25 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001612/0.009371, allocations: 96.36 kB / 0.7933 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001032/0.009474, allocations: 136.1 kB / 0.7934 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.009581, allocations: 135.6 kB / 0.7935 GB, free: 5.891 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0003519/0.009933, allocations: 367.4 kB / 0.7939 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.619e-06/0.009937, allocations: 4 kB / 0.7939 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.42e-07/0.009938, allocations: 1.156 kB / 0.7939 GB, free: 5.527 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.009944, allocations: 0 / 0.7939 GB, free: 5.527 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0009361/0.01088, allocations: 0.7402 MB / 0.7946 GB, free: 4.754 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.01093, allocations: 8.031 kB / 0.7946 GB, free: 4.746 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005606/0.01149, allocations: 200.1 kB / 0.7948 GB, free: 4.551 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003704/0.01186, allocations: 354.4 kB / 0.7952 GB, free: 4.184 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.01188, allocations: 29.02 kB / 0.7952 GB, free: 4.156 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.197e-05/0.01192, allocations: 32.33 kB / 0.7952 GB, free: 4.125 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004616/0.01238, allocations: 0.5568 MB / 0.7958 GB, free: 3.453 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.413e-05/0.01239, allocations: 3.938 kB / 0.7958 GB, free: 3.449 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.529e-05/0.01242, allocations: 16.53 kB / 0.7958 GB, free: 3.434 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.562e-05/0.01246, allocations: 42.56 kB / 0.7958 GB, free: 3.391 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002431/0.01271, allocations: 194.1 kB / 0.796 GB, free: 3.207 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001763/0.01447, allocations: 3.534 MB / 0.7995 GB, free: 15.53 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003289/0.0148, allocations: 203 kB / 0.7997 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.177e-05/0.01489, allocations: 72.44 kB / 0.7997 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.289e-05/0.01491, allocations: 8 kB / 0.7997 GB, free: 15.24 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.16e-05/0.01494, allocations: 42.11 kB / 0.7998 GB, free: 15.19 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=26): time 1.453e-06/0.01494, allocations: 0 / 0.7998 GB, free: 15.19 MB / 0.7605 GB Notification: Performance of matching and sorting (n=27): time 0.0008535/0.01579, allocations: 0.4965 MB / 0.8003 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.483e-05/0.01581, allocations: 55.64 kB / 0.8003 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002227/0.01604, allocations: 382.5 kB / 0.8007 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.578e-05/0.01605, allocations: 31.45 kB / 0.8007 GB, free: 14.18 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.000122/0.01618, allocations: 298.8 kB / 0.801 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 5.59e-05/0.01623, allocations: 95.22 kB / 0.8011 GB, free: 13.79 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.674e-05/0.01631, allocations: 79.77 kB / 0.8012 GB, free: 13.7 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000266/0.01657, allocations: 0.5195 MB / 0.8017 GB, free: 13.17 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.73e-05/0.01666, allocations: 65.89 kB / 0.8017 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.01683, allocations: 270.5 kB / 0.802 GB, free: 12.76 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002735/0.0171, allocations: 368.7 kB / 0.8023 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.0171, allocations: 1.094 kB / 0.8023 GB, free: 12.32 MB / 0.7605 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004404/0.01754, allocations: 416.5 kB / 0.8027 GB, free: 11.89 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.305e-05/0.01756, allocations: 9.719 kB / 0.8027 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.01756, allocations: 4 kB / 0.8027 GB, free: 11.88 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000154/0.01772, allocations: 71.58 kB / 0.8028 GB, free: 11.8 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001834/0.0179, allocations: 87.88 kB / 0.8029 GB, free: 11.71 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.374e-05/0.01791, allocations: 11.94 kB / 0.8029 GB, free: 11.7 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001165/0.01803, allocations: 19.98 kB / 0.8029 GB, free: 11.68 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.01805, allocations: 23.98 kB / 0.803 GB, free: 11.66 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001066/0.01816, allocations: 184.4 kB / 0.8031 GB, free: 11.46 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.689e-05/0.01821, allocations: 51.72 kB / 0.8032 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003503/0.01856, allocations: 284.8 kB / 0.8034 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.01857, allocations: 3.984 kB / 0.8035 GB, free: 11.11 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.01857, allocations: 8 kB / 0.8035 GB, free: 11.11 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.01857, allocations: 0 / 0.8035 GB, free: 11.11 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006604/0.01924, allocations: 0.6766 MB / 0.8041 GB, free: 10.36 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.01924, allocations: 0 / 0.8041 GB, free: 10.36 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/0.01936, allocations: 47.91 kB / 0.8042 GB, free: 10.32 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001146/0.01947, allocations: 67 kB / 0.8042 GB, free: 10.24 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.831e-05/0.01949, allocations: 4 kB / 0.8042 GB, free: 10.23 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.01949, allocations: 12.08 kB / 0.8042 GB, free: 10.22 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.0195, allocations: 7.938 kB / 0.8043 GB, free: 10.21 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003438/0.01984, allocations: 441.6 kB / 0.8047 GB, free: 9.738 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 7.675e-05/0.01992, allocations: 63.69 kB / 0.8047 GB, free: 9.676 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.353e-05/0.01994, allocations: 0 / 0.8047 GB, free: 9.676 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.888e-05/0.02004, allocations: 19.97 kB / 0.8048 GB, free: 9.656 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.913e-05/0.02009, allocations: 31.89 kB / 0.8048 GB, free: 9.625 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.097e-06/0.0201, allocations: 4 kB / 0.8048 GB, free: 9.621 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001427/0.02024, allocations: 243.1 kB / 0.805 GB, free: 9.387 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8.1e-08/0.02024, allocations: 0 / 0.805 GB, free: 9.387 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002562/0.0205, allocations: 92 kB / 0.8051 GB, free: 9.297 MB / 0.7605 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 () * Number of clocked 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 (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 8.851e-05/0.02059, allocations: 111.1 kB / 0.8052 GB, free: 9.18 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0003531/0.02094, allocations: 253.8 kB / 0.8055 GB, free: 8.918 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.02094, allocations: 384 / 0.8055 GB, free: 8.918 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001299/0.02107, allocations: 142.2 kB / 0.8056 GB, free: 8.766 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004028/0.02148, allocations: 122.1 kB / 0.8057 GB, free: 8.652 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008836/0.02236, allocations: 0.6702 MB / 0.8064 GB, free: 7.938 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.827e-05/0.02243, allocations: 113.6 kB / 0.8065 GB, free: 7.805 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001329/0.02256, allocations: 67.3 kB / 0.8065 GB, free: 7.738 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.199e-05/0.02262, allocations: 32.48 kB / 0.8066 GB, free: 7.703 MB / 0.7605 GB Notification: Performance of SimCode: time 7.31e-07/0.02262, allocations: 0 / 0.8066 GB, free: 7.703 MB / 0.7605 GB Notification: Performance of Templates: time 0.006312/0.02893, allocations: 4.823 MB / 0.8113 GB, free: 3.031 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.174168448895216]