Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.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.0005778/0.0005778, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0007685/0.001346, 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.0006203/0.0006203, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0006852/0.001305, 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.2357/0.2357, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.06468/0.3003, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 0.5222/0.5222, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.1158/0.638, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 179] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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: simulate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,startTime=0,stopTime=3600,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU",simflags="-abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS") simulate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,startTime=0,stopTime=3600,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU",simflags="-abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS") [Timeout 540] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.679e-05/2.841e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.001496/0.001524, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.0005874/0.002112, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 1.393e-05/0.002126, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 9.718e-06/0.002136, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 2.24e-05/0.002158, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 7.902e-05/0.002237, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 5.076e-05/0.002288, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 3.799e-05/0.002326, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0001183/0.002444, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 2.204e-05/0.002466, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 1.03e-05/0.002476, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 1.925e-05/0.002496, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 1.289e-05/0.002508, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 9.478e-06/0.002518, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 7.577e-05/0.002594, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 2.448e-05/0.002618, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.814e-06/0.00262, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.565e-05/0.002636, 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000455/0.003091, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 5.845e-05/0.003149, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002092/0.003358, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001781/0.003536, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.003551, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.003572, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001159/0.003688, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.003697, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.184e-05/0.003719, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/0.003724, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 3.146e-05/0.003756, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001693/0.003925, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 5.15e-05/0.003977, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 2.351e-05/0.004, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.004016, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.784e-05/0.004034, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=2): time 5.84e-06/0.00404, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=2): time 8.117e-05/0.004121, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 2.261e-05/0.004143, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.424e-05/0.004178, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.004203, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 1.322e-05/0.004216, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 1.372e-05/0.00423, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 2.535e-05/0.004255, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 2.362e-05/0.004279, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 7.795e-06/0.004287, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 4.909e-06/0.004291, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 1.674e-05/0.004308, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.00431, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=2) (initialization): time 4.996e-05/0.00436, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 9.858e-06/0.00437, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.745e-06/0.004373, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.00439, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.1e-05/0.004441, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.004448, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.866e-05/0.004466, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.052e-06/0.004472, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 4.078e-05/0.004513, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 1.759e-05/0.004531, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.826e-05/0.004569, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.00457, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.368e-05/0.004584, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.004587, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.004712, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.004714, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.133e-05/0.004735, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 1.323e-05/0.004748, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.004751, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.004758, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.004759, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.004761, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 6.931e-05/0.00483, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.861e-05/0.004868, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.971e-05/0.004898, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 2.591e-05/0.004924, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.004927, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 1.092e-05/0.004938, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.362e-06/0.004939, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0001474/0.005087, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * 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 8.991e-05/0.005177, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 8.24e-05/0.005259, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 7.384e-06/0.005267, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 3.5e-05/0.005302, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001617/0.005463, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004391/0.005902, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 2.16e-05/0.005924, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 1.398e-05/0.005938, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 4.978e-05/0.005988, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 9.237e-06/0.005997, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.001128/0.007125, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 540] diffSimulationResults("Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.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.4344949200749397]