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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|kMinU.u|kMinU.y",fileNamePrefix="Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 89.89 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007855/0.007855, allocations: 170.3 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.95/2.95, allocations: 470.6 MB / 0.7442 GB, free: 8.785 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003428/0.0003428, allocations: 8.656 kB / 0.9123 GB, free: 34.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2894/0.2897, allocations: 161.4 MB / 1.07 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU): time 0.001773/0.2915, allocations: 1.157 MB / 1.071 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0006351/0.2922, allocations: 391.2 kB / 1.071 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.244e-05/0.2922, allocations: 4 kB / 1.071 GB, free: 9.781 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.195e-05/0.2923, allocations: 3.984 kB / 1.071 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.374e-05/0.2923, allocations: 3.984 kB / 1.071 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001314/0.2925, allocations: 3.938 kB / 1.071 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.748e-05/0.2925, allocations: 27.92 kB / 1.071 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.701e-05/0.2926, allocations: 4 kB / 1.071 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.122e-05/0.2927, allocations: 19.92 kB / 1.071 GB, free: 9.719 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.684e-05/0.2928, allocations: 7.938 kB / 1.071 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.81e-05/0.2928, allocations: 0 / 1.071 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.317e-06/0.2928, allocations: 0 / 1.071 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.742e-05/0.2929, allocations: 3.984 kB / 1.071 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.724e-05/0.2929, allocations: 41.62 kB / 1.072 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 6.514e-05/0.293, allocations: 15.91 kB / 1.072 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.317e-06/0.293, allocations: 0 / 1.072 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.312e-06/0.293, allocations: 0 / 1.072 GB, free: 9.645 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.293, allocations: 0 / 1.072 GB, free: 9.645 MB / 0.8262 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.0004095/0.2934, allocations: 341.1 kB / 1.072 GB, free: 9.266 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.703e-05/0.2935, allocations: 11.97 kB / 1.072 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.37e-05/0.2935, allocations: 4.938 kB / 1.072 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001339/0.2936, allocations: 160.4 kB / 1.072 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.237e-05/0.2937, allocations: 8.312 kB / 1.072 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.888e-06/0.2937, allocations: 384 / 1.072 GB, free: 9.047 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001302/0.2938, allocations: 53.97 kB / 1.072 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.2938, allocations: 4 kB / 1.072 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.236e-06/0.2938, allocations: 0 / 1.072 GB, free: 8.984 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.711e-06/0.2938, allocations: 4 kB / 1.072 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.63e-05/0.2939, allocations: 19.98 kB / 1.072 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003424/0.2943, allocations: 252.8 kB / 1.072 GB, free: 8.664 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 9.467e-05/0.2944, allocations: 38.5 kB / 1.072 GB, free: 8.617 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.73e-05/0.2945, allocations: 20.92 kB / 1.072 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.369e-05/0.2945, allocations: 0 / 1.072 GB, free: 8.594 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.845e-05/0.2945, allocations: 34.55 kB / 1.072 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 8.32e-07/0.2945, allocations: 0 / 1.072 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0002299/0.2948, allocations: 69.62 kB / 1.073 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.101e-05/0.2948, allocations: 59.34 kB / 1.073 GB, free: 8.406 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.415e-05/0.2949, allocations: 105.8 kB / 1.073 GB, free: 8.293 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.2949, allocations: 25.7 kB / 1.073 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.766e-05/0.295, allocations: 80.14 kB / 1.073 GB, free: 8.18 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.344e-05/0.295, allocations: 7.844 kB / 1.073 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.753e-05/0.295, allocations: 21.83 kB / 1.073 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.2952, allocations: 314.8 kB / 1.073 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.268e-05/0.2952, allocations: 11.94 kB / 1.073 GB, free: 7.816 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.619e-05/0.2953, allocations: 11.98 kB / 1.073 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.689e-05/0.2954, allocations: 36.84 kB / 1.073 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2954, allocations: 0 / 1.073 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001413/0.2955, allocations: 53.69 kB / 1.073 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.2956, allocations: 4 kB / 1.073 GB, free: 7.703 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.2956, allocations: 7.938 kB / 1.073 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.728e-06/0.2956, allocations: 0 / 1.073 GB, free: 7.695 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.834e-05/0.2957, allocations: 7.984 kB / 1.073 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.2957, allocations: 0 / 1.073 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.335e-05/0.2957, allocations: 8.281 kB / 1.073 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.657e-06/0.2957, allocations: 4 kB / 1.073 GB, free: 7.676 MB / 0.8262 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 7.903e-05/0.2958, allocations: 109.8 kB / 1.073 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.589e-05/0.2958, allocations: 11.91 kB / 1.073 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.918e-05/0.2959, allocations: 3.531 kB / 1.073 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.2959, allocations: 0 / 1.073 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.503e-06/0.2959, allocations: 3.984 kB / 1.073 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.2959, allocations: 0 / 1.073 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001838/0.2961, allocations: 169.6 kB / 1.074 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.2961, allocations: 0 / 1.074 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.278e-05/0.2961, allocations: 4 kB / 1.074 GB, free: 7.32 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.429e-06/0.2961, allocations: 3.984 kB / 1.074 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.2962, allocations: 0 / 1.074 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2962, allocations: 0 / 1.074 GB, free: 7.316 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2962, allocations: 4 kB / 1.074 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001863/0.2964, allocations: 159.4 kB / 1.074 GB, free: 7.141 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.4e-05/0.2964, allocations: 77.11 kB / 1.074 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.059e-05/0.2964, allocations: 0 / 1.074 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.198e-05/0.2965, allocations: 7.984 kB / 1.074 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.007e-05/0.2965, allocations: 0 / 1.074 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.855e-06/0.2965, allocations: 0 / 1.074 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.521e-05/0.2966, allocations: 87.27 kB / 1.074 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2966, allocations: 4 kB / 1.074 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002101/0.2968, allocations: 4.031 kB / 1.074 GB, free: 6.945 MB / 0.8262 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.0001031/0.2969, allocations: 103.2 kB / 1.074 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001239/0.2971, allocations: 23.98 kB / 1.074 GB, free: 6.812 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.2971, allocations: 3.938 kB / 1.074 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 4.493e-05/0.2971, allocations: 12 kB / 1.074 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.2973, allocations: 19.98 kB / 1.074 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000278/0.2976, allocations: 126.1 kB / 1.074 GB, free: 6.625 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.2979, allocations: 0.6809 MB / 1.075 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.09e-05/0.298, allocations: 0 / 1.075 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.994e-05/0.298, allocations: 7.438 kB / 1.075 GB, free: 5.914 MB / 0.8262 GB Notification: Performance of SimCode: time 3.5e-07/0.298, allocations: 4 kB / 1.075 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of Templates: time 0.002243/0.3003, allocations: 268.7 kB / 1.075 GB, free: 5.648 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.KMinusU.makefile (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) 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) Reference file matches