Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0009355/0.0009355, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.0009395/0.0009395, allocations: 161 kB / 24.17 MB, free: 332 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.9609/0.9609, allocations: 177.2 MB / 204.6 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.026/2.026, allocations: 377.9 MB / 0.624 GB, free: 8.348 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 0.7601 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.569e-05/1.695e-05, allocations: 9.484 kB / 0.7601 GB, free: 6.582 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003074/0.003091, allocations: 3.134 MB / 0.7631 GB, free: 3.469 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.001589/0.00468, allocations: 1.144 MB / 0.7642 GB, free: 2.324 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001445/0.004825, allocations: 19.81 kB / 0.7643 GB, free: 2.305 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0003934/0.005218, allocations: 119.1 kB / 0.7644 GB, free: 2.188 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0003675/0.005585, allocations: 250.8 kB / 0.7646 GB, free: 1.945 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003338/0.005919, allocations: 213 kB / 0.7648 GB, free: 1.738 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0006379/0.006557, allocations: 0.6283 MB / 0.7654 GB, free: 1.105 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002693/0.006826, allocations: 251.3 kB / 0.7657 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003251/0.007152, allocations: 339.9 kB / 0.766 GB, free: 0.5234 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002375/0.007389, allocations: 218.2 kB / 0.7662 GB, free: 320 kB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.473e-05/0.007424, allocations: 28 kB / 0.7662 GB, free: 292 kB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001322/0.007556, allocations: 91.8 kB / 0.7663 GB, free: 200 kB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 8.175e-05/0.007638, allocations: 123.6 kB / 0.7664 GB, free: 76 kB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.007742, allocations: 139.7 kB / 0.7666 GB, free: 15.93 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002922/0.008034, allocations: 367.4 kB / 0.7669 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.463e-06/0.008036, allocations: 0 / 0.7669 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.51e-07/0.008036, allocations: 0 / 0.7669 GB, free: 15.58 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.008041, allocations: 2.688 kB / 0.7669 GB, free: 15.58 MB / 0.7292 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.0005609/0.008602, allocations: 0.6045 MB / 0.7675 GB, free: 14.95 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.864e-05/0.00863, allocations: 15.16 kB / 0.7675 GB, free: 14.93 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004908/0.009121, allocations: 132.6 kB / 0.7677 GB, free: 14.8 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003237/0.009445, allocations: 338.3 kB / 0.768 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.582e-05/0.009461, allocations: 25.02 kB / 0.768 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.749e-05/0.009498, allocations: 32.36 kB / 0.768 GB, free: 14.4 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003527/0.009851, allocations: 489.8 kB / 0.7685 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.009865, allocations: 7.938 kB / 0.7685 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/0.009885, allocations: 15.98 kB / 0.7685 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.025e-05/0.009925, allocations: 43.56 kB / 0.7686 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001518/0.01008, allocations: 145.6 kB / 0.7687 GB, free: 13.62 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00126/0.01134, allocations: 2.36 MB / 0.771 GB, free: 11.17 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002532/0.01159, allocations: 206.7 kB / 0.7712 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.065e-05/0.01165, allocations: 52.83 kB / 0.7713 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.613e-05/0.01167, allocations: 4 kB / 0.7713 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.01169, allocations: 39.53 kB / 0.7713 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=26): time 1.242e-06/0.01169, allocations: 0 / 0.7713 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of matching and sorting (n=27): time 0.0006202/0.01231, allocations: 369.5 kB / 0.7716 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.01233, allocations: 60.73 kB / 0.7717 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.01249, allocations: 311.2 kB / 0.772 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0002619/0.01275, allocations: 29.7 kB / 0.772 GB, free: 10.05 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.555e-05/0.01283, allocations: 221.4 kB / 0.7722 GB, free: 9.832 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 4.643e-05/0.01288, allocations: 107.1 kB / 0.7723 GB, free: 9.727 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.956e-05/0.01295, allocations: 75.3 kB / 0.7724 GB, free: 9.648 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.988e-05/0.01303, allocations: 354.7 kB / 0.7728 GB, free: 9.293 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.033e-05/0.01308, allocations: 44.97 kB / 0.7728 GB, free: 9.246 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001109/0.01319, allocations: 183.1 kB / 0.773 GB, free: 9.008 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000195/0.01339, allocations: 283.7 kB / 0.7732 GB, free: 8.676 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.01339, allocations: 0 / 0.7732 GB, free: 8.676 MB / 0.7292 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0003173/0.0137, allocations: 319.8 kB / 0.7735 GB, free: 8.348 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.01372, allocations: 6.5 kB / 0.7736 GB, free: 8.344 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.01372, allocations: 8 kB / 0.7736 GB, free: 8.336 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001427/0.01387, allocations: 71.59 kB / 0.7736 GB, free: 8.254 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001749/0.01404, allocations: 80.48 kB / 0.7737 GB, free: 8.176 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.01405, allocations: 11.94 kB / 0.7737 GB, free: 8.164 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.01415, allocations: 16.53 kB / 0.7737 GB, free: 8.148 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.01417, allocations: 13.06 kB / 0.7737 GB, free: 8.137 MB / 0.7292 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 8.814e-05/0.01426, allocations: 137.2 kB / 0.7739 GB, free: 7.992 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.114e-05/0.0143, allocations: 37.78 kB / 0.7739 GB, free: 7.957 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002555/0.01455, allocations: 232.6 kB / 0.7741 GB, free: 7.711 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.01456, allocations: 4 kB / 0.7741 GB, free: 7.707 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.01456, allocations: 3.938 kB / 0.7741 GB, free: 7.703 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.01456, allocations: 0 / 0.7741 GB, free: 7.703 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004721/0.01503, allocations: 0.5239 MB / 0.7747 GB, free: 7.137 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.01504, allocations: 0 / 0.7747 GB, free: 7.137 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000111/0.01515, allocations: 43.97 kB / 0.7747 GB, free: 7.094 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001033/0.01525, allocations: 67.97 kB / 0.7748 GB, free: 7.016 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.157e-05/0.01526, allocations: 11.94 kB / 0.7748 GB, free: 7.004 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.01526, allocations: 0 / 0.7748 GB, free: 7.004 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.01526, allocations: 1.031 kB / 0.7748 GB, free: 7.004 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002481/0.01551, allocations: 364.1 kB / 0.7751 GB, free: 6.609 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.037e-05/0.01557, allocations: 52.72 kB / 0.7752 GB, free: 6.559 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.514e-05/0.0156, allocations: 8 kB / 0.7752 GB, free: 6.551 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.102e-05/0.01568, allocations: 7.984 kB / 0.7752 GB, free: 6.543 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.384e-05/0.01572, allocations: 24.89 kB / 0.7752 GB, free: 6.52 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.01573, allocations: 11.94 kB / 0.7752 GB, free: 6.508 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.015e-05/0.0158, allocations: 117.7 kB / 0.7753 GB, free: 6.395 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.0158, allocations: 0 / 0.7753 GB, free: 6.395 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002189/0.01602, allocations: 88 kB / 0.7754 GB, free: 6.309 MB / 0.7292 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.494e-05/0.0161, allocations: 86.75 kB / 0.7755 GB, free: 6.219 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002564/0.01635, allocations: 212.5 kB / 0.7757 GB, free: 6.004 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.01636, allocations: 5.5 kB / 0.7757 GB, free: 6 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.01646, allocations: 108.9 kB / 0.7758 GB, free: 5.883 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000329/0.01679, allocations: 130.9 kB / 0.7759 GB, free: 5.762 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007284/0.01752, allocations: 0.6767 MB / 0.7766 GB, free: 5.043 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.397e-05/0.01758, allocations: 117.6 kB / 0.7767 GB, free: 4.906 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0001045/0.01769, allocations: 48.16 kB / 0.7768 GB, free: 4.863 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001715/0.01786, allocations: 137.8 kB / 0.7769 GB, free: 4.727 MB / 0.7292 GB Notification: Performance of SimCode: time 9.42e-07/0.01786, allocations: 1.531 kB / 0.7769 GB, free: 4.727 MB / 0.7292 GB Notification: Performance of Templates: time 0.006591/0.02445, allocations: 5.119 MB / 0.7819 GB, free: 15.84 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.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.146777320187539]