Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008212/0.0008212, allocations: 76.55 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007859/0.0007859, allocations: 181.9 kB / 23.22 MB, free: 1.348 MB / 18.57 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.8729/0.8729, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.582/1.582, allocations: 359 MB / 0.6044 GB, free: 11.08 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 0.9517 GB, free: 1.875 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.918e-05/4.109e-05, allocations: 2.281 kB / 0.9517 GB, free: 1.871 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.002623/0.002664, allocations: 1.451 MB / 0.9531 GB, free: 412 kB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0008903/0.003555, allocations: 443.5 kB / 0.9536 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.053e-05/0.003645, allocations: 3.938 kB / 0.9536 GB, free: 15.96 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 4.031e-05/0.003686, allocations: 7.938 kB / 0.9536 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 5.842e-05/0.003744, allocations: 0 / 0.9536 GB, free: 15.95 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003239/0.004068, allocations: 23.86 kB / 0.9536 GB, free: 15.93 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 0.0001469/0.004215, allocations: 31.84 kB / 0.9536 GB, free: 15.9 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.004351, allocations: 7.984 kB / 0.9536 GB, free: 15.89 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001855/0.004537, allocations: 19.98 kB / 0.9537 GB, free: 15.87 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.814e-05/0.004595, allocations: 7.938 kB / 0.9537 GB, free: 15.86 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.004615, allocations: 0 / 0.9537 GB, free: 15.86 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.386e-05/0.004668, allocations: 8 kB / 0.9537 GB, free: 15.86 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 1.292e-05/0.004681, allocations: 7.969 kB / 0.9537 GB, free: 15.85 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 2.36e-05/0.004705, allocations: 12 kB / 0.9537 GB, free: 15.84 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.004839, allocations: 27.84 kB / 0.9537 GB, free: 15.81 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.004842, allocations: 0 / 0.9537 GB, free: 15.81 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.643e-06/0.004844, allocations: 0 / 0.9537 GB, free: 15.81 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.00485, allocations: 0 / 0.9537 GB, free: 15.81 MB / 0.8698 GB 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.0003933/0.005243, allocations: 266.2 kB / 0.954 GB, free: 15.52 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.005288, allocations: 11.97 kB / 0.954 GB, free: 15.51 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001332/0.005421, allocations: 12.92 kB / 0.954 GB, free: 15.5 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002129/0.005634, allocations: 117.7 kB / 0.9541 GB, free: 15.36 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.008e-05/0.005644, allocations: 384 / 0.9541 GB, free: 15.36 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.786e-06/0.005653, allocations: 4.375 kB / 0.9541 GB, free: 15.35 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001325/0.005785, allocations: 46.25 kB / 0.9542 GB, free: 15.3 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.043e-05/0.005795, allocations: 4.172 kB / 0.9542 GB, free: 15.3 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.005806, allocations: 384 / 0.9542 GB, free: 15.3 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/0.005812, allocations: 7.938 kB / 0.9542 GB, free: 15.29 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.446e-05/0.005866, allocations: 15.98 kB / 0.9542 GB, free: 15.27 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004515/0.006318, allocations: 204.5 kB / 0.9544 GB, free: 15.04 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.064e-05/0.006389, allocations: 22.58 kB / 0.9544 GB, free: 15.01 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.427e-05/0.006423, allocations: 24.91 kB / 0.9544 GB, free: 14.98 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.539e-05/0.006438, allocations: 0 / 0.9544 GB, free: 14.98 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.006459, allocations: 34.5 kB / 0.9545 GB, free: 14.94 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 9.52e-07/0.00646, allocations: 0 / 0.9545 GB, free: 14.94 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0001853/0.006646, allocations: 65.61 kB / 0.9545 GB, free: 14.87 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.089e-05/0.006677, allocations: 55.41 kB / 0.9546 GB, free: 14.8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.787e-05/0.006744, allocations: 105.8 kB / 0.9547 GB, free: 14.69 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 9.067e-06/0.006754, allocations: 25.7 kB / 0.9547 GB, free: 14.66 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.928e-05/0.006793, allocations: 92.2 kB / 0.9548 GB, free: 14.57 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-05/0.006813, allocations: 11.89 kB / 0.9548 GB, free: 14.55 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.466e-05/0.006837, allocations: 13.7 kB / 0.9548 GB, free: 14.54 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.947e-05/0.006917, allocations: 318.8 kB / 0.9551 GB, free: 14.21 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.588e-05/0.006943, allocations: 7.938 kB / 0.9551 GB, free: 14.21 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.225e-05/0.006965, allocations: 11.98 kB / 0.9551 GB, free: 14.2 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.49e-05/0.00701, allocations: 24.84 kB / 0.9552 GB, free: 14.17 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.007012, allocations: 0 / 0.9552 GB, free: 14.17 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.413e-05/0.007086, allocations: 61.64 kB / 0.9552 GB, free: 14.1 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.007102, allocations: 11.94 kB / 0.9552 GB, free: 14.09 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.007109, allocations: 0 / 0.9552 GB, free: 14.09 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.007123, allocations: 0 / 0.9552 GB, free: 14.09 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.48e-05/0.007188, allocations: 11.98 kB / 0.9552 GB, free: 14.08 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.007193, allocations: 320 / 0.9552 GB, free: 14.08 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.466e-05/0.007208, allocations: 0 / 0.9552 GB, free: 14.08 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.007214, allocations: 4 kB / 0.9552 GB, free: 14.07 MB / 0.8698 GB 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 5.569e-05/0.00727, allocations: 108 kB / 0.9553 GB, free: 13.96 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.244e-05/0.007282, allocations: 7.969 kB / 0.9554 GB, free: 13.95 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.985e-05/0.007302, allocations: 11.62 kB / 0.9554 GB, free: 13.94 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.007305, allocations: 3.984 kB / 0.9554 GB, free: 13.94 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.00731, allocations: 0 / 0.9554 GB, free: 13.94 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.007313, allocations: 0 / 0.9554 GB, free: 13.94 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.444e-05/0.007397, allocations: 105.3 kB / 0.9555 GB, free: 13.8 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.007398, allocations: 0 / 0.9555 GB, free: 13.8 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.034e-05/0.007419, allocations: 7.984 kB / 0.9555 GB, free: 13.8 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.00742, allocations: 0 / 0.9555 GB, free: 13.8 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.00743, allocations: 3.938 kB / 0.9555 GB, free: 13.79 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.007431, allocations: 0 / 0.9555 GB, free: 13.79 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.007432, allocations: 4 kB / 0.9555 GB, free: 13.79 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001102/0.007543, allocations: 155.4 kB / 0.9556 GB, free: 13.62 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.054e-06/0.00755, allocations: 0 / 0.9556 GB, free: 13.62 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.007561, allocations: 3.938 kB / 0.9556 GB, free: 13.62 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.972e-05/0.007591, allocations: 4 kB / 0.9556 GB, free: 13.61 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.413e-05/0.007625, allocations: 0 / 0.9556 GB, free: 13.61 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.007627, allocations: 0 / 0.9556 GB, free: 13.61 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 3.258e-05/0.00766, allocations: 95.25 kB / 0.9557 GB, free: 13.52 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.1e-08/0.00766, allocations: 3.938 kB / 0.9557 GB, free: 13.52 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001407/0.007801, allocations: 4 kB / 0.9557 GB, free: 13.51 MB / 0.8698 GB 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 0.0001029/0.007904, allocations: 95.28 kB / 0.9558 GB, free: 13.41 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 9.827e-05/0.008002, allocations: 27.92 kB / 0.9559 GB, free: 13.38 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 1.212e-06/0.008003, allocations: 0 / 0.9559 GB, free: 13.38 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 2.266e-05/0.008026, allocations: 15.98 kB / 0.9559 GB, free: 13.37 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001663/0.008192, allocations: 0 / 0.9559 GB, free: 13.37 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002901/0.008482, allocations: 138.6 kB / 0.956 GB, free: 13.2 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.68e-05/0.008529, allocations: 67.47 kB / 0.9561 GB, free: 13.11 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.69e-05/0.008556, allocations: 12.44 kB / 0.9561 GB, free: 13.1 MB / 0.8698 GB Notification: Performance of SimCode: time 6.81e-07/0.008557, allocations: 0 / 0.9561 GB, free: 13.1 MB / 0.8698 GB Notification: Performance of Templates: time 0.001674/0.01023, allocations: 0.561 MB / 0.9566 GB, free: 12.54 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; mkfifo Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe >> ../files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.sim & ./Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_KMinusU.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.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: 6.3626836417242885]