Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") translateModel(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|conEquSta.TBoi|conEquSta.onSys|conEquSta.onPum|conEquSta.onBoi",fileNamePrefix="Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001066, allocations: 102 kB / 16.37 MB, free: 6.441 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.001261/0.001262, allocations: 195.3 kB / 17.31 MB, free: 5.812 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.214/1.214, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.31/2.31, allocations: 437.1 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 64.5 kB / 0.8707 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2859, allocations: 151.6 MB / 1.019 GB, free: 9.883 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff): time 0.00262/0.2885, allocations: 0.8045 MB / 1.02 GB, free: 9.07 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001868/0.2904, allocations: 1.161 MB / 1.021 GB, free: 7.895 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.634e-05/0.2905, allocations: 0 / 1.021 GB, free: 7.895 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 5.279e-05/0.2906, allocations: 7.875 kB / 1.021 GB, free: 7.887 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.468e-05/0.2907, allocations: 15.81 kB / 1.021 GB, free: 7.871 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006773/0.2914, allocations: 146.8 kB / 1.021 GB, free: 7.73 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0002538/0.2916, allocations: 147.7 kB / 1.021 GB, free: 7.586 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.2918, allocations: 31.97 kB / 1.021 GB, free: 7.555 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.2919, allocations: 59.83 kB / 1.021 GB, free: 7.496 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000139/0.2921, allocations: 67.8 kB / 1.021 GB, free: 7.43 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.636e-05/0.2921, allocations: 12 kB / 1.021 GB, free: 7.418 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 9.113e-05/0.2922, allocations: 27.92 kB / 1.021 GB, free: 7.391 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 3.551e-05/0.2923, allocations: 23.92 kB / 1.021 GB, free: 7.367 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 9.611e-05/0.2924, allocations: 47.84 kB / 1.021 GB, free: 7.32 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0002596/0.2926, allocations: 155.5 kB / 1.021 GB, free: 7.168 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.2926, allocations: 4 kB / 1.021 GB, free: 7.164 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2927, allocations: 0 / 1.021 GB, free: 7.164 MB / 0.795 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.2927, allocations: 0 / 1.021 GB, free: 7.164 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007633/0.2934, allocations: 436.9 kB / 1.022 GB, free: 6.68 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.2935, allocations: 8.625 kB / 1.022 GB, free: 6.672 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.946e-05/0.2936, allocations: 12.84 kB / 1.022 GB, free: 6.66 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.2937, allocations: 184.1 kB / 1.022 GB, free: 6.441 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.2937, allocations: 4.375 kB / 1.022 GB, free: 6.438 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.963e-05/0.2938, allocations: 12.38 kB / 1.022 GB, free: 6.426 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003005/0.2941, allocations: 86.2 kB / 1.022 GB, free: 6.336 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.2941, allocations: 192 / 1.022 GB, free: 6.336 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.602e-05/0.2941, allocations: 7.938 kB / 1.022 GB, free: 6.328 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.2942, allocations: 0 / 1.022 GB, free: 6.328 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002933/0.2945, allocations: 55.95 kB / 1.022 GB, free: 6.273 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006941/0.2952, allocations: 376.5 kB / 1.023 GB, free: 5.855 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.2954, allocations: 58.55 kB / 1.023 GB, free: 5.789 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001238/0.2955, allocations: 24.94 kB / 1.023 GB, free: 5.762 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 1.567e-05/0.2956, allocations: 7.938 kB / 1.023 GB, free: 5.754 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002318/0.2958, allocations: 83.3 kB / 1.023 GB, free: 5.66 MB / 0.795 GB Notification: Performance of pre-optimization done (n=6): time 3.647e-06/0.2958, allocations: 3.984 kB / 1.023 GB, free: 5.656 MB / 0.795 GB Notification: Performance of matching and sorting (n=6): time 0.0005213/0.2963, allocations: 129.5 kB / 1.023 GB, free: 5.523 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.149e-05/0.2964, allocations: 55.41 kB / 1.023 GB, free: 5.457 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.2965, allocations: 133.6 kB / 1.023 GB, free: 5.316 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 3.587e-05/0.2966, allocations: 29.7 kB / 1.023 GB, free: 5.281 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 8.217e-05/0.2967, allocations: 100 kB / 1.023 GB, free: 5.18 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/0.2967, allocations: 19.73 kB / 1.023 GB, free: 5.16 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001054/0.2968, allocations: 37.7 kB / 1.023 GB, free: 5.117 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.2969, allocations: 326.8 kB / 1.024 GB, free: 4.789 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002214/0.2972, allocations: 43.97 kB / 1.024 GB, free: 4.746 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002397/0.2974, allocations: 79.39 kB / 1.024 GB, free: 4.656 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003405/0.2978, allocations: 124.3 kB / 1.024 GB, free: 4.52 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2978, allocations: 0 / 1.024 GB, free: 4.52 MB / 0.795 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005912/0.2984, allocations: 191.2 kB / 1.024 GB, free: 4.32 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.942e-05/0.2984, allocations: 37.7 kB / 1.024 GB, free: 4.277 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.2985, allocations: 0 / 1.024 GB, free: 4.277 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.2985, allocations: 4 kB / 1.024 GB, free: 4.273 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.2986, allocations: 12.14 kB / 1.024 GB, free: 4.262 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.831e-06/0.2986, allocations: 3.938 kB / 1.024 GB, free: 4.258 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000315/0.2989, allocations: 39.89 kB / 1.024 GB, free: 4.219 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.963e-05/0.299, allocations: 8 kB / 1.024 GB, free: 4.211 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,onSys.y,$PRE.onSys.y,conEquSta.hys.y,$PRE.conEquSta.hys.y,conEquSta.onBoi) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 0.000128/0.2991, allocations: 127.9 kB / 1.024 GB, free: 4.078 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.17e-05/0.2992, allocations: 7.906 kB / 1.024 GB, free: 4.07 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.969e-05/0.2992, allocations: 16.69 kB / 1.024 GB, free: 4.055 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.2992, allocations: 0 / 1.024 GB, free: 4.055 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.2992, allocations: 0 / 1.024 GB, free: 4.055 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.2992, allocations: 7.938 kB / 1.024 GB, free: 4.047 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/0.2994, allocations: 193.5 kB / 1.024 GB, free: 3.809 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.2995, allocations: 0 / 1.024 GB, free: 3.809 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.223e-05/0.2995, allocations: 7.984 kB / 1.024 GB, free: 3.801 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.2996, allocations: 7.938 kB / 1.024 GB, free: 3.793 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.2996, allocations: 0 / 1.024 GB, free: 3.793 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2996, allocations: 0 / 1.024 GB, free: 3.793 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2996, allocations: 4 kB / 1.024 GB, free: 3.789 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00036/0.3, allocations: 124.9 kB / 1.025 GB, free: 3.648 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.224e-05/0.3, allocations: 85.02 kB / 1.025 GB, free: 3.547 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.665e-05/0.3001, allocations: 4 kB / 1.025 GB, free: 3.543 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.908e-05/0.3002, allocations: 11.98 kB / 1.025 GB, free: 3.531 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.356e-05/0.3002, allocations: 15.92 kB / 1.025 GB, free: 3.516 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.438e-06/0.3003, allocations: 4 kB / 1.025 GB, free: 3.512 MB / 0.795 GB Notification: Performance of sorting global known variables: time 6.878e-05/0.3003, allocations: 95.27 kB / 1.025 GB, free: 3.418 MB / 0.795 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3004, allocations: 3.938 kB / 1.025 GB, free: 3.414 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003741/0.3007, allocations: 24.12 kB / 1.025 GB, free: 3.391 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$whenCondition2,conEquSta.onBoi,conEquSta.hys.y,onSys.y) * Number of discrete states: 1 (conEquSta.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001668/0.3009, allocations: 107.2 kB / 1.025 GB, free: 3.277 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0005231/0.3014, allocations: 171.4 kB / 1.025 GB, free: 3.098 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3015, allocations: 0 / 1.025 GB, free: 3.098 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001624/0.3016, allocations: 35.92 kB / 1.025 GB, free: 3.062 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003113/0.302, allocations: 18.39 kB / 1.025 GB, free: 3.047 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000478/0.3025, allocations: 167.1 kB / 1.025 GB, free: 2.855 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.3028, allocations: 0.6924 MB / 1.026 GB, free: 2.137 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 4.674e-05/0.3028, allocations: 7.984 kB / 1.026 GB, free: 2.129 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.054e-05/0.3029, allocations: 15.38 kB / 1.026 GB, free: 2.113 MB / 0.795 GB Notification: Performance of SimCode: time 4.1e-07/0.3029, allocations: 0 / 1.026 GB, free: 2.113 MB / 0.795 GB Notification: Performance of Templates: time 0.005045/0.3079, allocations: 1.637 MB / 1.028 GB, free: 0.4961 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.makefile (rm -f Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; mkfifo Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe >> ../files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.sim & ./Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_Tutorial_CDL_Controls_Validation_EquipmentOnOff.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.Tutorial.CDL.Controls.Validation.EquipmentOnOff.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches