Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001344/0.001344, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001412/0.001412, allocations: 160.1 kB / 23.01 MB, free: 4.594 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.503/1.503, allocations: 177.2 MB / 203.4 MB, free: 8.988 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 3.058/3.058, allocations: 394.2 MB / 0.6386 GB, free: 11.91 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.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_latest_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_latest_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.002925/0.002925, allocations: 71.88 kB / 1.009 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8708/0.8737, allocations: 181.8 MB / 1.187 GB, free: 16.18 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.0167/0.8904, allocations: 15.49 MB / 1.202 GB, free: 6.496 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.008007/0.8984, allocations: 4.776 MB / 1.206 GB, free: 3.348 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001473/0.8999, allocations: 89.38 kB / 1.206 GB, free: 3.305 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.002763/0.9027, allocations: 1.055 MB / 1.208 GB, free: 2.707 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.002037/0.9047, allocations: 0.7716 MB / 1.208 GB, free: 2.238 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.002413/0.9071, allocations: 0.9234 MB / 1.209 GB, free: 1.727 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.00388/0.911, allocations: 3.619 MB / 1.213 GB, free: 128 kB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003542/0.9146, allocations: 2.431 MB / 1.215 GB, free: 14.89 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003058/0.9176, allocations: 1.625 MB / 1.217 GB, free: 14.16 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003127/0.9207, allocations: 1.799 MB / 1.218 GB, free: 13.46 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0006893/0.9214, allocations: 340 kB / 1.219 GB, free: 13.46 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001755/0.9232, allocations: 0.744 MB / 1.219 GB, free: 13.32 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001656/0.9248, allocations: 1.355 MB / 1.221 GB, free: 12.75 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001882/0.9267, allocations: 1.182 MB / 1.222 GB, free: 12.07 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.007593/0.9343, allocations: 5.164 MB / 1.227 GB, free: 10.47 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.9343, allocations: 0.7969 kB / 1.227 GB, free: 10.47 MB / 1.092 GB Notification: Performance of FrontEnd: time 3.196e-06/0.9343, allocations: 3.938 kB / 1.227 GB, free: 10.47 MB / 1.092 GB Notification: Performance of Transformations before backend: time 0.0001428/0.9345, allocations: 5.375 kB / 1.227 GB, free: 10.46 MB / 1.092 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.007241/0.9417, allocations: 2.636 MB / 1.23 GB, free: 8.945 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/0.9417, allocations: 9.062 kB / 1.23 GB, free: 8.945 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00436/0.9461, allocations: 0.8503 MB / 1.23 GB, free: 8.766 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004005/0.9501, allocations: 1.535 MB / 1.232 GB, free: 7.988 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001617/0.9503, allocations: 181 kB / 1.232 GB, free: 7.902 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000567/0.9508, allocations: 230.2 kB / 1.232 GB, free: 7.828 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008644/0.9595, allocations: 4.263 MB / 1.236 GB, free: 5.359 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.126e-05/0.9595, allocations: 5.922 kB / 1.236 GB, free: 5.355 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003367/0.9599, allocations: 102.6 kB / 1.237 GB, free: 5.277 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002258/0.9601, allocations: 169.4 kB / 1.237 GB, free: 5.234 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006519/0.9666, allocations: 3.627 MB / 1.24 GB, free: 3.387 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01741/0.984, allocations: 10.47 MB / 1.25 GB, free: 11.54 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003219/0.9873, allocations: 1.467 MB / 1.252 GB, free: 10.74 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008715/0.9881, allocations: 0.5404 MB / 1.252 GB, free: 10.45 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001146/0.9882, allocations: 26.89 kB / 1.252 GB, free: 10.44 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.827e-05/0.9883, allocations: 38.94 kB / 1.253 GB, free: 10.39 MB / 1.107 GB Notification: Performance of pre-optimization done (n=72): time 2.585e-06/0.9883, allocations: 0 / 1.253 GB, free: 10.39 MB / 1.107 GB Notification: Performance of matching and sorting (n=76): time 0.00594/0.9942, allocations: 3.208 MB / 1.256 GB, free: 8.426 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.355e-05/0.9943, allocations: 112.2 kB / 1.256 GB, free: 8.301 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001392/0.9957, allocations: 1.046 MB / 1.257 GB, free: 7.688 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 5.499e-05/0.9957, allocations: 36.08 kB / 1.257 GB, free: 7.648 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008405/0.9966, allocations: 1.145 MB / 1.258 GB, free: 6.633 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002806/0.9969, allocations: 282.5 kB / 1.258 GB, free: 6.391 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004182/0.9973, allocations: 287.4 kB / 1.258 GB, free: 6.223 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002512/0.9975, allocations: 415.1 kB / 1.259 GB, free: 5.836 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009611/0.9985, allocations: 0.609 MB / 1.259 GB, free: 5.531 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001462/1, allocations: 1.189 MB / 1.261 GB, free: 4.461 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002489/1.002, allocations: 1.868 MB / 1.262 GB, free: 3.016 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.27e-05/1.002, allocations: 6 kB / 1.262 GB, free: 3.016 MB / 1.107 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003373/1.006, allocations: 2.016 MB / 1.264 GB, free: 1.961 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.344e-05/1.006, allocations: 16.06 kB / 1.264 GB, free: 1.957 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.683e-05/1.006, allocations: 23.84 kB / 1.264 GB, free: 1.953 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004393/1.006, allocations: 164.2 kB / 1.265 GB, free: 1.859 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/1.007, allocations: 347.2 kB / 1.265 GB, free: 1.766 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.775e-05/1.008, allocations: 38.3 kB / 1.265 GB, free: 1.754 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/1.009, allocations: 126.5 kB / 1.265 GB, free: 1.691 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001172/1.009, allocations: 72.02 kB / 1.265 GB, free: 1.676 MB / 1.107 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.001602/1.01, allocations: 0.9698 MB / 1.266 GB, free: 1.059 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002348/1.011, allocations: 125 kB / 1.266 GB, free: 0.9883 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002123/1.013, allocations: 1.228 MB / 1.267 GB, free: 272 kB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/1.013, allocations: 9.312 kB / 1.267 GB, free: 272 kB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/1.013, allocations: 5.188 kB / 1.267 GB, free: 268 kB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/1.013, allocations: 5.078 kB / 1.267 GB, free: 264 kB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005283/1.018, allocations: 2.872 MB / 1.27 GB, free: 14.56 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/1.018, allocations: 3.5 kB / 1.27 GB, free: 14.56 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006398/1.019, allocations: 159.8 kB / 1.27 GB, free: 14.51 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003734/1.019, allocations: 147.1 kB / 1.271 GB, free: 14.41 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.842e-05/1.019, allocations: 14.72 kB / 1.271 GB, free: 14.41 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.344e-06/1.019, allocations: 4.875 kB / 1.271 GB, free: 14.41 MB / 1.123 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/1.019, allocations: 3.375 kB / 1.271 GB, free: 14.41 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002248/1.021, allocations: 1.476 MB / 1.272 GB, free: 13.24 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005122/1.022, allocations: 199.2 kB / 1.272 GB, free: 13.05 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001412/1.022, allocations: 20 kB / 1.272 GB, free: 13.03 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006185/1.023, allocations: 63.91 kB / 1.272 GB, free: 12.96 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001456/1.023, allocations: 68.42 kB / 1.272 GB, free: 12.9 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.131e-05/1.023, allocations: 24 kB / 1.272 GB, free: 12.88 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001053/1.024, allocations: 0.6871 MB / 1.273 GB, free: 12.18 MB / 1.123 GB Notification: Performance of sort global known variables: time 8e-08/1.024, allocations: 0 / 1.273 GB, free: 12.18 MB / 1.123 GB Notification: Performance of remove unused functions: time 0.001718/1.026, allocations: 388 kB / 1.273 GB, free: 11.8 MB / 1.123 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.0002005/1.026, allocations: 129.7 kB / 1.274 GB, free: 11.66 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.002347/1.028, allocations: 1.363 MB / 1.275 GB, free: 10.29 MB / 1.123 GB Notification: Performance of simCode: created event and clocks part: time 5.451e-06/1.028, allocations: 4 kB / 1.275 GB, free: 10.29 MB / 1.123 GB Notification: Performance of simCode: created simulation system equations: time 0.0009022/1.029, allocations: 0.5312 MB / 1.275 GB, free: 9.746 MB / 1.123 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001396/1.03, allocations: 263.9 kB / 1.276 GB, free: 9.492 MB / 1.123 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006458/1.037, allocations: 3.828 MB / 1.279 GB, free: 5.598 MB / 1.123 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001787/1.039, allocations: 1.344 MB / 1.281 GB, free: 4.211 MB / 1.123 GB Notification: Performance of simCode: alias equations: time 0.001082/1.04, allocations: 449.3 kB / 1.281 GB, free: 3.77 MB / 1.123 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002313/1.04, allocations: 84.48 kB / 1.281 GB, free: 3.684 MB / 1.123 GB Notification: Performance of SimCode: time 9.42e-07/1.04, allocations: 0 / 1.281 GB, free: 3.684 MB / 1.123 GB Notification: Performance of Templates: time 0.0264/1.066, allocations: 12.9 MB / 1.294 GB, free: 7.074 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=800 -s ida -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.557871227967553]