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.001351/0.001351, allocations: 107.8 kB / 19.71 MB, free: 2.145 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.001512/0.001512, allocations: 217.3 kB / 23.01 MB, free: 4.969 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.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.285/3.285, allocations: 0.49 GB / 0.7959 GB, free: 35.47 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.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.002036/0.002036, allocations: 76.11 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3274/0.3294, allocations: 176.1 MB / 1.327 GB, free: 1.035 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Impedances): time 0.02028/0.3497, allocations: 15.48 MB / 1.342 GB, free: 1.504 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.008899/0.3586, allocations: 4.774 MB / 1.347 GB, free: 12.71 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001114/0.3597, allocations: 87.31 kB / 1.347 GB, free: 12.63 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.002915/0.3626, allocations: 1.063 MB / 1.348 GB, free: 11.56 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.002072/0.3647, allocations: 0.7699 MB / 1.349 GB, free: 10.79 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.002493/0.3672, allocations: 0.9265 MB / 1.35 GB, free: 9.863 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.005594/0.3728, allocations: 3.61 MB / 1.353 GB, free: 6.242 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003878/0.3766, allocations: 2.462 MB / 1.356 GB, free: 3.707 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002408/0.3791, allocations: 1.636 MB / 1.357 GB, free: 2.066 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00258/0.3816, allocations: 1.877 MB / 1.359 GB, free: 188 kB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.0005486/0.3822, allocations: 340 kB / 1.359 GB, free: 15.85 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00146/0.3836, allocations: 0.7567 MB / 1.36 GB, free: 15.09 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.001344/0.385, allocations: 1.36 MB / 1.361 GB, free: 13.73 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.001338/0.3863, allocations: 1.179 MB / 1.363 GB, free: 12.55 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.005127/0.3915, allocations: 5.171 MB / 1.368 GB, free: 7.359 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.3915, allocations: 0 / 1.368 GB, free: 7.359 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.013e-06/0.3915, allocations: 4 kB / 1.368 GB, free: 7.355 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.188e-05/0.3915, allocations: 0 / 1.368 GB, free: 7.355 MB / 1.061 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.004824/0.3963, allocations: 2.634 MB / 1.37 GB, free: 4.676 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.451e-05/0.3964, allocations: 16.02 kB / 1.37 GB, free: 4.66 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004012/0.4004, allocations: 0.8459 MB / 1.371 GB, free: 3.812 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00342/0.4038, allocations: 1.539 MB / 1.373 GB, free: 2.238 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001987/0.404, allocations: 177.1 kB / 1.373 GB, free: 2.062 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000427/0.4044, allocations: 232.4 kB / 1.373 GB, free: 1.836 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007119/0.4116, allocations: 4.27 MB / 1.377 GB, free: 13.4 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.699e-05/0.4116, allocations: 4 kB / 1.377 GB, free: 13.4 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002696/0.4119, allocations: 99.98 kB / 1.377 GB, free: 13.3 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002063/0.4121, allocations: 168.5 kB / 1.377 GB, free: 13.13 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005941/0.418, allocations: 3.624 MB / 1.381 GB, free: 9.492 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01909/0.4371, allocations: 10.46 MB / 1.391 GB, free: 14.71 MB / 1.092 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004579/0.4417, allocations: 1.469 MB / 1.393 GB, free: 13.21 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001313/0.443, allocations: 0.5475 MB / 1.393 GB, free: 12.66 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001494/0.4432, allocations: 20.64 kB / 1.393 GB, free: 12.64 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.844e-05/0.4432, allocations: 39.22 kB / 1.393 GB, free: 12.59 MB / 1.092 GB Notification: Performance of pre-optimization done (n=72): time 5.1e-06/0.4432, allocations: 0 / 1.393 GB, free: 12.59 MB / 1.092 GB Notification: Performance of matching and sorting (n=76): time 0.008432/0.4517, allocations: 3.197 MB / 1.396 GB, free: 9.371 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.885e-05/0.4518, allocations: 115.4 kB / 1.396 GB, free: 9.234 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001998/0.4538, allocations: 1.044 MB / 1.397 GB, free: 8.164 MB / 1.092 GB Notification: Performance of collectPreVariables (initialization): time 8.223e-05/0.4538, allocations: 33.7 kB / 1.397 GB, free: 8.125 MB / 1.092 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008833/0.4547, allocations: 1.146 MB / 1.399 GB, free: 6.965 MB / 1.092 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002624/0.455, allocations: 297.6 kB / 1.399 GB, free: 6.672 MB / 1.092 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004223/0.4554, allocations: 279.4 kB / 1.399 GB, free: 6.391 MB / 1.092 GB Notification: Performance of setup shared object (initialization): time 0.0002405/0.4556, allocations: 410.7 kB / 1.399 GB, free: 5.98 MB / 1.092 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009866/0.4566, allocations: 0.6128 MB / 1.4 GB, free: 5.367 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001451/0.4581, allocations: 1.185 MB / 1.401 GB, free: 3.922 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002452/0.4605, allocations: 1.864 MB / 1.403 GB, free: 1.789 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.013e-05/0.4605, allocations: 7.938 kB / 1.403 GB, free: 1.781 MB / 1.092 GB Notification: Performance of matching and sorting (n=173) (initialization): time 0.003409/0.464, allocations: 2.023 MB / 1.405 GB, free: 15.74 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 3.095e-05/0.464, allocations: 17.91 kB / 1.405 GB, free: 15.72 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.222e-05/0.464, allocations: 23.94 kB / 1.405 GB, free: 15.7 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004604/0.4645, allocations: 159.3 kB / 1.405 GB, free: 15.53 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001157/0.4656, allocations: 343.4 kB / 1.406 GB, free: 15.2 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.112e-05/0.4657, allocations: 43.8 kB / 1.406 GB, free: 15.15 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/0.4667, allocations: 131.7 kB / 1.406 GB, free: 15.02 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/0.4668, allocations: 68 kB / 1.406 GB, free: 14.96 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.001551/0.4683, allocations: 0.9732 MB / 1.407 GB, free: 13.97 MB / 1.107 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002474/0.4686, allocations: 111.3 kB / 1.407 GB, free: 13.86 MB / 1.107 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002298/0.4709, allocations: 1.232 MB / 1.408 GB, free: 12.61 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.4709, allocations: 0 / 1.408 GB, free: 12.61 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.084e-06/0.4709, allocations: 7.984 kB / 1.408 GB, free: 12.6 MB / 1.107 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005418/0.4714, allocations: 195.2 kB / 1.408 GB, free: 12.41 MB / 1.107 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001417/0.4716, allocations: 16 kB / 1.408 GB, free: 12.39 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005767/0.4722, allocations: 67.91 kB / 1.408 GB, free: 12.33 MB / 1.107 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/0.4723, allocations: 52.55 kB / 1.408 GB, free: 12.28 MB / 1.107 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002489/0.4748, allocations: 1.432 MB / 1.41 GB, free: 10.82 MB / 1.107 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002611/0.4774, allocations: 1.911 MB / 1.412 GB, free: 8.898 MB / 1.107 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006905/0.4781, allocations: 464.9 kB / 1.412 GB, free: 8.441 MB / 1.107 GB Notification: Performance of sorting global known variables: time 0.001011/0.4791, allocations: 0.6871 MB / 1.413 GB, free: 7.742 MB / 1.107 GB Notification: Performance of Backend: time 3.5e-07/0.4791, allocations: 0 / 1.413 GB, free: 7.742 MB / 1.107 GB Notification: Performance of simCode: created initialization part: time 0.003182/0.4823, allocations: 1.277 MB / 1.414 GB, free: 6.449 MB / 1.107 GB Notification: Performance of SimCode: time 0.006903/0.4892, allocations: 4.089 MB / 1.418 GB, free: 2.305 MB / 1.107 GB Notification: Performance of Templates: time 0.03799/0.5272, allocations: 21.73 MB / 1.439 GB, free: 12.87 MB / 1.139 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 -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.501818744000047]