Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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.00205/0.00205, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002565/0.002565, allocations: 218.6 kB / 23.01 MB, free: 5.125 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.469/1.469, allocations: 230.6 MB / 256.8 MB, free: 7.949 MB / 206.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 3.229/3.229, allocations: 0.49 GB / 0.7958 GB, free: 33.27 MB / 0.6231 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.Loads_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen.I.1.|sen.I.2.|sen.I.3.|sen.I.4.",fileNamePrefix="Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N") [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.002779/0.002779, allocations: 72.2 kB / 1.155 GB, free: 25.44 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3976/0.4004, allocations: 176.1 MB / 1.327 GB, free: 1.43 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N): time 0.02839/0.4288, allocations: 21.57 MB / 1.348 GB, free: 11.79 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.01468/0.4435, allocations: 7.993 MB / 1.356 GB, free: 3.773 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00223/0.4457, allocations: 71.62 kB / 1.356 GB, free: 3.703 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.004168/0.4499, allocations: 1.418 MB / 1.357 GB, free: 2.281 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.003048/0.4529, allocations: 1.023 MB / 1.358 GB, free: 1.254 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.005459/0.4584, allocations: 2.092 MB / 1.36 GB, free: 15.16 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.006047/0.4644, allocations: 4.335 MB / 1.365 GB, free: 10.82 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005072/0.4695, allocations: 3.033 MB / 1.368 GB, free: 7.711 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003171/0.4727, allocations: 1.89 MB / 1.37 GB, free: 5.816 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00411/0.4768, allocations: 2.329 MB / 1.372 GB, free: 3.48 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 0.0009163/0.4777, allocations: 428 kB / 1.372 GB, free: 3.062 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002126/0.4798, allocations: 0.9557 MB / 1.373 GB, free: 2.105 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.002057/0.4819, allocations: 1.699 MB / 1.375 GB, free: 412 kB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.002537/0.4844, allocations: 1.716 MB / 1.376 GB, free: 14.68 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.007521/0.4919, allocations: 6.203 MB / 1.383 GB, free: 8.457 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.4919, allocations: 0 / 1.383 GB, free: 8.457 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4919, allocations: 0 / 1.383 GB, free: 8.457 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.0001661/0.4921, allocations: 0 / 1.383 GB, free: 8.457 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: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.007357/0.4995, allocations: 3.046 MB / 1.386 GB, free: 5.363 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.4995, allocations: 12.03 kB / 1.386 GB, free: 5.352 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003674/0.5032, allocations: 0.76 MB / 1.386 GB, free: 4.59 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003629/0.5068, allocations: 1.55 MB / 1.388 GB, free: 3.008 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001933/0.507, allocations: 218.2 kB / 1.388 GB, free: 2.793 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005953/0.5076, allocations: 288.3 kB / 1.388 GB, free: 2.512 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009659/0.5173, allocations: 5.074 MB / 1.393 GB, free: 13.25 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-05/0.5173, allocations: 11.94 kB / 1.393 GB, free: 13.24 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003213/0.5176, allocations: 128 kB / 1.393 GB, free: 13.11 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000266/0.5179, allocations: 212.6 kB / 1.394 GB, free: 12.9 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007928/0.5258, allocations: 4.22 MB / 1.398 GB, free: 8.664 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02925/0.5551, allocations: 22.44 MB / 1.42 GB, free: 164 kB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003018/0.5581, allocations: 1.665 MB / 1.421 GB, free: 14.46 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001737/0.5598, allocations: 1.075 MB / 1.422 GB, free: 13.37 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001273/0.56, allocations: 24.62 kB / 1.422 GB, free: 13.34 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.602e-05/0.56, allocations: 47.16 kB / 1.422 GB, free: 13.29 MB / 1.123 GB Notification: Performance of pre-optimization done (n=84): time 3.136e-06/0.56, allocations: 0 / 1.422 GB, free: 13.29 MB / 1.123 GB Notification: Performance of matching and sorting (n=87): time 0.006658/0.5667, allocations: 4.113 MB / 1.426 GB, free: 9.152 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.881e-05/0.5668, allocations: 145.7 kB / 1.426 GB, free: 8.98 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001279/0.5681, allocations: 0.876 MB / 1.427 GB, free: 8.09 MB / 1.123 GB Notification: Performance of collectPreVariables (initialization): time 8.488e-05/0.5681, allocations: 41.7 kB / 1.427 GB, free: 8.043 MB / 1.123 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008846/0.569, allocations: 1.193 MB / 1.429 GB, free: 6.836 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003263/0.5693, allocations: 325.2 kB / 1.429 GB, free: 6.516 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004474/0.5698, allocations: 278.7 kB / 1.429 GB, free: 6.238 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.0002508/0.57, allocations: 406.7 kB / 1.43 GB, free: 5.832 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00136/0.5714, allocations: 0.8257 MB / 1.43 GB, free: 5.004 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001823/0.5732, allocations: 1.318 MB / 1.432 GB, free: 3.461 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003195/0.5764, allocations: 2.163 MB / 1.434 GB, free: 1.109 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.486e-06/0.5764, allocations: 4 kB / 1.434 GB, free: 1.105 MB / 1.123 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.003866/0.5803, allocations: 2.219 MB / 1.436 GB, free: 14.88 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.78e-05/0.5803, allocations: 12 kB / 1.436 GB, free: 14.86 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.051e-05/0.5803, allocations: 12 kB / 1.436 GB, free: 14.85 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.508e-05/0.5804, allocations: 24 kB / 1.436 GB, free: 14.83 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001737/0.5821, allocations: 411.3 kB / 1.436 GB, free: 14.43 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.608e-05/0.5822, allocations: 31.86 kB / 1.436 GB, free: 14.39 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/0.5836, allocations: 215.6 kB / 1.437 GB, free: 14.18 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/0.5837, allocations: 67.92 kB / 1.437 GB, free: 14.12 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002873/0.5865, allocations: 1.677 MB / 1.438 GB, free: 12.44 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001609/0.5882, allocations: 1.19 MB / 1.439 GB, free: 11.01 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002759/0.5909, allocations: 1.894 MB / 1.441 GB, free: 8.906 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.002e-05/0.5909, allocations: 11.94 kB / 1.441 GB, free: 8.895 MB / 1.139 GB Notification: Performance of matching and sorting (n=156) (initialization_lambda0): time 0.003425/0.5943, allocations: 1.934 MB / 1.443 GB, free: 6.957 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.158e-05/0.5944, allocations: 12 kB / 1.443 GB, free: 6.945 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.929e-05/0.5944, allocations: 16 kB / 1.443 GB, free: 6.93 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/0.5944, allocations: 24 kB / 1.443 GB, free: 6.906 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001434/0.5959, allocations: 364 kB / 1.444 GB, free: 6.551 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.414e-05/0.5959, allocations: 31.86 kB / 1.444 GB, free: 6.52 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001339/0.5972, allocations: 183.5 kB / 1.444 GB, free: 6.34 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.826e-05/0.5973, allocations: 56 kB / 1.444 GB, free: 6.285 MB / 1.139 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * 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 (156): * Single equations (assignments): 156 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004394/0.5978, allocations: 272.3 kB / 1.444 GB, free: 6.012 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000251/0.598, allocations: 107.3 kB / 1.444 GB, free: 5.906 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003163/0.6012, allocations: 1.851 MB / 1.446 GB, free: 4.043 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.154e-05/0.6012, allocations: 8 kB / 1.446 GB, free: 4.035 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/0.6012, allocations: 4 kB / 1.446 GB, free: 4.031 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.195e-05/0.6012, allocations: 7.922 kB / 1.446 GB, free: 4.023 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01441/0.6156, allocations: 9.445 MB / 1.455 GB, free: 10.37 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.805e-05/0.6156, allocations: 16 kB / 1.455 GB, free: 10.35 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001274/0.6169, allocations: 311.4 kB / 1.456 GB, free: 10.05 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.086e-05/0.6169, allocations: 16 kB / 1.456 GB, free: 10.03 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.961e-05/0.617, allocations: 28 kB / 1.456 GB, free: 10 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.569e-05/0.617, allocations: 28.33 kB / 1.456 GB, free: 9.977 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.122e-05/0.6171, allocations: 19.94 kB / 1.456 GB, free: 9.957 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003253/0.6203, allocations: 2.399 MB / 1.458 GB, free: 7.398 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008075/0.6211, allocations: 319 kB / 1.458 GB, free: 7.086 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001642/0.6213, allocations: 28 kB / 1.458 GB, free: 7.059 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001045/0.6223, allocations: 147.7 kB / 1.458 GB, free: 6.914 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000192/0.6225, allocations: 87.64 kB / 1.459 GB, free: 6.828 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.561e-05/0.6226, allocations: 40 kB / 1.459 GB, free: 6.789 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001015/0.6236, allocations: 0.6161 MB / 1.459 GB, free: 6.176 MB / 1.154 GB Notification: Performance of sort global known variables: time 9e-08/0.6236, allocations: 0 / 1.459 GB, free: 6.176 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.002618/0.6262, allocations: 0.7539 MB / 1.46 GB, free: 5.422 MB / 1.154 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 50 * 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 (90): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002958/0.6265, allocations: 142.9 kB / 1.46 GB, free: 5.273 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.004797/0.6313, allocations: 2.753 MB / 1.463 GB, free: 2.527 MB / 1.154 GB Notification: Performance of simCode: created event and clocks part: time 1.187e-05/0.6313, allocations: 8.125 kB / 1.463 GB, free: 2.52 MB / 1.154 GB Notification: Performance of simCode: created simulation system equations: time 0.00141/0.6327, allocations: 0.8962 MB / 1.464 GB, free: 1.625 MB / 1.154 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001808/0.6346, allocations: 295.8 kB / 1.464 GB, free: 1.355 MB / 1.154 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009375/0.6439, allocations: 5.498 MB / 1.469 GB, free: 11.66 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00237/0.6463, allocations: 2.199 MB / 1.471 GB, free: 9.422 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006062/0.6469, allocations: 95.41 kB / 1.472 GB, free: 9.328 MB / 1.17 GB Notification: Performance of SimCode: time 1.002e-06/0.6469, allocations: 0 / 1.472 GB, free: 9.328 MB / 1.17 GB Notification: Performance of Templates: time 0.04569/0.6926, allocations: 28.31 MB / 1.499 GB, free: 13.11 MB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; mkfifo Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe >> ../files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.sim & ./Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N.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: 15.261676058988087]