Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0003025/0.0003025, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.000519/0.0008215, allocations: 0 / 0, free: 0 / 0 " [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.0003727/0.0003727, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0004143/0.000787, allocations: 0 / 0, free: 0 / 0 " [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.155/0.155, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.04826/0.2032, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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 0.3264/0.3264, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.1604/0.4868, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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: simulate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium",simflags="-abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS") simulate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|R1.v.[0-9,]+.|R2.v.[0-9,]+.|R3.v.[0-9,]+.|R1.i.[0-9,]+.|load_sc.i.[0-9,]+.|R2.i.[0-9,]+.|R3.i.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium",simflags="-abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS") [Timeout 540] "Notification: Performance of FrontEnd - loaded program: time 1.522e-06/1.522e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 5.291e-05/5.443e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium): time 0.01401/0.01407, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.01494/0.02901, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 0.001856/0.03086, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.00143/0.03229, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 0.006055/0.03835, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.00184/0.04019, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 0.002862/0.04305, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 0.001786/0.04483, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.003333/0.04817, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 0.00124/0.04941, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0001572/0.04957, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0006507/0.05022, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.0005178/0.05073, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.0005735/0.05131, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.001955/0.05326, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0002378/0.0535, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 2.936e-06/0.0535, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 2.117e-05/0.05352, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.002846/0.05637, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0001385/0.05651, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003784/0.06029, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.00166/0.06195, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001129/0.06207, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002676/0.06233, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.002356/0.06469, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 5.209e-05/0.06474, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001931/0.06493, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000491/0.06543, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.06647, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007691/0.07417, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 0.001473/0.07564, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 0.0004399/0.07608, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 2.941e-05/0.07611, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.819e-05/0.07616, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=89): time 1.011e-05/0.07617, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=90): time 0.01397/0.09013, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.09018, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009442/0.09112, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 0.0001781/0.0913, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.0003572/0.09166, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0003071/0.09196, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004593/0.09242, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 3.549e-05/0.09246, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003753/0.09283, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004756/0.09331, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.001044/0.09435, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.155e-05/0.09436, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=127) (initialization): time 0.003241/0.0976, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 3.001e-05/0.09763, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/0.09765, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.003306/0.101, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001128/0.1021, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007911/0.11, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009485/0.1109, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001619/0.1111, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (73): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,8,100.0%), (3,17,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006483/0.1118, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002374/0.112, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003286/0.1153, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.028e-05/0.1153, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.359e-05/0.1153, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.118e-05/0.1153, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00464/0.12, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.075e-06/0.12, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009223/0.1209, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.0005477/0.1214, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 0.003171/0.1246, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000144/0.1247, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007506/0.1323, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.1323, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002911/0.1352, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004873/0.1357, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007827/0.1364, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003686/0.1368, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001562/0.137, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.0005748/0.1375, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 3.483e-05/0.1376, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.002046/0.1396, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (37): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008648/0.1405, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.002378/0.1429, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 5.053e-05/0.1429, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 0.001501/0.1444, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001889/0.1463, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00627/0.1526, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006386/0.1532, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.0008715/0.1541, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001149/0.1552, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 8.156e-05/0.1553, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.008656/0.164, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 540] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium.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: 1.354969491250813]