Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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.00139/0.00139, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.0025/0.0025, allocations: 215.9 kB / 22.99 MB, free: 4.945 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.548/1.548, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.93/2.93, allocations: 476 MB / 0.7707 GB, free: 4.727 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_Y.S.1.|sen_Y.S.2.|sen_D.S.1.|sen_D.S.2.|errorY|errorD",fileNamePrefix="Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") [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.002122/0.002122, allocations: 65.8 kB / 1.118 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3583/0.3604, allocations: 170 MB / 1.284 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.02345/0.3839, allocations: 10.7 MB / 1.294 GB, free: 1.184 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0167/0.4006, allocations: 5.649 MB / 1.3 GB, free: 11.52 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002349/0.4029, allocations: 71.31 kB / 1.3 GB, free: 11.45 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.005803/0.4087, allocations: 1.735 MB / 1.302 GB, free: 9.707 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.004513/0.4133, allocations: 1.186 MB / 1.303 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002896/0.4161, allocations: 0.813 MB / 1.303 GB, free: 7.703 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003995/0.4201, allocations: 2.12 MB / 1.306 GB, free: 5.574 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001945/0.4221, allocations: 1.018 MB / 1.307 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001859/0.4239, allocations: 0.8796 MB / 1.307 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001561/0.4255, allocations: 0.9063 MB / 1.308 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002253/0.4257, allocations: 116 kB / 1.308 GB, free: 2.625 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003257/0.429, allocations: 1.06 MB / 1.309 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007377/0.4297, allocations: 0.5412 MB / 1.31 GB, free: 1.02 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009424/0.4307, allocations: 0.6452 MB / 1.311 GB, free: 380 kB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004033/0.4347, allocations: 2.451 MB / 1.313 GB, free: 13.91 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.4347, allocations: 0 / 1.313 GB, free: 13.91 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.625e-06/0.4347, allocations: 0 / 1.313 GB, free: 13.91 MB / 1.014 GB Notification: Performance of Transformations before backend: time 2.276e-05/0.4347, allocations: 0 / 1.313 GB, free: 13.91 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 369 * Number of variables: 369 Notification: Performance of Generate backend data structure: time 0.003431/0.4382, allocations: 1.844 MB / 1.315 GB, free: 12.02 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.628e-05/0.4382, allocations: 12.03 kB / 1.315 GB, free: 12.01 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004453/0.4427, allocations: 0.6747 MB / 1.315 GB, free: 11.34 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002061/0.4447, allocations: 0.9213 MB / 1.316 GB, free: 10.39 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.794e-05/0.4448, allocations: 94.89 kB / 1.316 GB, free: 10.3 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002193/0.445, allocations: 124.3 kB / 1.317 GB, free: 10.18 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003543/0.4486, allocations: 2.412 MB / 1.319 GB, free: 7.488 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.586e-05/0.4486, allocations: 15.88 kB / 1.319 GB, free: 7.473 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001365/0.4488, allocations: 55.97 kB / 1.319 GB, free: 7.418 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002249/0.449, allocations: 162.3 kB / 1.319 GB, free: 7.258 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003091/0.4521, allocations: 1.863 MB / 1.321 GB, free: 5.387 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01175/0.4638, allocations: 9.215 MB / 1.33 GB, free: 11.88 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00435/0.4682, allocations: 1.865 MB / 1.332 GB, free: 10.01 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008643/0.469, allocations: 0.5542 MB / 1.332 GB, free: 9.453 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001342/0.4692, allocations: 24.98 kB / 1.332 GB, free: 9.43 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.974e-05/0.4692, allocations: 43.56 kB / 1.332 GB, free: 9.379 MB / 1.029 GB Notification: Performance of pre-optimization done (n=103): time 2.895e-06/0.4692, allocations: 0 / 1.332 GB, free: 9.379 MB / 1.029 GB Notification: Performance of matching and sorting (n=110): time 0.006219/0.4754, allocations: 3.122 MB / 1.335 GB, free: 6.242 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.847e-05/0.4755, allocations: 68.34 kB / 1.335 GB, free: 6.16 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001117/0.4766, allocations: 0.8847 MB / 1.336 GB, free: 5.254 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.645e-05/0.4767, allocations: 41.7 kB / 1.336 GB, free: 5.207 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006656/0.4774, allocations: 0.761 MB / 1.337 GB, free: 4.438 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005181/0.4779, allocations: 400.6 kB / 1.338 GB, free: 4.043 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004355/0.4783, allocations: 291.4 kB / 1.338 GB, free: 3.754 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001409/0.4785, allocations: 301.1 kB / 1.338 GB, free: 3.457 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001064/0.4795, allocations: 0.609 MB / 1.339 GB, free: 2.848 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001439/0.481, allocations: 1.109 MB / 1.34 GB, free: 1.52 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002926/0.4839, allocations: 1.828 MB / 1.342 GB, free: 15.48 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.646e-05/0.4839, allocations: 7.938 kB / 1.342 GB, free: 15.47 MB / 1.045 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.004494/0.4884, allocations: 2.097 MB / 1.344 GB, free: 13.34 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.429e-05/0.4884, allocations: 15.98 kB / 1.344 GB, free: 13.32 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-05/0.4885, allocations: 16 kB / 1.344 GB, free: 13.3 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009852/0.4895, allocations: 255 kB / 1.344 GB, free: 13.03 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001358/0.4908, allocations: 375.4 kB / 1.344 GB, free: 12.66 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01084/0.5017, allocations: 10.57 MB / 1.355 GB, free: 1.273 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001593/0.5033, allocations: 124.2 kB / 1.355 GB, free: 1.152 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/0.5034, allocations: 75.94 kB / 1.355 GB, free: 1.078 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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 (187): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0007522/0.5041, allocations: 408.1 kB / 1.355 GB, free: 0.6719 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002124/0.5043, allocations: 127.2 kB / 1.355 GB, free: 0.5469 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003066/0.5074, allocations: 1.679 MB / 1.357 GB, free: 14.84 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.525e-05/0.5074, allocations: 12 kB / 1.357 GB, free: 14.82 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.5074, allocations: 0 / 1.357 GB, free: 14.82 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.285e-05/0.5074, allocations: 7.969 kB / 1.357 GB, free: 14.82 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00537/0.5128, allocations: 2.938 MB / 1.36 GB, free: 11.75 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.368e-06/0.5128, allocations: 4 kB / 1.36 GB, free: 11.75 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000871/0.5137, allocations: 223.6 kB / 1.36 GB, free: 11.53 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007617/0.5144, allocations: 247.2 kB / 1.36 GB, free: 11.26 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.519e-05/0.5145, allocations: 27.94 kB / 1.36 GB, free: 11.23 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009667/0.5242, allocations: 10.55 MB / 1.371 GB, free: 15.86 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/0.5242, allocations: 7.938 kB / 1.371 GB, free: 15.85 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003137/0.5273, allocations: 1.788 MB / 1.372 GB, free: 13.95 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007039/0.528, allocations: 227.1 kB / 1.373 GB, free: 13.73 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001582/0.5282, allocations: 35.89 kB / 1.373 GB, free: 13.7 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007112/0.5289, allocations: 95.97 kB / 1.373 GB, free: 13.6 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002068/0.5291, allocations: 100.6 kB / 1.373 GB, free: 13.5 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.529e-05/0.5292, allocations: 40 kB / 1.373 GB, free: 13.46 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0007947/0.53, allocations: 0.5647 MB / 1.373 GB, free: 12.89 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.53, allocations: 0 / 1.373 GB, free: 12.89 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001454/0.5314, allocations: 395.9 kB / 1.374 GB, free: 12.5 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (109): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002511/0.5317, allocations: 144.4 kB / 1.374 GB, free: 12.36 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.003849/0.5355, allocations: 2.399 MB / 1.376 GB, free: 9.855 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.5355, allocations: 0 / 1.376 GB, free: 9.855 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.002464/0.538, allocations: 1.594 MB / 1.378 GB, free: 8.16 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00198/0.54, allocations: 340.9 kB / 1.378 GB, free: 7.836 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005068/0.545, allocations: 2.903 MB / 1.381 GB, free: 4.824 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008654/0.5459, allocations: 0.7371 MB / 1.382 GB, free: 4.055 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004196/0.5463, allocations: 111.4 kB / 1.382 GB, free: 3.945 MB / 1.076 GB Notification: Performance of SimCode: time 8.12e-07/0.5463, allocations: 0 / 1.382 GB, free: 3.945 MB / 1.076 GB Notification: Performance of Templates: time 0.07047/0.6168, allocations: 59.74 MB / 1.44 GB, free: 8.199 MB / 1.139 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesBalanced_Loads_Examples_ThreePhases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.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: 16.607098593842238]