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.001581/0.001581, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001743/0.001743, allocations: 209.8 kB / 22.99 MB, free: 4.957 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.498/1.498, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.297/3.297, allocations: 0.49 GB / 0.7959 GB, free: 35.54 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.00206/0.00206, allocations: 68.55 kB / 1.155 GB, free: 25.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3762, allocations: 176.1 MB / 1.327 GB, free: 1.004 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.005967/0.3822, allocations: 3.617 MB / 1.331 GB, free: 13.37 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00333/0.3855, allocations: 1.766 MB / 1.332 GB, free: 11.6 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001837/0.3857, allocations: 23.75 kB / 1.332 GB, free: 11.57 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0009451/0.3866, allocations: 270.6 kB / 1.333 GB, free: 11.31 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0007215/0.3874, allocations: 306.4 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005934/0.388, allocations: 252.5 kB / 1.333 GB, free: 10.76 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007732/0.3887, allocations: 0.6091 MB / 1.334 GB, free: 10.15 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004311/0.3892, allocations: 238.6 kB / 1.334 GB, free: 9.91 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004174/0.3896, allocations: 255 kB / 1.334 GB, free: 9.66 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000368/0.3899, allocations: 246.9 kB / 1.334 GB, free: 9.418 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.136e-05/0.39, allocations: 28 kB / 1.334 GB, free: 9.391 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004354/0.3904, allocations: 243.4 kB / 1.335 GB, free: 9.152 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001856/0.3906, allocations: 119.6 kB / 1.335 GB, free: 9.035 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001954/0.3908, allocations: 175.1 kB / 1.335 GB, free: 8.863 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007227/0.3915, allocations: 0.5992 MB / 1.336 GB, free: 8.262 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.3915, allocations: 0 / 1.336 GB, free: 8.262 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3915, allocations: 0 / 1.336 GB, free: 8.262 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.506e-06/0.3915, allocations: 0 / 1.336 GB, free: 8.262 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.001297/0.3928, allocations: 0.672 MB / 1.336 GB, free: 7.559 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.3929, allocations: 16.03 kB / 1.336 GB, free: 7.543 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008626/0.3937, allocations: 136.5 kB / 1.336 GB, free: 7.41 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006873/0.3944, allocations: 337.3 kB / 1.337 GB, free: 7.055 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.68e-05/0.3945, allocations: 21.03 kB / 1.337 GB, free: 7.035 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.108e-05/0.3945, allocations: 40.3 kB / 1.337 GB, free: 6.996 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00105/0.3956, allocations: 0.6303 MB / 1.337 GB, free: 6.273 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.3956, allocations: 8 kB / 1.337 GB, free: 6.266 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.709e-05/0.3956, allocations: 12 kB / 1.337 GB, free: 6.254 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.929e-05/0.3957, allocations: 44.56 kB / 1.337 GB, free: 6.211 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007542/0.3965, allocations: 402.1 kB / 1.338 GB, free: 5.816 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003147/0.3996, allocations: 2.691 MB / 1.34 GB, free: 3.012 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006915/0.4003, allocations: 310.3 kB / 1.341 GB, free: 2.699 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003735/0.4007, allocations: 174.4 kB / 1.341 GB, free: 2.527 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.4007, allocations: 0 / 1.341 GB, free: 2.527 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.633e-05/0.4007, allocations: 38.55 kB / 1.341 GB, free: 2.48 MB / 1.029 GB Notification: Performance of pre-optimization done (n=26): time 1.343e-06/0.4007, allocations: 0 / 1.341 GB, free: 2.48 MB / 1.029 GB Notification: Performance of matching and sorting (n=27): time 0.002259/0.403, allocations: 0.8365 MB / 1.342 GB, free: 1.629 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.425e-05/0.403, allocations: 55.64 kB / 1.342 GB, free: 1.562 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000356/0.4034, allocations: 333.5 kB / 1.342 GB, free: 1.227 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.256e-05/0.4034, allocations: 29.7 kB / 1.342 GB, free: 1.191 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001932/0.4036, allocations: 256 kB / 1.342 GB, free: 0.9375 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.387e-05/0.4037, allocations: 99.16 kB / 1.342 GB, free: 0.8398 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.4038, allocations: 78.09 kB / 1.343 GB, free: 0.7539 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001781/0.404, allocations: 346.8 kB / 1.343 GB, free: 416 kB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002743/0.4043, allocations: 148.8 kB / 1.343 GB, free: 268 kB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004137/0.4047, allocations: 291.8 kB / 1.343 GB, free: 15.91 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007385/0.4055, allocations: 483.2 kB / 1.344 GB, free: 15.38 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.4055, allocations: 4 kB / 1.344 GB, free: 15.38 MB / 1.045 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.001052/0.4065, allocations: 0.562 MB / 1.344 GB, free: 14.8 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/0.4065, allocations: 8 kB / 1.344 GB, free: 14.79 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.919e-06/0.4065, allocations: 4 kB / 1.344 GB, free: 14.79 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003592/0.4069, allocations: 86.45 kB / 1.344 GB, free: 14.69 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004075/0.4073, allocations: 87.88 kB / 1.345 GB, free: 14.61 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.612e-05/0.4073, allocations: 12.28 kB / 1.345 GB, free: 14.59 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000251/0.4076, allocations: 31.97 kB / 1.345 GB, free: 14.56 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.311e-05/0.4076, allocations: 19.94 kB / 1.345 GB, free: 14.54 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.0002336/0.4078, allocations: 182.2 kB / 1.345 GB, free: 14.36 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.018e-05/0.4079, allocations: 35.77 kB / 1.345 GB, free: 14.32 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009339/0.4089, allocations: 460 kB / 1.345 GB, free: 13.85 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.4089, allocations: 4 kB / 1.345 GB, free: 13.85 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.72e-06/0.4089, allocations: 4 kB / 1.345 GB, free: 13.84 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.4089, allocations: 0 / 1.345 GB, free: 13.84 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00145/0.4103, allocations: 0.8444 MB / 1.346 GB, free: 12.95 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.4103, allocations: 4 kB / 1.346 GB, free: 12.94 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002503/0.4106, allocations: 55.89 kB / 1.346 GB, free: 12.89 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002476/0.4108, allocations: 82.55 kB / 1.346 GB, free: 12.8 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/0.4108, allocations: 11.98 kB / 1.346 GB, free: 12.79 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.4108, allocations: 4 kB / 1.346 GB, free: 12.78 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.4108, allocations: 0 / 1.346 GB, free: 12.78 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008874/0.4117, allocations: 0.5396 MB / 1.347 GB, free: 12.21 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001519/0.4119, allocations: 63.67 kB / 1.347 GB, free: 12.14 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.202e-05/0.4119, allocations: 11.98 kB / 1.347 GB, free: 12.13 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002172/0.4122, allocations: 15.98 kB / 1.347 GB, free: 12.12 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.312e-05/0.4122, allocations: 23.89 kB / 1.347 GB, free: 12.09 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.812e-05/0.4122, allocations: 19.94 kB / 1.347 GB, free: 12.07 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002275/0.4125, allocations: 223.2 kB / 1.347 GB, free: 11.86 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4125, allocations: 0 / 1.347 GB, free: 11.86 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004044/0.4129, allocations: 84 kB / 1.347 GB, free: 11.78 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.000149/0.413, allocations: 113 kB / 1.347 GB, free: 11.66 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0008724/0.4139, allocations: 402 kB / 1.348 GB, free: 11.26 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.4139, allocations: 0 / 1.348 GB, free: 11.26 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003944/0.4143, allocations: 187.8 kB / 1.348 GB, free: 11.07 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006797/0.415, allocations: 128.5 kB / 1.348 GB, free: 10.94 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/0.4162, allocations: 0.7308 MB / 1.349 GB, free: 10.17 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00023/0.4164, allocations: 224.1 kB / 1.349 GB, free: 9.934 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0002119/0.4166, allocations: 75.3 kB / 1.349 GB, free: 9.855 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.757e-05/0.4167, allocations: 31.38 kB / 1.349 GB, free: 9.824 MB / 1.045 GB Notification: Performance of SimCode: time 3.11e-07/0.4167, allocations: 0 / 1.349 GB, free: 9.824 MB / 1.045 GB Notification: Performance of Templates: time 0.01088/0.4276, allocations: 5.438 MB / 1.354 GB, free: 4.535 MB / 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 -s cvode -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: 9.126323214004515]