Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001402/0.001402, allocations: 113.1 kB / 17.6 MB, free: 4.703 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.00141/0.00141, allocations: 186.7 kB / 20.78 MB, free: 1.547 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.542/1.542, allocations: 225.6 MB / 249.4 MB, free: 3.156 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.8/2.8, allocations: 443.4 MB / 0.7304 GB, free: 13.91 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002051/0.002051, allocations: 67.89 kB / 1.059 GB, free: 404 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3813/0.3834, allocations: 160.7 MB / 1.216 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.006391/0.3898, allocations: 3.859 MB / 1.22 GB, free: 11.48 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003627/0.3934, allocations: 1.847 MB / 1.222 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002831/0.3937, allocations: 15.88 kB / 1.222 GB, free: 9.605 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0009812/0.3947, allocations: 274.6 kB / 1.222 GB, free: 9.336 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0007972/0.3955, allocations: 306.5 kB / 1.222 GB, free: 9.035 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006755/0.3961, allocations: 263.4 kB / 1.223 GB, free: 8.777 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0007814/0.3969, allocations: 0.6049 MB / 1.223 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004234/0.3973, allocations: 194.6 kB / 1.223 GB, free: 7.977 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003571/0.3977, allocations: 235.1 kB / 1.224 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003568/0.3981, allocations: 246.9 kB / 1.224 GB, free: 7.504 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 6.089e-05/0.3981, allocations: 28 kB / 1.224 GB, free: 7.477 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005564/0.3987, allocations: 283.4 kB / 1.224 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001476/0.3988, allocations: 119.6 kB / 1.224 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0002353/0.3991, allocations: 210.9 kB / 1.224 GB, free: 6.875 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0008469/0.3999, allocations: 0.5914 MB / 1.225 GB, free: 6.281 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3999, allocations: 0 / 1.225 GB, free: 6.281 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.463e-06/0.3999, allocations: 3.938 kB / 1.225 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.3999, allocations: 0 / 1.225 GB, free: 6.277 MB / 0.9669 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.001345/0.4013, allocations: 0.7512 MB / 1.226 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.4013, allocations: 12.03 kB / 1.226 GB, free: 5.465 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008782/0.4022, allocations: 132.5 kB / 1.226 GB, free: 5.336 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006316/0.4028, allocations: 411.9 kB / 1.226 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.371e-05/0.4028, allocations: 29.02 kB / 1.226 GB, free: 4.863 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.989e-05/0.4029, allocations: 28.31 kB / 1.226 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009082/0.4038, allocations: 0.5549 MB / 1.227 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.94e-05/0.4038, allocations: 4 kB / 1.227 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.202e-05/0.4039, allocations: 15.98 kB / 1.227 GB, free: 4.191 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.246e-05/0.4039, allocations: 44.53 kB / 1.227 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007614/0.4047, allocations: 409.7 kB / 1.227 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003507/0.4082, allocations: 3.338 MB / 1.231 GB, free: 164 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007587/0.409, allocations: 313.1 kB / 1.231 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003157/0.4093, allocations: 160.8 kB / 1.231 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.897e-05/0.4093, allocations: 4 kB / 1.231 GB, free: 15.68 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.298e-05/0.4094, allocations: 38.5 kB / 1.231 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=26): time 2.344e-06/0.4094, allocations: 0 / 1.231 GB, free: 15.64 MB / 0.9825 GB Notification: Performance of matching and sorting (n=27): time 0.002335/0.4117, allocations: 1.062 MB / 1.232 GB, free: 14.5 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.4117, allocations: 51.64 kB / 1.232 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004551/0.4122, allocations: 341.6 kB / 1.232 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.919e-05/0.4122, allocations: 29.7 kB / 1.232 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002111/0.4124, allocations: 260 kB / 1.233 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001027/0.4125, allocations: 99.17 kB / 1.233 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001379/0.4127, allocations: 78.09 kB / 1.233 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001869/0.4129, allocations: 346.8 kB / 1.233 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003053/0.4132, allocations: 148.8 kB / 1.233 GB, free: 13.13 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004327/0.4136, allocations: 290.5 kB / 1.234 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007749/0.4144, allocations: 490.2 kB / 1.234 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.4144, allocations: 3.938 kB / 1.234 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001159/0.4155, allocations: 0.5581 MB / 1.235 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.832e-05/0.4156, allocations: 8.625 kB / 1.235 GB, free: 11.65 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.4156, allocations: 4 kB / 1.235 GB, free: 11.64 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003496/0.4159, allocations: 94.44 kB / 1.235 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003828/0.4163, allocations: 83.89 kB / 1.235 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.916e-05/0.4163, allocations: 11.92 kB / 1.235 GB, free: 11.45 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003115/0.4166, allocations: 35.91 kB / 1.235 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.189e-05/0.4167, allocations: 16 kB / 1.235 GB, free: 11.4 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.0002286/0.4169, allocations: 177.7 kB / 1.235 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.986e-05/0.417, allocations: 39.77 kB / 1.235 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009452/0.4179, allocations: 464.2 kB / 1.236 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.717e-06/0.4179, allocations: 7.984 kB / 1.236 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/0.4179, allocations: 4 kB / 1.236 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.4179, allocations: 4 kB / 1.236 GB, free: 10.69 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001548/0.4195, allocations: 0.9653 MB / 1.236 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4195, allocations: 0 / 1.236 GB, free: 9.652 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002284/0.4197, allocations: 48.06 kB / 1.237 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002681/0.42, allocations: 90.44 kB / 1.237 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.11e-05/0.42, allocations: 4 kB / 1.237 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.42, allocations: 4 kB / 1.237 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.42, allocations: 0 / 1.237 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008739/0.4209, allocations: 0.5392 MB / 1.237 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001633/0.4211, allocations: 140.8 kB / 1.237 GB, free: 8.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.146e-05/0.4211, allocations: 8 kB / 1.237 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002151/0.4213, allocations: 23.97 kB / 1.237 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.318e-05/0.4214, allocations: 27.91 kB / 1.237 GB, free: 8.711 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.618e-05/0.4214, allocations: 4 kB / 1.237 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0002624/0.4217, allocations: 247.1 kB / 1.238 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4217, allocations: 0 / 1.238 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004236/0.4221, allocations: 84 kB / 1.238 GB, free: 8.387 MB / 0.9825 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.0001624/0.4223, allocations: 111.2 kB / 1.238 GB, free: 8.266 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001002/0.4233, allocations: 0.6057 MB / 1.238 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.175e-06/0.4233, allocations: 0 / 1.238 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005401/0.4238, allocations: 425.8 kB / 1.239 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007089/0.4245, allocations: 132.3 kB / 1.239 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.426, allocations: 0.7417 MB / 1.24 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005722/0.4266, allocations: 0.8234 MB / 1.24 GB, free: 5.367 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0003184/0.4269, allocations: 75.36 kB / 1.24 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.427, allocations: 35.42 kB / 1.241 GB, free: 5.258 MB / 0.9825 GB Notification: Performance of SimCode: time 1.523e-06/0.427, allocations: 4 kB / 1.241 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of Templates: time 0.0112/0.4382, allocations: 4.876 MB / 1.245 GB, free: 452 kB / 0.9825 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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: 9.078401260077953]