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.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.001343/0.001343, allocations: 79.73 kB / 19.76 MB, free: 2.031 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.001388/0.001388, allocations: 157.6 kB / 23.01 MB, free: 4.941 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.455/1.455, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.977/2.977, allocations: 394.2 MB / 0.6387 GB, free: 11.93 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_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: 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.002146/0.002146, allocations: 67.89 kB / 1.009 GB, free: 14.5 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7829/0.7851, allocations: 181.8 MB / 1.187 GB, free: 16.21 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.TestImpedance): time 0.005321/0.7904, allocations: 4.626 MB / 1.191 GB, free: 13.2 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.003382/0.7938, allocations: 2.404 MB / 1.193 GB, free: 11.64 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002353/0.794, allocations: 35.59 kB / 1.193 GB, free: 11.62 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001111/0.7951, allocations: 405.2 kB / 1.194 GB, free: 11.38 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0008082/0.796, allocations: 469.6 kB / 1.194 GB, free: 11.11 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007309/0.7967, allocations: 377.2 kB / 1.195 GB, free: 10.93 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0008823/0.7976, allocations: 0.9172 MB / 1.196 GB, free: 10.5 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004474/0.798, allocations: 313.7 kB / 1.196 GB, free: 10.35 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004392/0.7985, allocations: 361.3 kB / 1.196 GB, free: 10.2 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004579/0.7989, allocations: 347.7 kB / 1.197 GB, free: 10.06 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 6.896e-05/0.799, allocations: 37.31 kB / 1.197 GB, free: 10.06 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005803/0.7996, allocations: 355.8 kB / 1.197 GB, free: 9.953 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001842/0.7997, allocations: 188.5 kB / 1.197 GB, free: 9.867 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0002637/0.8, allocations: 260.8 kB / 1.197 GB, free: 9.734 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.0009935/0.801, allocations: 0.8973 MB / 1.198 GB, free: 9.414 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.801, allocations: 1.094 kB / 1.198 GB, free: 9.414 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.593e-06/0.801, allocations: 0 / 1.198 GB, free: 9.414 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.06e-05/0.801, allocations: 0.7969 kB / 1.198 GB, free: 9.414 MB / 1.076 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.001235/0.8023, allocations: 0.8862 MB / 1.199 GB, free: 8.781 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.329e-05/0.8023, allocations: 8.562 kB / 1.199 GB, free: 8.781 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001273/0.8036, allocations: 212 kB / 1.199 GB, free: 8.734 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000756/0.8043, allocations: 484 kB / 1.2 GB, free: 8.438 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.98e-05/0.8043, allocations: 31.81 kB / 1.2 GB, free: 8.422 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.37e-05/0.8044, allocations: 49.33 kB / 1.2 GB, free: 8.402 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009905/0.8054, allocations: 0.9704 MB / 1.201 GB, free: 7.668 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.604e-05/0.8054, allocations: 8.516 kB / 1.201 GB, free: 7.664 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.936e-05/0.8055, allocations: 24.08 kB / 1.201 GB, free: 7.648 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.203e-05/0.8056, allocations: 66.09 kB / 1.201 GB, free: 7.641 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007958/0.8064, allocations: 0.5696 MB / 1.201 GB, free: 7.426 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002902/0.8093, allocations: 4.629 MB / 1.206 GB, free: 3.414 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005977/0.8099, allocations: 418.1 kB / 1.206 GB, free: 3.262 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002736/0.8101, allocations: 205.6 kB / 1.207 GB, free: 3.188 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/0.8102, allocations: 2.312 kB / 1.207 GB, free: 3.188 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.378e-05/0.8102, allocations: 37.64 kB / 1.207 GB, free: 3.145 MB / 1.076 GB Notification: Performance of pre-optimization done (n=32): time 1.583e-06/0.8102, allocations: 1.25 kB / 1.207 GB, free: 3.145 MB / 1.076 GB Notification: Performance of matching and sorting (n=33): time 0.002261/0.8124, allocations: 1.135 MB / 1.208 GB, free: 2.668 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.234e-05/0.8125, allocations: 64.64 kB / 1.208 GB, free: 2.598 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004205/0.8129, allocations: 469.9 kB / 1.208 GB, free: 2.367 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.8129, allocations: 31.77 kB / 1.208 GB, free: 2.332 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.8131, allocations: 368.7 kB / 1.209 GB, free: 2.031 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 6.919e-05/0.8131, allocations: 126.7 kB / 1.209 GB, free: 1.934 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000128/0.8133, allocations: 111.3 kB / 1.209 GB, free: 1.871 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 7.228e-05/0.8133, allocations: 359.5 kB / 1.209 GB, free: 1.539 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002662/0.8136, allocations: 199.4 kB / 1.209 GB, free: 1.469 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003762/0.814, allocations: 446.7 kB / 1.21 GB, free: 1.086 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006872/0.8147, allocations: 0.6875 MB / 1.21 GB, free: 0.5664 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.8147, allocations: 6.125 kB / 1.21 GB, free: 0.5625 MB / 1.076 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001169/0.8158, allocations: 0.8071 MB / 1.211 GB, free: 208 kB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.8159, allocations: 8.781 kB / 1.211 GB, free: 208 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.251e-05/0.8159, allocations: 9.094 kB / 1.211 GB, free: 208 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004717/0.8163, allocations: 157.5 kB / 1.211 GB, free: 136 kB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004554/0.8168, allocations: 122.1 kB / 1.212 GB, free: 124 kB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003502/0.8203, allocations: 3.962 MB / 1.215 GB, free: 12.34 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003592/0.8207, allocations: 37.64 kB / 1.215 GB, free: 12.33 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.249e-05/0.8207, allocations: 27.53 kB / 1.215 GB, free: 12.32 MB / 1.092 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.0002715/0.821, allocations: 215.3 kB / 1.216 GB, free: 12.15 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.689e-05/0.8211, allocations: 68.42 kB / 1.216 GB, free: 12.11 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001078/0.8222, allocations: 0.5875 MB / 1.216 GB, free: 11.84 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.8222, allocations: 3.906 kB / 1.216 GB, free: 11.84 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.8222, allocations: 5.922 kB / 1.216 GB, free: 11.84 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.8222, allocations: 2.891 kB / 1.216 GB, free: 11.84 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001853/0.824, allocations: 1.117 MB / 1.217 GB, free: 11.22 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.824, allocations: 2.953 kB / 1.217 GB, free: 11.22 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002618/0.8243, allocations: 49.42 kB / 1.217 GB, free: 11.22 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004162/0.8247, allocations: 151.4 kB / 1.218 GB, free: 11.15 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.557e-05/0.8247, allocations: 6.938 kB / 1.218 GB, free: 11.14 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003582/0.8283, allocations: 3.963 MB / 1.221 GB, free: 7.352 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.618e-06/0.8283, allocations: 10.47 kB / 1.222 GB, free: 7.344 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001228/0.8296, allocations: 0.6924 MB / 1.222 GB, free: 6.941 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002512/0.8298, allocations: 94.69 kB / 1.222 GB, free: 6.891 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.206e-05/0.8299, allocations: 8.594 kB / 1.222 GB, free: 6.887 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000272/0.8301, allocations: 22.06 kB / 1.222 GB, free: 6.883 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.66e-05/0.8302, allocations: 41.61 kB / 1.222 GB, free: 6.867 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.591e-05/0.8303, allocations: 9.578 kB / 1.222 GB, free: 6.867 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.0004148/0.8307, allocations: 299.9 kB / 1.223 GB, free: 6.727 MB / 1.092 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8307, allocations: 0 / 1.223 GB, free: 6.727 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.0007319/0.8314, allocations: 141.2 kB / 1.223 GB, free: 6.711 MB / 1.092 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.0001845/0.8316, allocations: 109.5 kB / 1.223 GB, free: 6.613 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.001692/0.8333, allocations: 0.8678 MB / 1.224 GB, free: 6.086 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.8333, allocations: 1.094 kB / 1.224 GB, free: 6.086 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.001067/0.8344, allocations: 0.5656 MB / 1.224 GB, free: 5.672 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/0.8356, allocations: 194.3 kB / 1.224 GB, free: 5.602 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002274/0.8379, allocations: 1.05 MB / 1.225 GB, free: 4.992 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005381/0.8384, allocations: 305.2 kB / 1.226 GB, free: 4.883 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.0003847/0.8388, allocations: 117.8 kB / 1.226 GB, free: 4.855 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000115/0.8389, allocations: 37.5 kB / 1.226 GB, free: 4.848 MB / 1.092 GB Notification: Performance of SimCode: time 2.9e-07/0.8389, allocations: 0 / 1.226 GB, free: 4.848 MB / 1.092 GB Notification: Performance of Templates: time 0.0166/0.8555, allocations: 7.797 MB / 1.234 GB, free: 3.957 MB / 1.092 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 -s ida -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/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: 8.874552300083451]