Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.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.001285/0.001285, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001412/0.001412, allocations: 195.7 kB / 22.17 MB, free: 5.656 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.433/1.433, allocations: 225.6 MB / 250.9 MB, free: 13.27 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.792/2.792, allocations: 476.7 MB / 0.7645 GB, free: 10.08 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.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_11_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_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 69.05 kB / 1.109 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3316, allocations: 168.7 MB / 1.274 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02157/0.3532, allocations: 16.79 MB / 1.29 GB, free: 10.45 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01059/0.3638, allocations: 4.972 MB / 1.295 GB, free: 5.465 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001754/0.3656, allocations: 67.69 kB / 1.295 GB, free: 5.398 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003608/0.3692, allocations: 1.077 MB / 1.296 GB, free: 4.316 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.002641/0.3718, allocations: 0.7816 MB / 1.297 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002806/0.3746, allocations: 0.9494 MB / 1.298 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004786/0.3794, allocations: 3.622 MB / 1.302 GB, free: 14.95 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004021/0.3834, allocations: 2.297 MB / 1.304 GB, free: 12.59 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002756/0.3862, allocations: 1.597 MB / 1.305 GB, free: 10.98 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003684/0.3899, allocations: 1.885 MB / 1.307 GB, free: 9.094 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.001243/0.3911, allocations: 340 kB / 1.308 GB, free: 8.762 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003014/0.3941, allocations: 0.8114 MB / 1.308 GB, free: 7.949 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.002581/0.3967, allocations: 1.356 MB / 1.31 GB, free: 6.59 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.002898/0.3996, allocations: 1.459 MB / 1.311 GB, free: 5.125 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.007775/0.4074, allocations: 5.148 MB / 1.316 GB, free: 15.96 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 9.207e-06/0.4074, allocations: 0 / 1.316 GB, free: 15.96 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.465e-06/0.4074, allocations: 0 / 1.316 GB, free: 15.96 MB / 1.029 GB Notification: Performance of Transformations before backend: time 0.0001287/0.4075, allocations: 4 kB / 1.316 GB, free: 15.96 MB / 1.029 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.006181/0.4137, allocations: 2.713 MB / 1.319 GB, free: 13.18 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 6.345e-05/0.4138, allocations: 12.03 kB / 1.319 GB, free: 13.17 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004584/0.4183, allocations: 0.842 MB / 1.32 GB, free: 12.32 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004845/0.4232, allocations: 1.568 MB / 1.321 GB, free: 10.71 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001772/0.4234, allocations: 185.1 kB / 1.321 GB, free: 10.53 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004977/0.4239, allocations: 232.3 kB / 1.322 GB, free: 10.3 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007975/0.4318, allocations: 4.161 MB / 1.326 GB, free: 6 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.528e-05/0.4319, allocations: 7.891 kB / 1.326 GB, free: 5.992 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002672/0.4322, allocations: 104 kB / 1.326 GB, free: 5.891 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002073/0.4324, allocations: 172.5 kB / 1.326 GB, free: 5.719 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00628/0.4386, allocations: 3.628 MB / 1.329 GB, free: 2.074 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02372/0.4624, allocations: 16.44 MB / 1.346 GB, free: 216 kB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003825/0.4662, allocations: 2.246 MB / 1.348 GB, free: 13.76 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001012/0.4672, allocations: 0.5512 MB / 1.348 GB, free: 13.2 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002001/0.4674, allocations: 101.6 kB / 1.348 GB, free: 13.09 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.539e-05/0.4675, allocations: 47.06 kB / 1.348 GB, free: 13.03 MB / 1.061 GB Notification: Performance of pre-optimization done (n=72): time 4.749e-06/0.4675, allocations: 4 kB / 1.348 GB, free: 13.02 MB / 1.061 GB Notification: Performance of matching and sorting (n=76): time 0.007193/0.4747, allocations: 3.495 MB / 1.352 GB, free: 9.434 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.103e-05/0.4747, allocations: 115.4 kB / 1.352 GB, free: 9.293 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001556/0.4763, allocations: 1.01 MB / 1.353 GB, free: 8.258 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.45e-05/0.4764, allocations: 41.7 kB / 1.353 GB, free: 8.211 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009287/0.4773, allocations: 1.138 MB / 1.354 GB, free: 7.059 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002929/0.4776, allocations: 293.6 kB / 1.354 GB, free: 6.77 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004363/0.478, allocations: 279.4 kB / 1.355 GB, free: 6.488 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0002724/0.4783, allocations: 414.7 kB / 1.355 GB, free: 6.074 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001009/0.4793, allocations: 0.6089 MB / 1.356 GB, free: 5.465 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001544/0.4808, allocations: 1.185 MB / 1.357 GB, free: 4.016 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002573/0.4834, allocations: 1.872 MB / 1.359 GB, free: 1.879 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.958e-06/0.4834, allocations: 4 kB / 1.359 GB, free: 1.875 MB / 1.061 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003518/0.487, allocations: 2.023 MB / 1.361 GB, free: 15.83 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 3.061e-05/0.487, allocations: 12 kB / 1.361 GB, free: 15.82 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.761e-05/0.487, allocations: 20 kB / 1.361 GB, free: 15.8 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004783/0.4875, allocations: 163.8 kB / 1.361 GB, free: 15.63 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/0.4887, allocations: 347.4 kB / 1.361 GB, free: 15.29 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.332e-05/0.4888, allocations: 39.86 kB / 1.361 GB, free: 15.25 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001122/0.4899, allocations: 123.8 kB / 1.361 GB, free: 15.13 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/0.49, allocations: 68 kB / 1.361 GB, free: 15.06 MB / 1.076 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.001654/0.4916, allocations: 0.9832 MB / 1.362 GB, free: 14.07 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002583/0.4919, allocations: 115.2 kB / 1.362 GB, free: 13.96 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002283/0.4942, allocations: 1.23 MB / 1.364 GB, free: 12.71 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.444e-05/0.4942, allocations: 11.94 kB / 1.364 GB, free: 12.7 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.4942, allocations: 3.938 kB / 1.364 GB, free: 12.69 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.113e-05/0.4942, allocations: 7.984 kB / 1.364 GB, free: 12.68 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006859/0.5011, allocations: 3.798 MB / 1.367 GB, free: 8.738 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.426e-06/0.5011, allocations: 4 kB / 1.367 GB, free: 8.734 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006377/0.5017, allocations: 155.8 kB / 1.367 GB, free: 8.582 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003919/0.5021, allocations: 135.6 kB / 1.368 GB, free: 8.438 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.979e-05/0.5022, allocations: 19.98 kB / 1.368 GB, free: 8.418 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.109e-05/0.5022, allocations: 11.94 kB / 1.368 GB, free: 8.406 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.5022, allocations: 3.938 kB / 1.368 GB, free: 8.402 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00225/0.5044, allocations: 1.474 MB / 1.369 GB, free: 6.871 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005994/0.505, allocations: 276.4 kB / 1.369 GB, free: 6.582 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001422/0.5052, allocations: 16 kB / 1.369 GB, free: 6.566 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005985/0.5058, allocations: 63.91 kB / 1.369 GB, free: 6.504 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001695/0.5059, allocations: 60.36 kB / 1.369 GB, free: 6.445 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.961e-05/0.506, allocations: 24 kB / 1.369 GB, free: 6.422 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001026/0.507, allocations: 0.6992 MB / 1.37 GB, free: 5.711 MB / 1.076 GB Notification: Performance of sort global known variables: time 1e-07/0.507, allocations: 4 kB / 1.37 GB, free: 5.707 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001505/0.5085, allocations: 384 kB / 1.371 GB, free: 5.332 MB / 1.076 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.0002244/0.5087, allocations: 123.2 kB / 1.371 GB, free: 5.203 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.002668/0.5114, allocations: 1.674 MB / 1.372 GB, free: 3.449 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.5114, allocations: 1.875 kB / 1.372 GB, free: 3.449 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.001063/0.5125, allocations: 0.8313 MB / 1.373 GB, free: 2.531 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001529/0.514, allocations: 268.1 kB / 1.373 GB, free: 2.273 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006752/0.5208, allocations: 3.838 MB / 1.377 GB, free: 14.37 MB / 1.092 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001934/0.5227, allocations: 1.92 MB / 1.379 GB, free: 12.41 MB / 1.092 GB Notification: Performance of simCode: alias equations: time 0.001127/0.5238, allocations: 453.6 kB / 1.379 GB, free: 11.97 MB / 1.092 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002271/0.524, allocations: 87.42 kB / 1.38 GB, free: 11.88 MB / 1.092 GB Notification: Performance of SimCode: time 1.012e-06/0.524, allocations: 0 / 1.38 GB, free: 11.88 MB / 1.092 GB Notification: Performance of Templates: time 0.02891/0.553, allocations: 14.16 MB / 1.393 GB, free: 13.86 MB / 1.107 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances -abortSlowSimulation -alarm=400 -s gbode -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Impedances.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 8.9339580219239]