Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.001843/0.001843, allocations: 75.75 kB / 19.76 MB, free: 1.875 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.002336/0.002336, allocations: 155.9 kB / 23.01 MB, free: 4.605 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.438/1.438, allocations: 177.2 MB / 203.4 MB, free: 8.965 MB / 190.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 2.854/2.854, allocations: 377.9 MB / 0.6228 GB, free: 12.56 MB / 0.5919 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.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_N.I.1.|sen_N.I.2.|sen_N.I.3.|sen_N.I.4.|sen.I.1.|sen.I.2.|sen.I.3.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") [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.002209/0.002209, allocations: 63.91 kB / 0.9819 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8969/0.8991, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.01338/0.9125, allocations: 15.48 MB / 1.169 GB, free: 23.64 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.006413/0.9189, allocations: 4.797 MB / 1.174 GB, free: 20.48 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009677/0.9199, allocations: 84.34 kB / 1.174 GB, free: 20.44 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002617/0.9225, allocations: 1.042 MB / 1.175 GB, free: 19.85 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.001878/0.9243, allocations: 0.7731 MB / 1.176 GB, free: 19.38 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002251/0.9266, allocations: 0.9316 MB / 1.176 GB, free: 18.86 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.003744/0.9303, allocations: 3.62 MB / 1.18 GB, free: 17.26 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003636/0.934, allocations: 2.428 MB / 1.182 GB, free: 16.04 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003016/0.937, allocations: 1.624 MB / 1.184 GB, free: 15.31 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003391/0.9404, allocations: 1.791 MB / 1.186 GB, free: 14.62 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 0.0009242/0.9413, allocations: 339.8 kB / 1.186 GB, free: 14.62 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002029/0.9433, allocations: 0.7443 MB / 1.187 GB, free: 14.47 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.001887/0.9452, allocations: 1.362 MB / 1.188 GB, free: 13.89 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.002679/0.9479, allocations: 1.178 MB / 1.189 GB, free: 13.22 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.007316/0.9552, allocations: 5.172 MB / 1.194 GB, free: 11.61 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.9552, allocations: 0 / 1.194 GB, free: 11.61 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.354e-06/0.9552, allocations: 1.094 kB / 1.194 GB, free: 11.61 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.000154/0.9554, allocations: 4 kB / 1.194 GB, free: 11.61 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: 641 * Number of variables: 641 Notification: Performance of Generate backend data structure: time 0.008929/0.9643, allocations: 2.637 MB / 1.197 GB, free: 10.09 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/0.9644, allocations: 9.516 kB / 1.197 GB, free: 10.09 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00475/0.9691, allocations: 0.8577 MB / 1.198 GB, free: 9.902 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003623/0.9727, allocations: 1.531 MB / 1.199 GB, free: 9.133 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001487/0.9729, allocations: 177 kB / 1.199 GB, free: 9.051 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006388/0.9735, allocations: 229.5 kB / 1.2 GB, free: 8.977 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008173/0.9817, allocations: 4.268 MB / 1.204 GB, free: 7.227 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.122e-05/0.9818, allocations: 6.469 kB / 1.204 GB, free: 7.223 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002907/0.982, allocations: 98.42 kB / 1.204 GB, free: 7.148 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002661/0.9823, allocations: 170.5 kB / 1.204 GB, free: 7.125 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006466/0.9888, allocations: 3.621 MB / 1.208 GB, free: 5.949 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01572/1.005, allocations: 10.47 MB / 1.218 GB, free: 15.46 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003365/1.008, allocations: 1.47 MB / 1.219 GB, free: 15 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009663/1.009, allocations: 0.5473 MB / 1.22 GB, free: 14.8 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001185/1.009, allocations: 24.92 kB / 1.22 GB, free: 14.8 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.89e-05/1.009, allocations: 44.06 kB / 1.22 GB, free: 14.75 MB / 1.092 GB Notification: Performance of pre-optimization done (n=72): time 2.695e-06/1.009, allocations: 0 / 1.22 GB, free: 14.75 MB / 1.092 GB Notification: Performance of matching and sorting (n=76): time 0.006493/1.016, allocations: 3.205 MB / 1.223 GB, free: 13.12 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.85e-05/1.016, allocations: 113.1 kB / 1.223 GB, free: 13 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001716/1.017, allocations: 1.042 MB / 1.224 GB, free: 12.55 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 5.812e-05/1.017, allocations: 37.2 kB / 1.224 GB, free: 12.52 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009544/1.018, allocations: 1.146 MB / 1.225 GB, free: 11.62 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.000278/1.019, allocations: 293.4 kB / 1.226 GB, free: 11.4 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004266/1.019, allocations: 282.9 kB / 1.226 GB, free: 11.26 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002669/1.019, allocations: 414.2 kB / 1.226 GB, free: 10.9 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009648/1.02, allocations: 0.6113 MB / 1.227 GB, free: 10.71 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001638/1.022, allocations: 1.185 MB / 1.228 GB, free: 9.773 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002733/1.025, allocations: 1.866 MB / 1.23 GB, free: 8.5 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.361e-05/1.025, allocations: 5.438 kB / 1.23 GB, free: 8.5 MB / 1.092 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003511/1.028, allocations: 2.021 MB / 1.232 GB, free: 7.711 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.205e-05/1.028, allocations: 16.62 kB / 1.232 GB, free: 7.707 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.774e-05/1.028, allocations: 23.7 kB / 1.232 GB, free: 7.703 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004537/1.029, allocations: 164 kB / 1.232 GB, free: 7.637 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001202/1.03, allocations: 345.4 kB / 1.232 GB, free: 7.602 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.618e-05/1.03, allocations: 38.97 kB / 1.232 GB, free: 7.594 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/1.031, allocations: 132 kB / 1.232 GB, free: 7.559 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/1.031, allocations: 70.38 kB / 1.233 GB, free: 7.547 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * 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 (169): * Single equations (assignments): 165 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {(2,100.0%), (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.00182/1.033, allocations: 0.9724 MB / 1.233 GB, free: 7.098 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002824/1.033, allocations: 112.6 kB / 1.234 GB, free: 7.039 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002362/1.036, allocations: 1.227 MB / 1.235 GB, free: 6.531 MB / 1.092 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/1.036, allocations: 8.219 kB / 1.235 GB, free: 6.531 MB / 1.092 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.074e-05/1.036, allocations: 6.594 kB / 1.235 GB, free: 6.527 MB / 1.092 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.297e-05/1.036, allocations: 6.25 kB / 1.235 GB, free: 6.527 MB / 1.092 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005813/1.041, allocations: 2.872 MB / 1.238 GB, free: 5.293 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/1.041, allocations: 3.094 kB / 1.238 GB, free: 5.293 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006704/1.042, allocations: 160.2 kB / 1.238 GB, free: 5.277 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004408/1.043, allocations: 146.1 kB / 1.238 GB, free: 5.207 MB / 1.092 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-05/1.043, allocations: 18.86 kB / 1.238 GB, free: 5.195 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.207e-06/1.043, allocations: 5.859 kB / 1.238 GB, free: 5.195 MB / 1.092 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/1.043, allocations: 2.875 kB / 1.238 GB, free: 5.195 MB / 1.092 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002256/1.045, allocations: 1.474 MB / 1.239 GB, free: 4.395 MB / 1.092 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000573/1.045, allocations: 199.6 kB / 1.24 GB, free: 4.293 MB / 1.092 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000145/1.046, allocations: 22.94 kB / 1.24 GB, free: 4.277 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006224/1.046, allocations: 67.09 kB / 1.24 GB, free: 4.266 MB / 1.092 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001521/1.046, allocations: 65.62 kB / 1.24 GB, free: 4.25 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.996e-05/1.046, allocations: 21.48 kB / 1.24 GB, free: 4.246 MB / 1.092 GB Notification: Performance of sorting global known variables: time 0.001021/1.047, allocations: 0.6902 MB / 1.24 GB, free: 3.961 MB / 1.092 GB Notification: Performance of sort global known variables: time 8e-08/1.047, allocations: 0 / 1.24 GB, free: 3.961 MB / 1.092 GB Notification: Performance of remove unused functions: time 0.001661/1.049, allocations: 384.5 kB / 1.241 GB, free: 3.934 MB / 1.092 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (76): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {(2,100.0%), (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.0002392/1.049, allocations: 126.3 kB / 1.241 GB, free: 3.824 MB / 1.092 GB Notification: Performance of simCode: created initialization part: time 0.002417/1.052, allocations: 1.36 MB / 1.242 GB, free: 3.359 MB / 1.092 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.052, allocations: 0 / 1.242 GB, free: 3.359 MB / 1.092 GB Notification: Performance of simCode: created simulation system equations: time 0.0008993/1.053, allocations: 0.5378 MB / 1.243 GB, free: 3.156 MB / 1.092 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/1.054, allocations: 260.5 kB / 1.243 GB, free: 3.047 MB / 1.092 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006921/1.061, allocations: 3.829 MB / 1.247 GB, free: 1.293 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001882/1.063, allocations: 1.343 MB / 1.248 GB, free: 0.7734 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001173/1.064, allocations: 445.4 kB / 1.248 GB, free: 0.5859 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002237/1.064, allocations: 85.05 kB / 1.249 GB, free: 0.5703 MB / 1.092 GB Notification: Performance of SimCode: time 8.31e-07/1.064, allocations: 0 / 1.249 GB, free: 0.5703 MB / 1.092 GB Notification: Performance of Templates: time 0.02822/1.093, allocations: 12.91 MB / 1.261 GB, free: 10.02 MB / 1.107 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.18424049206078]