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.00129/0.00129, allocations: 114.8 kB / 18.89 MB, free: 2.898 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.001416/0.001416, allocations: 195.6 kB / 22.17 MB, free: 5.211 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.493/1.493, allocations: 225.6 MB / 250.9 MB, free: 13.26 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.746/2.746, allocations: 476.7 MB / 0.7645 GB, free: 10.1 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.002002/0.002002, allocations: 67.84 kB / 1.109 GB, free: 6.539 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8669/0.869, allocations: 168.7 MB / 1.274 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.006294/0.8752, allocations: 3.854 MB / 1.278 GB, free: 0.5781 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003711/0.879, allocations: 1.855 MB / 1.28 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000237/0.8792, allocations: 15.88 kB / 1.28 GB, free: 14.7 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009791/0.8802, allocations: 282.6 kB / 1.28 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0007278/0.8809, allocations: 306.5 kB / 1.28 GB, free: 14.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006383/0.8815, allocations: 254.9 kB / 1.28 GB, free: 13.88 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0007887/0.8823, allocations: 0.6049 MB / 1.281 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004309/0.8828, allocations: 186.6 kB / 1.281 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003669/0.8831, allocations: 247.1 kB / 1.281 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003865/0.8835, allocations: 247 kB / 1.282 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.793e-05/0.8836, allocations: 24 kB / 1.282 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005307/0.8841, allocations: 283.4 kB / 1.282 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001679/0.8843, allocations: 127.6 kB / 1.282 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002745/0.8845, allocations: 206.9 kB / 1.282 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0008322/0.8854, allocations: 0.5901 MB / 1.283 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.8854, allocations: 4 kB / 1.283 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.773e-06/0.8854, allocations: 11.88 kB / 1.283 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.8854, allocations: 0 / 1.283 GB, free: 11.36 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.001399/0.8868, allocations: 0.7434 MB / 1.284 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.8868, allocations: 8.031 kB / 1.284 GB, free: 10.56 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009117/0.8877, allocations: 144.5 kB / 1.284 GB, free: 10.42 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006745/0.8884, allocations: 407.9 kB / 1.284 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.634e-05/0.8884, allocations: 21.03 kB / 1.284 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.251e-05/0.8885, allocations: 32.36 kB / 1.284 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009399/0.8894, allocations: 0.5549 MB / 1.285 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.01e-05/0.8895, allocations: 4 kB / 1.285 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.94e-05/0.8895, allocations: 12 kB / 1.285 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.99e-05/0.8896, allocations: 40.53 kB / 1.285 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007584/0.8903, allocations: 413.7 kB / 1.285 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003515/0.8938, allocations: 3.33 MB / 1.288 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007679/0.8946, allocations: 318.5 kB / 1.289 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000343/0.895, allocations: 156.8 kB / 1.289 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.895, allocations: 7.938 kB / 1.289 GB, free: 4.781 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.316e-05/0.895, allocations: 38.56 kB / 1.289 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=26): time 2.124e-06/0.895, allocations: 0 / 1.289 GB, free: 4.734 MB / 0.9825 GB Notification: Performance of matching and sorting (n=27): time 0.002408/0.8974, allocations: 1.07 MB / 1.29 GB, free: 3.594 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.297e-05/0.8975, allocations: 55.64 kB / 1.29 GB, free: 3.527 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00043/0.8979, allocations: 341.6 kB / 1.29 GB, free: 3.184 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.41e-05/0.8979, allocations: 33.7 kB / 1.29 GB, free: 3.145 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002012/0.8981, allocations: 248.1 kB / 1.291 GB, free: 2.898 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.8983, allocations: 103.2 kB / 1.291 GB, free: 2.797 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/0.8984, allocations: 74.08 kB / 1.291 GB, free: 2.719 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001989/0.8986, allocations: 346.8 kB / 1.291 GB, free: 2.371 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002972/0.8989, allocations: 156.8 kB / 1.291 GB, free: 2.219 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004647/0.8993, allocations: 290.5 kB / 1.292 GB, free: 1.867 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007428/0.9001, allocations: 482.3 kB / 1.292 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.9001, allocations: 0 / 1.292 GB, free: 1.332 MB / 0.9825 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001075/0.9012, allocations: 0.5541 MB / 1.293 GB, free: 0.7617 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.9012, allocations: 8 kB / 1.293 GB, free: 0.7539 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.9012, allocations: 4 kB / 1.293 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000353/0.9015, allocations: 90.91 kB / 1.293 GB, free: 0.6523 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003845/0.9019, allocations: 91.88 kB / 1.293 GB, free: 0.5625 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.207e-05/0.902, allocations: 15.94 kB / 1.293 GB, free: 0.5469 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003005/0.9023, allocations: 31.91 kB / 1.293 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.211e-05/0.9023, allocations: 19.94 kB / 1.293 GB, free: 0.4961 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.0002362/0.9025, allocations: 177.7 kB / 1.293 GB, free: 320 kB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.095e-05/0.9026, allocations: 39.77 kB / 1.293 GB, free: 280 kB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009621/0.9036, allocations: 464.5 kB / 1.293 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.063e-06/0.9036, allocations: 7.938 kB / 1.293 GB, free: 15.8 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.9036, allocations: 3.938 kB / 1.293 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.9036, allocations: 0 / 1.293 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001679/0.9053, allocations: 0.9648 MB / 1.294 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.9053, allocations: 0 / 1.294 GB, free: 14.75 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002988/0.9056, allocations: 47.95 kB / 1.294 GB, free: 14.71 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000258/0.9058, allocations: 82.55 kB / 1.295 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.647e-05/0.9059, allocations: 8 kB / 1.295 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.877e-06/0.9059, allocations: 4 kB / 1.295 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.9059, allocations: 0 / 1.295 GB, free: 14.61 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001003/0.9069, allocations: 0.5486 MB / 1.295 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002358/0.9071, allocations: 144.8 kB / 1.295 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.834e-05/0.9072, allocations: 4 kB / 1.295 GB, free: 13.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002407/0.9074, allocations: 23.97 kB / 1.295 GB, free: 13.84 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.366e-05/0.9075, allocations: 27.84 kB / 1.295 GB, free: 13.81 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.888e-05/0.9075, allocations: 8 kB / 1.295 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0002974/0.9078, allocations: 231.2 kB / 1.296 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9078, allocations: 8 kB / 1.296 GB, free: 13.57 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0004885/0.9083, allocations: 88 kB / 1.296 GB, free: 13.48 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.0001964/0.9085, allocations: 99.78 kB / 1.296 GB, free: 13.38 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00117/0.9097, allocations: 0.6113 MB / 1.296 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.9097, allocations: 0 / 1.296 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0006513/0.9103, allocations: 421.6 kB / 1.297 GB, free: 12.22 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000763/0.9111, allocations: 133.8 kB / 1.297 GB, free: 12.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001503/0.9126, allocations: 0.7339 MB / 1.298 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006358/0.9132, allocations: 0.8234 MB / 1.298 GB, free: 10.48 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002735/0.9135, allocations: 91.33 kB / 1.298 GB, free: 10.38 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.282e-05/0.9136, allocations: 27.44 kB / 1.298 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of SimCode: time 8.42e-07/0.9136, allocations: 0 / 1.298 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of Templates: time 0.01166/0.9253, allocations: 4.895 MB / 1.303 GB, free: 5.527 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 cvode -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.839406262151897]