Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.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.002317/0.002317, allocations: 83.69 kB / 20.23 MB, free: 4.188 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.002758/0.002758, allocations: 161.3 kB / 23.55 MB, free: 0.875 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 1.578/1.578, allocations: 177.1 MB / 203.9 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 3.015/3.015, allocations: 377.9 MB / 0.6232 GB, free: 8.527 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.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_12_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_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.445e-06/2.445e-06, allocations: 0 / 0.8108 GB, free: 2.117 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.577e-05/3.821e-05, allocations: 5.766 kB / 0.8108 GB, free: 2.113 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.008098/0.008136, allocations: 4.804 MB / 0.8155 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.005178/0.01331, allocations: 2.504 MB / 0.818 GB, free: 10.8 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004051/0.01372, allocations: 35.62 kB / 0.818 GB, free: 10.77 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.001329/0.01505, allocations: 411.5 kB / 0.8184 GB, free: 10.37 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.001032/0.01608, allocations: 485.5 kB / 0.8188 GB, free: 9.895 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008831/0.01696, allocations: 375.5 kB / 0.8192 GB, free: 9.531 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.00114/0.0181, allocations: 0.9447 MB / 0.8201 GB, free: 8.582 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006251/0.01873, allocations: 326.4 kB / 0.8204 GB, free: 8.262 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007142/0.01944, allocations: 486.7 kB / 0.8209 GB, free: 7.785 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005187/0.01996, allocations: 312.6 kB / 0.8212 GB, free: 7.48 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 7.277e-05/0.02003, allocations: 40 kB / 0.8212 GB, free: 7.441 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006875/0.02072, allocations: 363 kB / 0.8216 GB, free: 7.086 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 0.0002263/0.02095, allocations: 191.3 kB / 0.8218 GB, free: 6.898 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0002805/0.02123, allocations: 220 kB / 0.822 GB, free: 6.684 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.001218/0.02245, allocations: 0.8998 MB / 0.8229 GB, free: 5.781 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.02245, allocations: 0 / 0.8229 GB, free: 5.781 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.714e-06/0.02245, allocations: 0.5625 kB / 0.8229 GB, free: 5.781 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 1.268e-05/0.02247, allocations: 1.375 kB / 0.8229 GB, free: 5.781 MB / 0.7761 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.001608/0.02407, allocations: 1.015 MB / 0.8238 GB, free: 4.73 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.02411, allocations: 12.03 kB / 0.8239 GB, free: 4.719 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001342/0.02545, allocations: 280.5 kB / 0.8241 GB, free: 4.445 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008924/0.02635, allocations: 0.4961 MB / 0.8246 GB, free: 3.934 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.575e-05/0.02639, allocations: 33.36 kB / 0.8246 GB, free: 3.902 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.581e-05/0.02648, allocations: 49.36 kB / 0.8247 GB, free: 3.855 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.02767, allocations: 0.9003 MB / 0.8256 GB, free: 2.75 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.007e-05/0.0277, allocations: 8.844 kB / 0.8256 GB, free: 2.742 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.211e-05/0.02776, allocations: 20.38 kB / 0.8256 GB, free: 2.723 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001086/0.02786, allocations: 70.73 kB / 0.8257 GB, free: 2.652 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000661/0.02852, allocations: 343.3 kB / 0.826 GB, free: 2.316 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005756/0.03428, allocations: 6.416 MB / 0.8323 GB, free: 11.66 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005143/0.03479, allocations: 254.9 kB / 0.8325 GB, free: 11.4 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002015/0.035, allocations: 97.64 kB / 0.8326 GB, free: 11.3 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 3.912e-05/0.03504, allocations: 12 kB / 0.8326 GB, free: 11.29 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.03507, allocations: 37.38 kB / 0.8326 GB, free: 11.25 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=32): time 1.804e-06/0.03507, allocations: 0 / 0.8326 GB, free: 11.25 MB / 0.7917 GB Notification: Performance of matching and sorting (n=33): time 0.002158/0.03723, allocations: 0.735 MB / 0.8334 GB, free: 10.49 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.939e-05/0.03729, allocations: 59.67 kB / 0.8334 GB, free: 10.42 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006352/0.03792, allocations: 0.5771 MB / 0.834 GB, free: 9.824 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 3.623e-05/0.03796, allocations: 34.58 kB / 0.834 GB, free: 9.785 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004365/0.0384, allocations: 427.1 kB / 0.8344 GB, free: 9.359 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001305/0.03853, allocations: 131.7 kB / 0.8345 GB, free: 9.23 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001845/0.03871, allocations: 119.9 kB / 0.8347 GB, free: 9.105 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0003277/0.03904, allocations: 0.5586 MB / 0.8352 GB, free: 8.535 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002219/0.03926, allocations: 113.2 kB / 0.8353 GB, free: 8.426 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005609/0.03982, allocations: 484.4 kB / 0.8358 GB, free: 7.793 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008309/0.04065, allocations: 0.6331 MB / 0.8364 GB, free: 7 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.04066, allocations: 4 kB / 0.8364 GB, free: 6.996 MB / 0.7917 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0012/0.04186, allocations: 0.6481 MB / 0.837 GB, free: 6.32 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 2.225e-05/0.04188, allocations: 8 kB / 0.837 GB, free: 6.312 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/0.0419, allocations: 12.09 kB / 0.837 GB, free: 6.301 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000534/0.04243, allocations: 142.3 kB / 0.8372 GB, free: 6.141 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004724/0.0429, allocations: 123.8 kB / 0.8373 GB, free: 6.02 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00478/0.04768, allocations: 5.327 MB / 0.8425 GB, free: 336 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004155/0.0481, allocations: 35.97 kB / 0.8425 GB, free: 300 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.994e-05/0.04816, allocations: 28 kB / 0.8426 GB, free: 272 kB / 0.7917 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.0003022/0.04846, allocations: 224.2 kB / 0.8428 GB, free: 36 kB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001319/0.04859, allocations: 71.77 kB / 0.8428 GB, free: 15.96 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009319/0.04953, allocations: 409.1 kB / 0.8432 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.04953, allocations: 4 kB / 0.8432 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.04954, allocations: 3.938 kB / 0.8432 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.04954, allocations: 0 / 0.8432 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001814/0.05135, allocations: 0.9941 MB / 0.8442 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.05136, allocations: 0 / 0.8442 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002665/0.05162, allocations: 60.11 kB / 0.8443 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004252/0.05205, allocations: 134.3 kB / 0.8444 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.846e-05/0.05209, allocations: 8 kB / 0.8444 GB, free: 14.23 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00467/0.05676, allocations: 5.318 MB / 0.8496 GB, free: 8.539 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.05676, allocations: 0 / 0.8496 GB, free: 8.539 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.05778, allocations: 0.5931 MB / 0.8502 GB, free: 7.875 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002388/0.05802, allocations: 79.59 kB / 0.8503 GB, free: 7.797 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.268e-05/0.05809, allocations: 11.98 kB / 0.8503 GB, free: 7.785 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002526/0.05834, allocations: 23.97 kB / 0.8503 GB, free: 7.762 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.284e-05/0.05843, allocations: 35.83 kB / 0.8503 GB, free: 7.727 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.21e-05/0.05846, allocations: 20.08 kB / 0.8503 GB, free: 7.707 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0004336/0.05889, allocations: 362.8 kB / 0.8507 GB, free: 7.355 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7.1e-08/0.05889, allocations: 0 / 0.8507 GB, free: 7.355 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0007096/0.0596, allocations: 144 kB / 0.8508 GB, free: 7.215 MB / 0.8073 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.0001827/0.05978, allocations: 107.2 kB / 0.8509 GB, free: 7.102 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.001515/0.0613, allocations: 0.8784 MB / 0.8518 GB, free: 6.16 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.0613, allocations: 4.125 kB / 0.8518 GB, free: 6.156 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0009215/0.06222, allocations: 0.6701 MB / 0.8524 GB, free: 5.422 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001034/0.06326, allocations: 195.3 kB / 0.8526 GB, free: 5.238 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001945/0.0652, allocations: 0.9871 MB / 0.8536 GB, free: 4.188 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003981/0.0656, allocations: 303.4 kB / 0.8539 GB, free: 3.859 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0003026/0.0659, allocations: 96.97 kB / 0.854 GB, free: 3.762 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.06602, allocations: 48.44 kB / 0.854 GB, free: 3.715 MB / 0.8073 GB Notification: Performance of SimCode: time 6.82e-07/0.06603, allocations: 3.938 kB / 0.854 GB, free: 3.711 MB / 0.8073 GB Notification: Performance of Templates: time 0.01608/0.08211, allocations: 7.845 MB / 0.8617 GB, free: 12.09 MB / 0.823 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.sim & ./Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_OnePhase_Loads_Examples_TestImpedance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.455691423034295]