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.0009741/0.0009741, allocations: 82.64 kB / 20.68 MB, free: 3.82 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.0009357/0.0009357, allocations: 185 kB / 24.09 MB, free: 420 kB / 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 0.8944/0.8944, allocations: 177.1 MB / 204.5 MB, free: 5.473 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.733/1.733, allocations: 359 MB / 0.6055 GB, free: 10.87 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.613e-06/1.613e-06, allocations: 0 / 0.7875 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.059e-05/2.22e-05, allocations: 2.312 kB / 0.7875 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.01032/0.01034, allocations: 3.082 MB / 0.7906 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002098/0.01244, allocations: 1.118 MB / 0.7916 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002243/0.01266, allocations: 27.75 kB / 0.7917 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.003557/0.01622, allocations: 119.2 kB / 0.7918 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0005528/0.01677, allocations: 249.3 kB / 0.792 GB, free: 7.598 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004335/0.01721, allocations: 213.5 kB / 0.7922 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0006816/0.01789, allocations: 0.6283 MB / 0.7928 GB, free: 6.762 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003861/0.01827, allocations: 239.2 kB / 0.7931 GB, free: 6.523 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000522/0.0188, allocations: 340.5 kB / 0.7934 GB, free: 6.191 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003412/0.02221, allocations: 217.1 kB / 0.7936 GB, free: 5.98 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 7.027e-05/0.02228, allocations: 24 kB / 0.7936 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002112/0.02249, allocations: 103.8 kB / 0.7937 GB, free: 5.855 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001237/0.02261, allocations: 121.1 kB / 0.7938 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.02275, allocations: 139.6 kB / 0.794 GB, free: 5.602 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004538/0.02321, allocations: 366.6 kB / 0.7943 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.02321, allocations: 0 / 0.7943 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of FrontEnd: time 9.32e-07/0.02321, allocations: 0.5625 kB / 0.7943 GB, free: 5.242 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.02322, allocations: 4 kB / 0.7943 GB, free: 5.238 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.0008486/0.02407, allocations: 0.7408 MB / 0.7951 GB, free: 4.465 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.02411, allocations: 8.031 kB / 0.7951 GB, free: 4.457 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005979/0.02471, allocations: 148.3 kB / 0.7952 GB, free: 4.312 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003505/0.02821, allocations: 347.9 kB / 0.7955 GB, free: 3.953 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.728e-05/0.02824, allocations: 25.02 kB / 0.7956 GB, free: 3.926 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.226e-05/0.02829, allocations: 33.11 kB / 0.7956 GB, free: 3.895 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005483/0.02884, allocations: 0.5252 MB / 0.7961 GB, free: 3.254 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.055e-05/0.02886, allocations: 11.89 kB / 0.7961 GB, free: 3.242 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.249e-05/0.0289, allocations: 16.83 kB / 0.7961 GB, free: 3.227 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.885e-05/0.02896, allocations: 44.61 kB / 0.7962 GB, free: 3.184 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000263/0.02923, allocations: 165.2 kB / 0.7963 GB, free: 3.027 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005153/0.03438, allocations: 3.456 MB / 0.7997 GB, free: 15.44 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003001/0.03468, allocations: 177.4 kB / 0.7999 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.136e-05/0.03476, allocations: 59.59 kB / 0.7999 GB, free: 15.19 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.762e-05/0.03478, allocations: 4 kB / 0.7999 GB, free: 15.19 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.134e-05/0.0348, allocations: 41.33 kB / 0.8 GB, free: 15.14 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=26): time 1.573e-06/0.0348, allocations: 4 kB / 0.8 GB, free: 15.13 MB / 0.7605 GB Notification: Performance of matching and sorting (n=27): time 0.0008195/0.03562, allocations: 411.4 kB / 0.8004 GB, free: 14.71 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.468e-05/0.03565, allocations: 56.23 kB / 0.8004 GB, free: 14.65 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000229/0.03588, allocations: 371.3 kB / 0.8008 GB, free: 14.27 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.0359, allocations: 33.7 kB / 0.8008 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001396/0.03604, allocations: 306.7 kB / 0.8011 GB, free: 13.93 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 6.237e-05/0.0361, allocations: 102.8 kB / 0.8012 GB, free: 13.83 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.556e-05/0.0362, allocations: 83.77 kB / 0.8013 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.03633, allocations: 0.5234 MB / 0.8018 GB, free: 13.2 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.729e-05/0.0364, allocations: 44.97 kB / 0.8018 GB, free: 13.16 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001719/0.03657, allocations: 258.5 kB / 0.8021 GB, free: 12.82 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002839/0.03686, allocations: 341.9 kB / 0.8024 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.726e-06/0.03686, allocations: 0 / 0.8024 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005452/0.0374, allocations: 392.7 kB / 0.8028 GB, free: 12 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.03742, allocations: 4 kB / 0.8028 GB, free: 12 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.957e-06/0.03743, allocations: 8.625 kB / 0.8028 GB, free: 11.99 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001877/0.03762, allocations: 67.02 kB / 0.8029 GB, free: 11.91 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002383/0.03786, allocations: 79.83 kB / 0.8029 GB, free: 11.84 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.468e-06/0.03786, allocations: 8 kB / 0.8029 GB, free: 11.83 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001771/0.03804, allocations: 16 kB / 0.803 GB, free: 11.81 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.708e-05/0.03807, allocations: 19.98 kB / 0.803 GB, free: 11.79 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.0001336/0.0382, allocations: 176.4 kB / 0.8031 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.862e-05/0.03827, allocations: 51.77 kB / 0.8032 GB, free: 11.56 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002883/0.03856, allocations: 264.7 kB / 0.8034 GB, free: 11.28 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.03856, allocations: 3.938 kB / 0.8034 GB, free: 11.28 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.03857, allocations: 4 kB / 0.8035 GB, free: 11.27 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.03857, allocations: 3.984 kB / 0.8035 GB, free: 11.27 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006415/0.03921, allocations: 0.599 MB / 0.804 GB, free: 10.61 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.03921, allocations: 0 / 0.804 GB, free: 10.61 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001426/0.03936, allocations: 47.91 kB / 0.8041 GB, free: 10.57 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001425/0.0395, allocations: 67.09 kB / 0.8041 GB, free: 10.49 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.589e-05/0.03952, allocations: 8 kB / 0.8042 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.03952, allocations: 0 / 0.8042 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.03952, allocations: 4 kB / 0.8042 GB, free: 10.48 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003971/0.03992, allocations: 425.5 kB / 0.8046 GB, free: 10.02 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 9.26e-05/0.04001, allocations: 59.67 kB / 0.8046 GB, free: 9.957 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.012e-05/0.04004, allocations: 0 / 0.8046 GB, free: 9.957 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.04018, allocations: 8 kB / 0.8046 GB, free: 9.949 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.491e-05/0.04022, allocations: 31.89 kB / 0.8047 GB, free: 9.918 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.548e-06/0.04023, allocations: 8 kB / 0.8047 GB, free: 9.91 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001013/0.04033, allocations: 239 kB / 0.8049 GB, free: 9.676 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.04033, allocations: 0 / 0.8049 GB, free: 9.676 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002317/0.04057, allocations: 84 kB / 0.805 GB, free: 9.594 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.582e-05/0.04065, allocations: 103.2 kB / 0.8051 GB, free: 9.484 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002987/0.04095, allocations: 238.2 kB / 0.8053 GB, free: 9.238 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.04095, allocations: 0 / 0.8053 GB, free: 9.238 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001135/0.04107, allocations: 122.7 kB / 0.8054 GB, free: 9.105 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003817/0.04145, allocations: 132.3 kB / 0.8055 GB, free: 8.984 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007517/0.0422, allocations: 0.6701 MB / 0.8062 GB, free: 8.27 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.68e-05/0.04227, allocations: 121.5 kB / 0.8063 GB, free: 8.129 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001166/0.04238, allocations: 51.33 kB / 0.8064 GB, free: 8.078 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001743/0.04256, allocations: 166.1 kB / 0.8065 GB, free: 7.914 MB / 0.7605 GB Notification: Performance of SimCode: time 9.42e-07/0.04256, allocations: 0 / 0.8065 GB, free: 7.914 MB / 0.7605 GB Notification: Performance of Templates: time 0.006671/0.04923, allocations: 5.169 MB / 0.8116 GB, free: 2.891 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: 4.815786394290626]