Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.001547/0.001547, allocations: 114.4 kB / 17.08 MB, free: 5.832 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.001881/0.001881, allocations: 193.2 kB / 20.03 MB, free: 2.945 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.544/1.544, allocations: 222.9 MB / 245.7 MB, free: 4.219 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.802/3.802, allocations: 489.3 MB / 0.7687 GB, free: 3.754 MB / 0.6075 GB " [Timeout remaining time 175] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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.TestImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") translateModel(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Z1.i.1.|Z1.i.2.|Z2.i.1.|Z2.i.2.|Z3.i.1.|Z3.i.2.|Z4.i.1.|Z4.i.2.|Z5.i.1.|Z5.i.2.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 67.89 kB / 1.103 GB, free: 0.7773 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.185/1.187, allocations: 163.8 MB / 1.263 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.006786/1.194, allocations: 4.861 MB / 1.267 GB, free: 4.621 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.004424/1.198, allocations: 2.451 MB / 1.27 GB, free: 2.945 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005884/1.199, allocations: 23.16 kB / 1.27 GB, free: 2.934 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001259/1.2, allocations: 399 kB / 1.27 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001388/1.202, allocations: 439.8 kB / 1.271 GB, free: 2.445 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001105/1.203, allocations: 382.9 kB / 1.271 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.001305/1.204, allocations: 0.9179 MB / 1.272 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006276/1.205, allocations: 348.9 kB / 1.272 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005838/1.205, allocations: 346.6 kB / 1.272 GB, free: 1.531 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005103/1.206, allocations: 344.3 kB / 1.273 GB, free: 1.383 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 8.64e-05/1.206, allocations: 38 kB / 1.273 GB, free: 1.383 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009376/1.207, allocations: 395.2 kB / 1.273 GB, free: 1.254 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002168/1.207, allocations: 194.3 kB / 1.273 GB, free: 1.16 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.000327/1.207, allocations: 317.5 kB / 1.274 GB, free: 0.9727 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.001171/1.209, allocations: 0.885 MB / 1.275 GB, free: 0.6562 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/1.209, allocations: 2.969 kB / 1.275 GB, free: 0.6562 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.793e-06/1.209, allocations: 0 / 1.275 GB, free: 0.6562 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.694e-05/1.209, allocations: 0 / 1.275 GB, free: 0.6562 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.001354/1.21, allocations: 0.9597 MB / 1.275 GB, free: 15.93 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.429e-05/1.21, allocations: 9.281 kB / 1.275 GB, free: 15.93 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001291/1.211, allocations: 202.7 kB / 1.276 GB, free: 15.89 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008908/1.212, allocations: 0.5361 MB / 1.276 GB, free: 15.53 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.103e-05/1.212, allocations: 35.52 kB / 1.276 GB, free: 15.52 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.901e-05/1.212, allocations: 49.39 kB / 1.276 GB, free: 15.5 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001305/1.214, allocations: 0.8464 MB / 1.277 GB, free: 14.91 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.817e-05/1.214, allocations: 7.938 kB / 1.277 GB, free: 14.9 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.874e-05/1.214, allocations: 24.12 kB / 1.277 GB, free: 14.89 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001148/1.214, allocations: 65.34 kB / 1.277 GB, free: 14.88 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009681/1.215, allocations: 0.5693 MB / 1.278 GB, free: 14.67 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005333/1.22, allocations: 5.657 MB / 1.283 GB, free: 9.543 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006948/1.221, allocations: 461.1 kB / 1.284 GB, free: 9.367 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003258/1.221, allocations: 221.7 kB / 1.284 GB, free: 9.285 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 3.341e-05/1.221, allocations: 4.094 kB / 1.284 GB, free: 9.285 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.844e-05/1.221, allocations: 40.59 kB / 1.284 GB, free: 9.238 MB / 1.014 GB Notification: Performance of pre-optimization done (n=32): time 2.505e-06/1.221, allocations: 0 / 1.284 GB, free: 9.238 MB / 1.014 GB Notification: Performance of matching and sorting (n=33): time 0.00296/1.224, allocations: 1.501 MB / 1.285 GB, free: 8.305 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/1.224, allocations: 54.45 kB / 1.286 GB, free: 8.242 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000587/1.225, allocations: 0.4929 MB / 1.286 GB, free: 8.008 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 4.455e-05/1.225, allocations: 31.53 kB / 1.286 GB, free: 7.973 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002975/1.225, allocations: 361.6 kB / 1.286 GB, free: 7.68 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001165/1.225, allocations: 122.3 kB / 1.286 GB, free: 7.586 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001756/1.226, allocations: 120.8 kB / 1.287 GB, free: 7.516 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.000197/1.226, allocations: 367.4 kB / 1.287 GB, free: 7.176 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003054/1.226, allocations: 195.7 kB / 1.287 GB, free: 7.117 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005175/1.227, allocations: 448.7 kB / 1.288 GB, free: 6.719 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009458/1.228, allocations: 0.6963 MB / 1.288 GB, free: 6.184 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/1.228, allocations: 2.188 kB / 1.288 GB, free: 6.184 MB / 1.014 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001471/1.229, allocations: 0.8052 MB / 1.289 GB, free: 5.828 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 2.601e-05/1.229, allocations: 8.781 kB / 1.289 GB, free: 5.828 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.633e-05/1.229, allocations: 13.09 kB / 1.289 GB, free: 5.824 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005481/1.23, allocations: 152 kB / 1.289 GB, free: 5.758 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004819/1.23, allocations: 124.9 kB / 1.289 GB, free: 5.742 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003936/1.234, allocations: 4.358 MB / 1.294 GB, free: 1.457 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005057/1.235, allocations: 33.16 kB / 1.294 GB, free: 1.449 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.857e-05/1.235, allocations: 27.97 kB / 1.294 GB, free: 1.445 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (66): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003423/1.235, allocations: 220.1 kB / 1.294 GB, free: 1.273 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001201/1.235, allocations: 70.78 kB / 1.294 GB, free: 1.234 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001175/1.236, allocations: 0.5948 MB / 1.294 GB, free: 0.957 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/1.236, allocations: 2.812 kB / 1.294 GB, free: 0.957 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/1.236, allocations: 2.875 kB / 1.294 GB, free: 0.957 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/1.236, allocations: 1.969 kB / 1.294 GB, free: 0.957 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002159/1.239, allocations: 1.257 MB / 1.296 GB, free: 252 kB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.424e-06/1.239, allocations: 2.312 kB / 1.296 GB, free: 252 kB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003107/1.239, allocations: 54.64 kB / 1.296 GB, free: 248 kB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005038/1.239, allocations: 143.4 kB / 1.296 GB, free: 180 kB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.553e-05/1.239, allocations: 11.59 kB / 1.296 GB, free: 172 kB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004026/1.244, allocations: 4.338 MB / 1.3 GB, free: 11.89 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.42e-06/1.244, allocations: 6.047 kB / 1.3 GB, free: 11.88 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001367/1.245, allocations: 0.7164 MB / 1.301 GB, free: 11.46 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003053/1.245, allocations: 173.6 kB / 1.301 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.66e-05/1.245, allocations: 12.72 kB / 1.301 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002757/1.246, allocations: 22.8 kB / 1.301 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/1.246, allocations: 35.62 kB / 1.301 GB, free: 11.29 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.401e-05/1.246, allocations: 8.953 kB / 1.301 GB, free: 11.29 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0004927/1.246, allocations: 333.1 kB / 1.301 GB, free: 11.14 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.4e-07/1.246, allocations: 0 / 1.301 GB, free: 11.14 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000803/1.247, allocations: 138.9 kB / 1.302 GB, free: 11.12 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (29): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001867/1.247, allocations: 116.1 kB / 1.302 GB, free: 11.02 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001756/1.249, allocations: 1.034 MB / 1.303 GB, free: 10.3 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 9.888e-06/1.249, allocations: 0 / 1.303 GB, free: 10.3 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001013/1.25, allocations: 0.743 MB / 1.303 GB, free: 9.684 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001056/1.251, allocations: 202.1 kB / 1.304 GB, free: 9.617 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/1.253, allocations: 1.094 MB / 1.305 GB, free: 8.973 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000628/1.254, allocations: 0.9097 MB / 1.306 GB, free: 8.25 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001257/1.254, allocations: 44.19 kB / 1.306 GB, free: 8.242 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/1.254, allocations: 0 / 1.306 GB, free: 8.242 MB / 1.029 GB Notification: Performance of Templates: time 0.0294/1.283, allocations: 18.04 MB / 1.323 GB, free: 5.164 MB / 1.029 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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: 15.934982843929902]