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.001346/0.001346, allocations: 80.3 kB / 21.47 MB, free: 3.023 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.001631/0.001631, allocations: 167.9 kB / 24.86 MB, free: 8.879 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.9058/0.9058, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.74/1.74, allocations: 359 MB / 0.6063 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.282e-06/1.282e-06, allocations: 0 / 0.7883 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.179e-05/1.307e-05, allocations: 2.906 kB / 0.7883 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.002961/0.002974, allocations: 3.082 MB / 0.7913 GB, free: 9.133 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001734/0.004708, allocations: 1.124 MB / 0.7924 GB, free: 8.008 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001625/0.004871, allocations: 21.75 kB / 0.7924 GB, free: 7.988 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0004079/0.005279, allocations: 119.2 kB / 0.7925 GB, free: 7.871 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003573/0.005636, allocations: 256.7 kB / 0.7928 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003085/0.005944, allocations: 209.8 kB / 0.793 GB, free: 7.418 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0004364/0.006381, allocations: 0.6283 MB / 0.7936 GB, free: 6.789 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002728/0.006653, allocations: 244.3 kB / 0.7938 GB, free: 6.547 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003167/0.00697, allocations: 331.2 kB / 0.7941 GB, free: 6.223 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000238/0.007208, allocations: 224.9 kB / 0.7944 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.17e-05/0.00724, allocations: 28 kB / 0.7944 GB, free: 5.977 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.007365, allocations: 98.16 kB / 0.7945 GB, free: 5.883 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 8.543e-05/0.00745, allocations: 123.6 kB / 0.7946 GB, free: 5.762 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 9.405e-05/0.007544, allocations: 135.6 kB / 0.7947 GB, free: 5.629 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0002997/0.007844, allocations: 370.6 kB / 0.7951 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.007846, allocations: 0 / 0.7951 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of FrontEnd: time 7.71e-07/0.007847, allocations: 0 / 0.7951 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.00785, allocations: 0.7188 kB / 0.7951 GB, free: 5.266 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.0006194/0.00847, allocations: 0.7391 MB / 0.7958 GB, free: 4.492 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 2.841e-05/0.008498, allocations: 8.031 kB / 0.7958 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003877/0.008886, allocations: 149 kB / 0.7959 GB, free: 4.34 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003291/0.009215, allocations: 352.3 kB / 0.7963 GB, free: 3.977 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.9e-05/0.009234, allocations: 30.28 kB / 0.7963 GB, free: 3.945 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.664e-05/0.009271, allocations: 32.38 kB / 0.7963 GB, free: 3.914 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003644/0.009635, allocations: 0.5246 MB / 0.7969 GB, free: 3.273 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.009649, allocations: 7.891 kB / 0.7969 GB, free: 3.266 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.146e-05/0.009671, allocations: 16.7 kB / 0.7969 GB, free: 3.25 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-05/0.009711, allocations: 45.5 kB / 0.7969 GB, free: 3.207 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001589/0.00987, allocations: 154.8 kB / 0.7971 GB, free: 3.059 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001682/0.01155, allocations: 3.457 MB / 0.8004 GB, free: 15.47 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002438/0.0118, allocations: 177 kB / 0.8006 GB, free: 15.29 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.761e-05/0.01186, allocations: 67.58 kB / 0.8007 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 1.862e-05/0.01188, allocations: 7.984 kB / 0.8007 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.0119, allocations: 37.39 kB / 0.8007 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=26): time 1.242e-06/0.0119, allocations: 0.8438 kB / 0.8007 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of matching and sorting (n=27): time 0.000669/0.01257, allocations: 422.8 kB / 0.8011 GB, free: 14.73 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.103e-05/0.01259, allocations: 55.64 kB / 0.8012 GB, free: 14.67 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.01276, allocations: 366.4 kB / 0.8015 GB, free: 14.29 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.531e-05/0.01278, allocations: 29.7 kB / 0.8016 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001135/0.01289, allocations: 306.7 kB / 0.8019 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 4.789e-05/0.01294, allocations: 105.5 kB / 0.802 GB, free: 13.85 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.071e-05/0.01301, allocations: 83.77 kB / 0.802 GB, free: 13.75 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.01312, allocations: 0.5195 MB / 0.8025 GB, free: 13.22 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.303e-05/0.01318, allocations: 44.97 kB / 0.8026 GB, free: 13.18 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000138/0.01331, allocations: 262.5 kB / 0.8028 GB, free: 12.84 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002191/0.01353, allocations: 340.4 kB / 0.8032 GB, free: 12.43 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.01354, allocations: 8.594 kB / 0.8032 GB, free: 12.42 MB / 0.7605 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003631/0.0139, allocations: 385.2 kB / 0.8035 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.01391, allocations: 10.19 kB / 0.8035 GB, free: 12.02 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.01392, allocations: 4 kB / 0.8035 GB, free: 12.01 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001328/0.01405, allocations: 66.95 kB / 0.8036 GB, free: 11.93 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.01421, allocations: 80.45 kB / 0.8037 GB, free: 11.86 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.01422, allocations: 15.94 kB / 0.8037 GB, free: 11.84 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001022/0.01432, allocations: 12 kB / 0.8037 GB, free: 11.83 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.673e-05/0.01434, allocations: 19.98 kB / 0.8037 GB, free: 11.81 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 9.553e-05/0.01443, allocations: 180.5 kB / 0.8039 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.583e-05/0.01448, allocations: 47.77 kB / 0.804 GB, free: 11.57 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002826/0.01476, allocations: 256.9 kB / 0.8042 GB, free: 11.3 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.01477, allocations: 7.938 kB / 0.8042 GB, free: 11.3 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.01477, allocations: 4 kB / 0.8042 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.01477, allocations: 3.984 kB / 0.8042 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005276/0.0153, allocations: 0.605 MB / 0.8048 GB, free: 10.62 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.0153, allocations: 0 / 0.8048 GB, free: 10.62 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.897e-05/0.0154, allocations: 39.97 kB / 0.8048 GB, free: 10.59 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001029/0.0155, allocations: 62.95 kB / 0.8049 GB, free: 10.51 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.708e-06/0.01551, allocations: 8 kB / 0.8049 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.135e-06/0.01552, allocations: 4 kB / 0.8049 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.01552, allocations: 4.094 kB / 0.8049 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002815/0.0158, allocations: 427.5 kB / 0.8053 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 6.4e-05/0.01586, allocations: 55.67 kB / 0.8054 GB, free: 9.98 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.646e-05/0.01589, allocations: 4 kB / 0.8054 GB, free: 9.977 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.528e-05/0.01598, allocations: 8 kB / 0.8054 GB, free: 9.969 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/0.01602, allocations: 23.95 kB / 0.8054 GB, free: 9.945 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.093e-05/0.01603, allocations: 8 kB / 0.8054 GB, free: 9.938 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0003674/0.0164, allocations: 239 kB / 0.8056 GB, free: 9.707 MB / 0.7605 GB Notification: Performance of sort global known variables: time 8e-08/0.0164, allocations: 0 / 0.8056 GB, free: 9.707 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002453/0.01664, allocations: 88 kB / 0.8057 GB, free: 9.621 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 7.507e-05/0.01672, allocations: 105.4 kB / 0.8058 GB, free: 9.512 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002662/0.01698, allocations: 229.9 kB / 0.806 GB, free: 9.273 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.072e-06/0.01698, allocations: 320 / 0.806 GB, free: 9.273 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.000111/0.01709, allocations: 128.2 kB / 0.8062 GB, free: 9.133 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000396/0.01749, allocations: 130.5 kB / 0.8063 GB, free: 9.012 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007252/0.01821, allocations: 0.67 MB / 0.807 GB, free: 8.297 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.465e-05/0.01828, allocations: 121.6 kB / 0.8071 GB, free: 8.156 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001009/0.01838, allocations: 47.33 kB / 0.8071 GB, free: 8.109 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001701/0.01855, allocations: 170.1 kB / 0.8073 GB, free: 7.941 MB / 0.7605 GB Notification: Performance of SimCode: time 5.91e-07/0.01855, allocations: 0 / 0.8073 GB, free: 7.941 MB / 0.7605 GB Notification: Performance of Templates: time 0.006702/0.02525, allocations: 5.269 MB / 0.8124 GB, free: 2.832 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.929526410065591]