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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001343/0.001343, allocations: 114.5 kB / 18.88 MB, free: 3.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00146/0.00146, allocations: 189.6 kB / 22.17 MB, free: 5.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.749/2.749, allocations: 476.7 MB / 0.7645 GB, free: 10.16 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",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.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002045/0.002045, allocations: 67.83 kB / 1.109 GB, free: 6.566 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7314/0.7334, allocations: 168.7 MB / 1.274 GB, free: 4.562 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005786/0.7392, allocations: 3.865 MB / 1.278 GB, free: 0.6836 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003313/0.7425, allocations: 1.843 MB / 1.28 GB, free: 14.83 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002571/0.7428, allocations: 19.88 kB / 1.28 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009543/0.7437, allocations: 278.6 kB / 1.28 GB, free: 14.54 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0007384/0.7445, allocations: 310.4 kB / 1.28 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006154/0.7451, allocations: 245.5 kB / 1.28 GB, free: 14 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0008051/0.7459, allocations: 0.6049 MB / 1.281 GB, free: 13.39 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004223/0.7463, allocations: 202.5 kB / 1.281 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003712/0.7467, allocations: 235.1 kB / 1.281 GB, free: 12.95 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003717/0.7471, allocations: 242.9 kB / 1.282 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.871e-05/0.7471, allocations: 28 kB / 1.282 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005311/0.7476, allocations: 283.4 kB / 1.282 GB, free: 12.41 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001563/0.7478, allocations: 127.6 kB / 1.282 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002219/0.748, allocations: 210.8 kB / 1.282 GB, free: 12.08 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0007889/0.7488, allocations: 0.594 MB / 1.283 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.7488, allocations: 0 / 1.283 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.263e-06/0.7488, allocations: 4 kB / 1.283 GB, free: 11.48 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.7488, allocations: 0 / 1.283 GB, free: 11.48 MB / 0.9825 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.001333/0.7502, allocations: 0.7434 MB / 1.284 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.7502, allocations: 12.03 kB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009145/0.7511, allocations: 132.5 kB / 1.284 GB, free: 10.55 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006774/0.7518, allocations: 415.9 kB / 1.284 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.448e-05/0.7518, allocations: 21.03 kB / 1.284 GB, free: 10.08 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.291e-05/0.7519, allocations: 32.36 kB / 1.284 GB, free: 10.05 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000877/0.7528, allocations: 0.5511 MB / 1.285 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.018e-05/0.7528, allocations: 7.922 kB / 1.285 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.35e-05/0.7528, allocations: 19.98 kB / 1.285 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.131e-05/0.7529, allocations: 44.53 kB / 1.285 GB, free: 9.359 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007432/0.7536, allocations: 405.7 kB / 1.285 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003341/0.757, allocations: 3.338 MB / 1.288 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007021/0.7577, allocations: 306.4 kB / 1.289 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003182/0.758, allocations: 160.8 kB / 1.289 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.422e-05/0.758, allocations: 4 kB / 1.289 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.7581, allocations: 38.55 kB / 1.289 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=26): time 1.693e-06/0.7581, allocations: 0 / 1.289 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of matching and sorting (n=27): time 0.002232/0.7603, allocations: 1.077 MB / 1.29 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.325e-05/0.7603, allocations: 55.64 kB / 1.29 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003735/0.7607, allocations: 337.6 kB / 1.29 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.96e-05/0.7607, allocations: 33.64 kB / 1.29 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001897/0.7609, allocations: 252.1 kB / 1.291 GB, free: 3.012 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.371e-05/0.761, allocations: 103.1 kB / 1.291 GB, free: 2.91 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001302/0.7611, allocations: 78.09 kB / 1.291 GB, free: 2.828 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.7613, allocations: 350.8 kB / 1.291 GB, free: 2.477 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002977/0.7616, allocations: 144.8 kB / 1.291 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004132/0.762, allocations: 294.5 kB / 1.292 GB, free: 1.98 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007398/0.7628, allocations: 478.3 kB / 1.292 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.7628, allocations: 0 / 1.292 GB, free: 1.449 MB / 0.9825 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001106/0.7639, allocations: 0.5618 MB / 1.293 GB, free: 0.8711 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.7639, allocations: 8 kB / 1.293 GB, free: 0.8633 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.7639, allocations: 4 kB / 1.293 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003282/0.7642, allocations: 95.06 kB / 1.293 GB, free: 0.7578 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003645/0.7646, allocations: 87.81 kB / 1.293 GB, free: 0.6719 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/0.7646, allocations: 11.98 kB / 1.293 GB, free: 0.6602 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002766/0.7649, allocations: 31.91 kB / 1.293 GB, free: 0.6289 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.124e-05/0.7649, allocations: 20 kB / 1.293 GB, free: 0.6094 MB / 0.9825 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.0002314/0.7652, allocations: 183.7 kB / 1.293 GB, free: 432 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.242e-05/0.7652, allocations: 39.77 kB / 1.293 GB, free: 392 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009606/0.7662, allocations: 468.5 kB / 1.293 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.7662, allocations: 0 / 1.293 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.7662, allocations: 4 kB / 1.293 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.7662, allocations: 3.984 kB / 1.293 GB, free: 15.9 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001627/0.7678, allocations: 0.957 MB / 1.294 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.7678, allocations: 4 kB / 1.294 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002588/0.7681, allocations: 51.89 kB / 1.294 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002489/0.7683, allocations: 86.59 kB / 1.295 GB, free: 14.72 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.352e-05/0.7684, allocations: 8 kB / 1.295 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.7684, allocations: 0 / 1.295 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.7684, allocations: 7.938 kB / 1.295 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009108/0.7693, allocations: 0.5447 MB / 1.295 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002048/0.7695, allocations: 140.8 kB / 1.295 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.169e-05/0.7695, allocations: 4 kB / 1.295 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002289/0.7698, allocations: 19.97 kB / 1.295 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.66e-05/0.7698, allocations: 27.91 kB / 1.295 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.858e-05/0.7699, allocations: 12 kB / 1.295 GB, free: 13.91 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002611/0.7701, allocations: 235.2 kB / 1.296 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.7701, allocations: 0 / 1.296 GB, free: 13.68 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004275/0.7706, allocations: 87.94 kB / 1.296 GB, free: 13.59 MB / 0.9981 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.0001583/0.7707, allocations: 111.7 kB / 1.296 GB, free: 13.48 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001001/0.7717, allocations: 0.6107 MB / 1.296 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.7717, allocations: 1.25 kB / 1.296 GB, free: 12.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005076/0.7722, allocations: 425.8 kB / 1.297 GB, free: 12.32 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007215/0.7729, allocations: 130.8 kB / 1.297 GB, free: 12.2 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.7742, allocations: 0.73 MB / 1.298 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004887/0.7747, allocations: 0.8234 MB / 1.298 GB, free: 10.58 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002352/0.7749, allocations: 75.36 kB / 1.298 GB, free: 10.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.775, allocations: 35.44 kB / 1.298 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of SimCode: time 6.11e-07/0.775, allocations: 0 / 1.298 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of Templates: time 0.01027/0.7853, allocations: 4.895 MB / 1.303 GB, free: 5.641 MB / 0.9981 GB " [Timeout remaining time 299] 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=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.538483478594571]