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.001266/0.001266, 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.001577/0.001577, allocations: 165 kB / 23.82 MB, free: 0.7461 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 0.9314/0.9314, allocations: 177.1 MB / 204.2 MB, free: 5.59 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.75/1.75, allocations: 359 MB / 0.6052 GB, free: 10.93 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 2.024e-06/2.024e-06, allocations: 0 / 0.7871 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.648e-05/2.85e-05, allocations: 6.312 kB / 0.7871 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003537/0.003566, allocations: 3.116 MB / 0.7901 GB, free: 9.297 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001785/0.005351, allocations: 1.128 MB / 0.7912 GB, free: 8.168 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002344/0.005585, allocations: 23.75 kB / 0.7913 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005443/0.00613, allocations: 124.3 kB / 0.7914 GB, free: 8.023 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0004529/0.006582, allocations: 258.8 kB / 0.7916 GB, free: 7.773 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004097/0.006992, allocations: 207.5 kB / 0.7918 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0007594/0.007751, allocations: 0.625 MB / 0.7924 GB, free: 6.945 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004739/0.008225, allocations: 243.2 kB / 0.7927 GB, free: 6.703 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005804/0.008806, allocations: 337.3 kB / 0.793 GB, free: 6.375 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003841/0.00919, allocations: 223.3 kB / 0.7932 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 5.009e-05/0.00924, allocations: 28.5 kB / 0.7932 GB, free: 6.129 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000219/0.009459, allocations: 88.45 kB / 0.7933 GB, free: 6.043 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001174/0.009576, allocations: 127.6 kB / 0.7934 GB, free: 5.918 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.009711, allocations: 136.4 kB / 0.7936 GB, free: 5.785 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0006417/0.01035, allocations: 370.5 kB / 0.7939 GB, free: 5.422 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.01036, allocations: 1.156 kB / 0.7939 GB, free: 5.422 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.693e-06/0.01036, allocations: 0 / 0.7939 GB, free: 5.422 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.166e-05/0.01037, allocations: 0 / 0.7939 GB, free: 5.422 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.0008148/0.01118, allocations: 0.7362 MB / 0.7946 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.01123, allocations: 12.03 kB / 0.7947 GB, free: 4.641 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005161/0.01174, allocations: 172.3 kB / 0.7948 GB, free: 4.473 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004124/0.01215, allocations: 357.1 kB / 0.7952 GB, free: 4.105 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.058e-05/0.01217, allocations: 24.97 kB / 0.7952 GB, free: 4.078 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.573e-05/0.01222, allocations: 28.38 kB / 0.7952 GB, free: 4.051 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005128/0.01273, allocations: 0.5547 MB / 0.7958 GB, free: 3.383 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.01275, allocations: 3.953 kB / 0.7958 GB, free: 3.379 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.996e-05/0.01278, allocations: 16 kB / 0.7958 GB, free: 3.363 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.961e-05/0.01283, allocations: 40.62 kB / 0.7958 GB, free: 3.324 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002558/0.01309, allocations: 196.5 kB / 0.796 GB, free: 3.133 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001852/0.01494, allocations: 3.539 MB / 0.7995 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00038/0.01532, allocations: 203.8 kB / 0.7997 GB, free: 15.24 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.01542, allocations: 74.5 kB / 0.7997 GB, free: 15.17 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.01544, allocations: 8 kB / 0.7997 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.507e-05/0.01547, allocations: 41.33 kB / 0.7998 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=26): time 2.013e-06/0.01547, allocations: 0 / 0.7998 GB, free: 15.11 MB / 0.7605 GB Notification: Performance of matching and sorting (n=27): time 0.0009283/0.0164, allocations: 0.4971 MB / 0.8003 GB, free: 14.6 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.187e-05/0.01643, allocations: 59.58 kB / 0.8003 GB, free: 14.53 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002345/0.01666, allocations: 378.5 kB / 0.8007 GB, free: 14.14 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.01668, allocations: 29.7 kB / 0.8007 GB, free: 14.1 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002991/0.01698, allocations: 299.7 kB / 0.801 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 5.781e-05/0.01704, allocations: 99.14 kB / 0.8011 GB, free: 13.71 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.419e-05/0.01712, allocations: 84.89 kB / 0.8012 GB, free: 13.61 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.01726, allocations: 0.5157 MB / 0.8017 GB, free: 13.09 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.723e-05/0.01736, allocations: 60.97 kB / 0.8017 GB, free: 13.03 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.01753, allocations: 275.7 kB / 0.802 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003051/0.01784, allocations: 371.5 kB / 0.8023 GB, free: 12.23 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.01784, allocations: 0 / 0.8023 GB, free: 12.23 MB / 0.7605 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0004787/0.01832, allocations: 412.5 kB / 0.8027 GB, free: 11.81 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.01834, allocations: 8 kB / 0.8027 GB, free: 11.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.01835, allocations: 4 kB / 0.8027 GB, free: 11.8 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001877/0.01854, allocations: 75 kB / 0.8028 GB, free: 11.71 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001925/0.01873, allocations: 79.83 kB / 0.8029 GB, free: 11.63 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.254e-05/0.01874, allocations: 15.92 kB / 0.8029 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001282/0.01887, allocations: 23.98 kB / 0.8029 GB, free: 11.59 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.01889, allocations: 20 kB / 0.803 GB, free: 11.57 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.0001218/0.01901, allocations: 184.5 kB / 0.8031 GB, free: 11.38 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.362e-05/0.01906, allocations: 51.7 kB / 0.8032 GB, free: 11.33 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003929/0.01946, allocations: 284.8 kB / 0.8034 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.01946, allocations: 0 / 0.8034 GB, free: 11.04 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/0.01947, allocations: 4 kB / 0.8035 GB, free: 11.03 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.01947, allocations: 3.984 kB / 0.8035 GB, free: 11.03 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006994/0.02017, allocations: 0.6748 MB / 0.8041 GB, free: 10.29 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.02018, allocations: 96 / 0.8041 GB, free: 10.29 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001259/0.0203, allocations: 55.95 kB / 0.8042 GB, free: 10.23 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001236/0.02043, allocations: 70.94 kB / 0.8042 GB, free: 10.15 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.02044, allocations: 4 kB / 0.8042 GB, free: 10.14 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.02044, allocations: 4 kB / 0.8042 GB, free: 10.14 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.02045, allocations: 3.938 kB / 0.8042 GB, free: 10.14 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000379/0.02083, allocations: 447.6 kB / 0.8047 GB, free: 9.656 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 8.835e-05/0.02091, allocations: 59.69 kB / 0.8047 GB, free: 9.598 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.938e-05/0.02094, allocations: 4 kB / 0.8047 GB, free: 9.594 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.906e-05/0.02104, allocations: 19.98 kB / 0.8048 GB, free: 9.574 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.393e-05/0.02112, allocations: 27.95 kB / 0.8048 GB, free: 9.547 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.02113, allocations: 4 kB / 0.8048 GB, free: 9.543 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001457/0.02127, allocations: 247.1 kB / 0.805 GB, free: 9.305 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.02127, allocations: 0 / 0.805 GB, free: 9.305 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002772/0.02155, allocations: 84 kB / 0.8051 GB, free: 9.223 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 0.0001099/0.02166, allocations: 107.1 kB / 0.8052 GB, free: 9.109 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0003826/0.02204, allocations: 261 kB / 0.8055 GB, free: 8.84 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.02205, allocations: 0 / 0.8055 GB, free: 8.84 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001286/0.02217, allocations: 137.6 kB / 0.8056 GB, free: 8.691 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004493/0.02262, allocations: 129.6 kB / 0.8057 GB, free: 8.57 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.02367, allocations: 0.6702 MB / 0.8064 GB, free: 7.855 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.272e-05/0.02375, allocations: 117.6 kB / 0.8065 GB, free: 7.719 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001469/0.02389, allocations: 63.3 kB / 0.8065 GB, free: 7.656 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.627e-05/0.02396, allocations: 28.5 kB / 0.8066 GB, free: 7.625 MB / 0.7605 GB Notification: Performance of SimCode: time 1.313e-06/0.02396, allocations: 4 kB / 0.8066 GB, free: 7.621 MB / 0.7605 GB Notification: Performance of Templates: time 0.007817/0.03178, allocations: 5.087 MB / 0.8115 GB, free: 2.684 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.048221399076283]