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.001587/0.001587, allocations: 100.8 kB / 19.74 MB, free: 2.07 MB / 14.72 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.002227/0.002227, allocations: 213.4 kB / 23.04 MB, free: 4.863 MB / 14.72 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 1.566/1.566, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.232/3.232, allocations: 0.49 GB / 0.7959 GB, free: 35.51 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",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.1.|Z_L.i.2.|Z_C.i.1.|Z_C.i.2.|Z_R.i.1.|Z_R.i.2.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002078/0.002078, allocations: 70.17 kB / 1.155 GB, free: 25.21 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3921/0.3942, allocations: 176.1 MB / 1.327 GB, free: 0.9688 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005909/0.4001, allocations: 3.623 MB / 1.331 GB, free: 13.33 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003433/0.4035, allocations: 1.773 MB / 1.332 GB, free: 11.55 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002554/0.4038, allocations: 19.81 kB / 1.332 GB, free: 11.53 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0009507/0.4047, allocations: 264 kB / 1.333 GB, free: 11.27 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0007467/0.4055, allocations: 306.5 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006201/0.4061, allocations: 252.7 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007312/0.4068, allocations: 0.613 MB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004397/0.4073, allocations: 238.4 kB / 1.334 GB, free: 9.871 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004216/0.4077, allocations: 247.1 kB / 1.334 GB, free: 9.629 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000352/0.408, allocations: 227 kB / 1.334 GB, free: 9.406 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 4.964e-05/0.4081, allocations: 24 kB / 1.335 GB, free: 9.383 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004778/0.4086, allocations: 247.4 kB / 1.335 GB, free: 9.141 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001734/0.4087, allocations: 127.6 kB / 1.335 GB, free: 9.016 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000187/0.4089, allocations: 175.1 kB / 1.335 GB, free: 8.844 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007536/0.4097, allocations: 0.5992 MB / 1.336 GB, free: 8.242 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.4097, allocations: 0 / 1.336 GB, free: 8.242 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.713e-06/0.4097, allocations: 0 / 1.336 GB, free: 8.242 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.116e-06/0.4097, allocations: 0 / 1.336 GB, free: 8.242 MB / 1.029 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.001231/0.4109, allocations: 0.6759 MB / 1.336 GB, free: 7.535 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.411, allocations: 12.03 kB / 1.336 GB, free: 7.523 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008924/0.4119, allocations: 140.5 kB / 1.336 GB, free: 7.387 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005828/0.4124, allocations: 337.4 kB / 1.337 GB, free: 7.031 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.738e-05/0.4125, allocations: 21.03 kB / 1.337 GB, free: 7.012 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.76e-05/0.4125, allocations: 40.25 kB / 1.337 GB, free: 6.973 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000964/0.4135, allocations: 0.6342 MB / 1.337 GB, free: 6.25 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.4135, allocations: 3.938 kB / 1.337 GB, free: 6.246 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.84e-05/0.4136, allocations: 12 kB / 1.337 GB, free: 6.234 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-05/0.4136, allocations: 44.62 kB / 1.337 GB, free: 6.191 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007294/0.4144, allocations: 406.1 kB / 1.338 GB, free: 5.789 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002831/0.4172, allocations: 2.679 MB / 1.34 GB, free: 2.996 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007244/0.4179, allocations: 326.3 kB / 1.341 GB, free: 2.668 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000302/0.4182, allocations: 160.8 kB / 1.341 GB, free: 2.508 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.553e-05/0.4182, allocations: 7.938 kB / 1.341 GB, free: 2.5 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.4183, allocations: 34.56 kB / 1.341 GB, free: 2.457 MB / 1.029 GB Notification: Performance of pre-optimization done (n=26): time 2.455e-06/0.4183, allocations: 0 / 1.341 GB, free: 2.457 MB / 1.029 GB Notification: Performance of matching and sorting (n=27): time 0.002083/0.4204, allocations: 0.841 MB / 1.342 GB, free: 1.602 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.435e-05/0.4204, allocations: 55.64 kB / 1.342 GB, free: 1.535 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003775/0.4208, allocations: 333.5 kB / 1.342 GB, free: 1.199 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.4208, allocations: 29.7 kB / 1.342 GB, free: 1.164 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002032/0.421, allocations: 252 kB / 1.342 GB, free: 0.9141 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001069/0.4211, allocations: 107.1 kB / 1.343 GB, free: 0.8086 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000126/0.4212, allocations: 70.09 kB / 1.343 GB, free: 0.7305 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001772/0.4214, allocations: 354.8 kB / 1.343 GB, free: 384 kB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002834/0.4217, allocations: 144.8 kB / 1.343 GB, free: 240 kB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004367/0.4221, allocations: 294.5 kB / 1.343 GB, free: 15.88 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007172/0.4229, allocations: 478.6 kB / 1.344 GB, free: 15.35 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4229, allocations: 0 / 1.344 GB, free: 15.35 MB / 1.045 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001033/0.4239, allocations: 0.5619 MB / 1.344 GB, free: 14.77 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.32e-05/0.4239, allocations: 7.984 kB / 1.344 GB, free: 14.77 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.368e-05/0.4239, allocations: 8 kB / 1.344 GB, free: 14.76 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003193/0.4243, allocations: 86.52 kB / 1.344 GB, free: 14.66 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000374/0.4246, allocations: 88.28 kB / 1.345 GB, free: 14.58 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/0.4246, allocations: 8 kB / 1.345 GB, free: 14.57 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002668/0.4249, allocations: 31.97 kB / 1.345 GB, free: 14.54 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.246e-05/0.4249, allocations: 19.94 kB / 1.345 GB, free: 14.52 MB / 1.045 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.0002356/0.4252, allocations: 178.2 kB / 1.345 GB, free: 14.34 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.597e-05/0.4253, allocations: 39.77 kB / 1.345 GB, free: 14.3 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009411/0.4262, allocations: 460.2 kB / 1.345 GB, free: 13.83 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.919e-06/0.4262, allocations: 8 kB / 1.345 GB, free: 13.82 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.4262, allocations: 4 kB / 1.345 GB, free: 13.82 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.4262, allocations: 4 kB / 1.345 GB, free: 13.81 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001446/0.4277, allocations: 0.8372 MB / 1.346 GB, free: 12.92 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.4277, allocations: 4 kB / 1.346 GB, free: 12.92 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002361/0.4279, allocations: 55.89 kB / 1.346 GB, free: 12.86 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002486/0.4282, allocations: 82.55 kB / 1.346 GB, free: 12.77 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.4282, allocations: 8 kB / 1.346 GB, free: 12.77 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.616e-06/0.4282, allocations: 11.86 kB / 1.346 GB, free: 12.75 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.4282, allocations: 4 kB / 1.346 GB, free: 12.75 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008791/0.4291, allocations: 0.5355 MB / 1.347 GB, free: 12.18 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001413/0.4292, allocations: 67.72 kB / 1.347 GB, free: 12.11 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.32e-05/0.4292, allocations: 4 kB / 1.347 GB, free: 12.11 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/0.4295, allocations: 23.97 kB / 1.347 GB, free: 12.09 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.469e-05/0.4295, allocations: 27.89 kB / 1.347 GB, free: 12.06 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.192e-05/0.4296, allocations: 11.98 kB / 1.347 GB, free: 12.05 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002575/0.4298, allocations: 227.1 kB / 1.347 GB, free: 11.83 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.4298, allocations: 4 kB / 1.347 GB, free: 11.82 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004354/0.4303, allocations: 84 kB / 1.347 GB, free: 11.74 MB / 1.045 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.0001489/0.4304, allocations: 103.2 kB / 1.347 GB, free: 11.63 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0008252/0.4312, allocations: 402 kB / 1.348 GB, free: 11.23 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.4312, allocations: 0 / 1.348 GB, free: 11.23 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0004389/0.4317, allocations: 191.6 kB / 1.348 GB, free: 11.03 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007482/0.4324, allocations: 132.6 kB / 1.348 GB, free: 10.9 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.4338, allocations: 0.7676 MB / 1.349 GB, free: 10.09 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002384/0.434, allocations: 220.1 kB / 1.349 GB, free: 9.859 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001095/0.4341, allocations: 31.42 kB / 1.349 GB, free: 9.828 MB / 1.045 GB Notification: Performance of SimCode: time 6.52e-07/0.4341, allocations: 0 / 1.349 GB, free: 9.828 MB / 1.045 GB Notification: Performance of Templates: time 0.01424/0.4484, allocations: 9.578 MB / 1.358 GB, free: 284 kB / 1.045 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 13.287190892966464]