Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001126/0.001126, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001583/0.00271, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001046/0.001046, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00141/0.002457, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9541/0.9541, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08593/1.04, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.321/2.321, allocations: 447.1 MB / 0.675 GB, free: 5.914 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2282/2.55, allocations: 146 MB / 0.8176 GB, free: 3.832 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.ThreePhasesBalanced.Loads.Examples.ThreePhases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sen_Y.S.[0-9,]+.|sen_D.S.[0-9,]+.|errorY|errorD",fileNamePrefix="Buildings_latest_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.[0-9,]+.|sen_D.S.[0-9,]+.|errorY|errorD",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.8189 GB, free: 2.508 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.33e-05/1.514e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.504 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases): time 0.008241/0.008256, allocations: 6.946 MB / 0.8257 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.005373/0.01363, allocations: 2.571 MB / 0.8282 GB, free: 8.938 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000652/0.01428, allocations: 75.31 kB / 0.8283 GB, free: 8.863 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.000862/0.01514, allocations: 361.3 kB / 0.8286 GB, free: 8.508 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.00166/0.0168, allocations: 0.9708 MB / 0.8296 GB, free: 7.531 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001107/0.01791, allocations: 0.5692 MB / 0.8301 GB, free: 6.961 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.002618/0.02053, allocations: 2.349 MB / 0.8324 GB, free: 4.605 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001403/0.02193, allocations: 1.022 MB / 0.8334 GB, free: 3.547 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001876/0.02381, allocations: 1.336 MB / 0.8347 GB, free: 2.203 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001363/0.02517, allocations: 0.9231 MB / 0.8356 GB, free: 1.277 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0001938/0.02536, allocations: 112 kB / 0.8357 GB, free: 1.168 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005856/0.02595, allocations: 255.5 kB / 0.836 GB, free: 0.918 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0004951/0.02644, allocations: 0.5142 MB / 0.8365 GB, free: 412 kB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0005632/0.02701, allocations: 451.1 kB / 0.8369 GB, free: 15.96 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.001386/0.02839, allocations: 1.214 MB / 0.8381 GB, free: 14.74 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 1.709e-05/0.02841, allocations: 0 / 0.8381 GB, free: 14.74 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.274e-06/0.02841, allocations: 0 / 0.8381 GB, free: 14.74 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.631e-05/0.02845, allocations: 3.938 kB / 0.8381 GB, free: 14.74 MB / 0.823 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.001871/0.03032, allocations: 2.007 MB / 0.8401 GB, free: 12.7 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.11e-05/0.03035, allocations: 8.031 kB / 0.8401 GB, free: 12.69 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002113/0.03247, allocations: 0.8088 MB / 0.8409 GB, free: 11.86 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008845/0.03335, allocations: 0.8675 MB / 0.8417 GB, free: 10.96 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.977e-05/0.0334, allocations: 94.89 kB / 0.8418 GB, free: 10.87 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001294/0.03353, allocations: 128.3 kB / 0.8419 GB, free: 10.75 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/0.0347, allocations: 1.588 MB / 0.8435 GB, free: 8.879 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.996e-05/0.03473, allocations: 12.11 kB / 0.8435 GB, free: 8.867 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.974e-05/0.03481, allocations: 68.33 kB / 0.8436 GB, free: 8.801 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001243/0.03493, allocations: 158.2 kB / 0.8437 GB, free: 8.645 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006445/0.03558, allocations: 0.5855 MB / 0.8443 GB, free: 8.047 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004529/0.04011, allocations: 7.819 MB / 0.8519 GB, free: 15.95 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001632/0.04174, allocations: 1.358 MB / 0.8532 GB, free: 14.59 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002/0.04194, allocations: 159.8 kB / 0.8534 GB, free: 14.43 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 8.057e-05/0.04202, allocations: 28.98 kB / 0.8534 GB, free: 14.4 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.902e-05/0.04205, allocations: 43.56 kB / 0.8535 GB, free: 14.35 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=103): time 2.284e-06/0.04205, allocations: 0 / 0.8535 GB, free: 14.35 MB / 0.8386 GB Notification: Performance of matching and sorting (n=110): time 0.001818/0.04387, allocations: 1.289 MB / 0.8547 GB, free: 13.04 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.0439, allocations: 64.41 kB / 0.8548 GB, free: 12.96 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004592/0.04436, allocations: 0.7886 MB / 0.8556 GB, free: 12.15 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.725e-05/0.04441, allocations: 45.7 kB / 0.8556 GB, free: 12.1 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002749/0.04468, allocations: 0.6613 MB / 0.8562 GB, free: 11.43 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001962/0.04488, allocations: 404.5 kB / 0.8566 GB, free: 11.04 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002269/0.04511, allocations: 271.3 kB / 0.8569 GB, free: 10.76 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.367e-05/0.04518, allocations: 305.1 kB / 0.8572 GB, free: 10.46 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001947/0.04537, allocations: 175.9 kB / 0.8573 GB, free: 10.29 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004209/0.0458, allocations: 0.676 MB / 0.858 GB, free: 9.395 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007925/0.04659, allocations: 1.06 MB / 0.859 GB, free: 8.117 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.09e-06/0.04659, allocations: 8 kB / 0.859 GB, free: 8.109 MB / 0.8386 GB Notification: Performance of matching and sorting (n=195) (initialization): time 0.001039/0.04763, allocations: 1.059 MB / 0.8601 GB, free: 7.008 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.04765, allocations: 12 kB / 0.8601 GB, free: 6.996 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.467e-05/0.04766, allocations: 20.69 kB / 0.8601 GB, free: 6.977 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003923/0.04806, allocations: 225.3 kB / 0.8603 GB, free: 6.723 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006364/0.04869, allocations: 355.5 kB / 0.8607 GB, free: 6.375 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0041/0.05279, allocations: 9.588 MB / 0.87 GB, free: 12.02 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003799/0.05317, allocations: 51.94 kB / 0.8701 GB, free: 11.96 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.737e-05/0.05323, allocations: 55.98 kB / 0.8701 GB, free: 11.91 MB / 0.8542 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.0002109/0.05344, allocations: 214.9 kB / 0.8703 GB, free: 11.69 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001186/0.05356, allocations: 111.9 kB / 0.8704 GB, free: 11.58 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000873/0.05443, allocations: 0.7827 MB / 0.8712 GB, free: 10.76 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.002e-06/0.05444, allocations: 12 kB / 0.8712 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.845e-06/0.05444, allocations: 0 / 0.8712 GB, free: 10.75 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.05445, allocations: 7.984 kB / 0.8712 GB, free: 10.74 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001621/0.05607, allocations: 1.579 MB / 0.8728 GB, free: 9.031 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-06/0.05607, allocations: 4 kB / 0.8728 GB, free: 9.027 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000394/0.05647, allocations: 191.7 kB / 0.873 GB, free: 8.84 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001946/0.05666, allocations: 171.1 kB / 0.8731 GB, free: 8.672 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003465/0.05701, allocations: 217.9 kB / 0.8733 GB, free: 8.426 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.802e-05/0.05705, allocations: 20 kB / 0.8733 GB, free: 8.406 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003851/0.0609, allocations: 9.575 MB / 0.8827 GB, free: 14.07 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.06091, allocations: 11.94 kB / 0.8827 GB, free: 14.05 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008333/0.06174, allocations: 0.9557 MB / 0.8836 GB, free: 12.98 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.356e-05/0.06182, allocations: 31.88 kB / 0.8837 GB, free: 12.95 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/0.06208, allocations: 27.98 kB / 0.8837 GB, free: 12.92 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/0.06218, allocations: 96.72 kB / 0.8838 GB, free: 12.83 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-05/0.06222, allocations: 28 kB / 0.8838 GB, free: 12.8 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0002297/0.06245, allocations: 364.4 kB / 0.8842 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of sort global known variables: time 6e-08/0.06245, allocations: 4 kB / 0.8842 GB, free: 12.43 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0006719/0.06312, allocations: 388 kB / 0.8845 GB, free: 12.05 MB / 0.8698 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.0001556/0.06328, allocations: 136.1 kB / 0.8847 GB, free: 11.91 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.001243/0.06452, allocations: 1.658 MB / 0.8863 GB, free: 10.16 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.33e-05/0.06456, allocations: 41.66 kB / 0.8863 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008637/0.06543, allocations: 1.298 MB / 0.8876 GB, free: 8.711 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001577/0.067, allocations: 3.014 MB / 0.8905 GB, free: 5.102 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006267/0.07327, allocations: 2.583 MB / 0.8931 GB, free: 2.406 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002378/0.07351, allocations: 357.2 kB / 0.8934 GB, free: 2.035 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0003561/0.07386, allocations: 175.2 kB / 0.8936 GB, free: 1.859 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004858/0.07435, allocations: 329.1 kB / 0.8939 GB, free: 1.539 MB / 0.8698 GB Notification: Performance of SimCode: time 1.102e-06/0.07435, allocations: 0 / 0.8939 GB, free: 1.539 MB / 0.8698 GB Notification: Performance of Templates: time 0.01987/0.09422, allocations: 19.05 MB / 0.9125 GB, free: 14.83 MB / 0.9011 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Loads.Examples.ThreePhases.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.330858271569014]