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.0008838/0.0008838, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.000913/0.000913, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8812/0.8812, allocations: 177.1 MB / 203.5 MB, free: 5.746 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.622/1.622, allocations: 359 MB / 0.6044 GB, free: 11.12 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.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 1.533e-06/1.533e-06, allocations: 0 / 0.9517 GB, free: 3.031 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.879e-05/2.032e-05, allocations: 2.281 kB / 0.9517 GB, free: 3.027 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.003242/0.003262, allocations: 3.595 MB / 0.9552 GB, free: 15.41 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.001818/0.00508, allocations: 1.746 MB / 0.9569 GB, free: 13.65 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001655/0.005246, allocations: 23.75 kB / 0.957 GB, free: 13.63 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0008061/0.006052, allocations: 266.5 kB / 0.9572 GB, free: 13.37 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.0006119/0.006664, allocations: 326.1 kB / 0.9575 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004678/0.007132, allocations: 247.9 kB / 0.9578 GB, free: 12.8 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.0005413/0.007673, allocations: 0.6283 MB / 0.9584 GB, free: 12.17 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003963/0.008069, allocations: 230.5 kB / 0.9586 GB, free: 11.94 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005883/0.008657, allocations: 343.1 kB / 0.9589 GB, free: 11.61 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002565/0.008914, allocations: 203.4 kB / 0.9591 GB, free: 11.41 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 3.541e-05/0.008949, allocations: 24 kB / 0.9591 GB, free: 11.38 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002617/0.009211, allocations: 255.3 kB / 0.9594 GB, free: 11.13 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.009316, allocations: 127.6 kB / 0.9595 GB, free: 11.01 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.009423, allocations: 143.6 kB / 0.9596 GB, free: 10.87 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0005327/0.009956, allocations: 0.6035 MB / 0.9602 GB, free: 10.26 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.009958, allocations: 0 / 0.9602 GB, free: 10.26 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.362e-06/0.00996, allocations: 0 / 0.9602 GB, free: 10.26 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.113e-06/0.009967, allocations: 0 / 0.9602 GB, free: 10.26 MB / 0.9167 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.000801/0.01077, allocations: 0.6759 MB / 0.9609 GB, free: 9.555 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.0108, allocations: 8.031 kB / 0.9609 GB, free: 9.547 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004748/0.01128, allocations: 136.5 kB / 0.961 GB, free: 9.414 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003622/0.01164, allocations: 344.6 kB / 0.9614 GB, free: 9.051 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.752e-05/0.01166, allocations: 21.03 kB / 0.9614 GB, free: 9.031 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.18e-05/0.0117, allocations: 32.36 kB / 0.9614 GB, free: 9 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005447/0.01224, allocations: 0.6272 MB / 0.962 GB, free: 8.285 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.574e-05/0.01226, allocations: 7.938 kB / 0.962 GB, free: 8.277 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.468e-05/0.01228, allocations: 12 kB / 0.962 GB, free: 8.266 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.083e-05/0.01232, allocations: 44.62 kB / 0.9621 GB, free: 8.223 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000417/0.01274, allocations: 406.1 kB / 0.9625 GB, free: 7.824 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001566/0.01431, allocations: 2.679 MB / 0.9651 GB, free: 5.031 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004205/0.01473, allocations: 310.5 kB / 0.9654 GB, free: 4.719 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001723/0.0149, allocations: 160.8 kB / 0.9655 GB, free: 4.559 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.01492, allocations: 4 kB / 0.9655 GB, free: 4.555 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.625e-05/0.01493, allocations: 34.5 kB / 0.9656 GB, free: 4.512 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=26): time 1.293e-06/0.01494, allocations: 3.938 kB / 0.9656 GB, free: 4.508 MB / 0.9167 GB Notification: Performance of matching and sorting (n=27): time 0.001311/0.01625, allocations: 0.8409 MB / 0.9664 GB, free: 3.652 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.982e-05/0.01628, allocations: 55.64 kB / 0.9664 GB, free: 3.586 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002116/0.01649, allocations: 337.5 kB / 0.9668 GB, free: 3.242 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.01651, allocations: 29.7 kB / 0.9668 GB, free: 3.207 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.01662, allocations: 248.1 kB / 0.967 GB, free: 2.957 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 4.861e-05/0.01667, allocations: 99.16 kB / 0.9671 GB, free: 2.859 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.14e-05/0.01674, allocations: 78.11 kB / 0.9672 GB, free: 2.777 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.43e-05/0.01682, allocations: 350.8 kB / 0.9675 GB, free: 2.426 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001631/0.01699, allocations: 148.9 kB / 0.9677 GB, free: 2.277 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002147/0.0172, allocations: 297 kB / 0.968 GB, free: 1.926 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004003/0.0176, allocations: 486.5 kB / 0.9684 GB, free: 1.387 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.0176, allocations: 4 kB / 0.9684 GB, free: 1.383 MB / 0.9167 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005613/0.01816, allocations: 0.554 MB / 0.969 GB, free: 0.8125 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.01818, allocations: 8 kB / 0.969 GB, free: 0.8047 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.01819, allocations: 4 kB / 0.969 GB, free: 0.8008 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001787/0.01837, allocations: 82.52 kB / 0.9691 GB, free: 0.7109 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/0.01854, allocations: 92.34 kB / 0.9692 GB, free: 0.6211 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.01855, allocations: 12 kB / 0.9692 GB, free: 0.6094 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001223/0.01867, allocations: 31.97 kB / 0.9692 GB, free: 0.5781 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.01869, allocations: 16 kB / 0.9692 GB, free: 0.5625 MB / 0.9167 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.0001249/0.01881, allocations: 185.6 kB / 0.9694 GB, free: 380 kB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.528e-05/0.01885, allocations: 39.77 kB / 0.9694 GB, free: 340 kB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00051/0.01936, allocations: 460.2 kB / 0.9699 GB, free: 15.87 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.437e-06/0.01936, allocations: 8 kB / 0.9699 GB, free: 15.86 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.01937, allocations: 0 / 0.9699 GB, free: 15.86 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.01937, allocations: 7.922 kB / 0.9699 GB, free: 15.85 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007911/0.02016, allocations: 0.8325 MB / 0.9707 GB, free: 14.96 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.02016, allocations: 0 / 0.9707 GB, free: 14.96 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/0.02028, allocations: 51.89 kB / 0.9707 GB, free: 14.91 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001347/0.02041, allocations: 90.59 kB / 0.9708 GB, free: 14.82 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.408e-05/0.02043, allocations: 8 kB / 0.9708 GB, free: 14.81 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.02043, allocations: 3.938 kB / 0.9708 GB, free: 14.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.02043, allocations: 3.938 kB / 0.9708 GB, free: 14.8 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000473/0.0209, allocations: 0.5433 MB / 0.9714 GB, free: 14.22 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 7.791e-05/0.02098, allocations: 63.67 kB / 0.9714 GB, free: 14.16 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.612e-05/0.02101, allocations: 8 kB / 0.9714 GB, free: 14.15 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/0.02111, allocations: 27.97 kB / 0.9715 GB, free: 14.12 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.049e-05/0.02116, allocations: 23.95 kB / 0.9715 GB, free: 14.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.017e-06/0.02117, allocations: 4 kB / 0.9715 GB, free: 14.1 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0001284/0.0213, allocations: 219.2 kB / 0.9717 GB, free: 13.89 MB / 0.9323 GB Notification: Performance of sort global known variables: time 5e-08/0.0213, allocations: 0 / 0.9717 GB, free: 13.89 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0002442/0.02155, allocations: 91.94 kB / 0.9718 GB, free: 13.8 MB / 0.9323 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 9.687e-05/0.02164, allocations: 122.1 kB / 0.9719 GB, free: 13.67 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0004617/0.0221, allocations: 398.1 kB / 0.9723 GB, free: 13.27 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.02211, allocations: 0 / 0.9723 GB, free: 13.27 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0001917/0.0223, allocations: 195.5 kB / 0.9725 GB, free: 13.07 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005557/0.02285, allocations: 125.6 kB / 0.9726 GB, free: 12.95 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007887/0.02364, allocations: 0.7536 MB / 0.9733 GB, free: 12.16 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001345/0.02378, allocations: 224.1 kB / 0.9735 GB, free: 11.93 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.93e-05/0.02385, allocations: 32.5 kB / 0.9736 GB, free: 11.89 MB / 0.9323 GB Notification: Performance of SimCode: time 9.32e-07/0.02385, allocations: 0 / 0.9736 GB, free: 11.89 MB / 0.9323 GB Notification: Performance of Templates: time 0.007441/0.03129, allocations: 9.568 MB / 0.9829 GB, free: 2.355 MB / 0.9323 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=400 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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: 7.231897175312042]