Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TOut|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TOut|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007446/0.007446, allocations: 101.5 kB / 15.88 MB, free: 5.867 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.001843/0.001843, allocations: 196.8 kB / 16.79 MB, free: 5.809 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.363/1.363, allocations: 222.9 MB / 240.5 MB, free: 4.57 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.684/2.684, allocations: 461.9 MB / 0.7348 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001348/0.001348, allocations: 68.81 kB / 0.899 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2892/0.2906, allocations: 157.4 MB / 1.053 GB, free: 8.367 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002935/0.2936, allocations: 1.552 MB / 1.054 GB, free: 6.801 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001291/0.2949, allocations: 0.7438 MB / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.38e-05/0.295, allocations: 0 / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.222e-05/0.295, allocations: 0 / 1.055 GB, free: 6.051 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.875e-05/0.2951, allocations: 7.875 kB / 1.055 GB, free: 6.043 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005239/0.2956, allocations: 99.77 kB / 1.055 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001033/0.2957, allocations: 67.84 kB / 1.055 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.601e-05/0.2958, allocations: 7.984 kB / 1.055 GB, free: 5.871 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.77e-05/0.2959, allocations: 39.78 kB / 1.055 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.207e-05/0.296, allocations: 27.91 kB / 1.055 GB, free: 5.805 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.878e-05/0.296, allocations: 4 kB / 1.055 GB, free: 5.801 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002017/0.2962, allocations: 87.91 kB / 1.055 GB, free: 5.715 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.937e-05/0.2963, allocations: 19.92 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.527e-05/0.2963, allocations: 31.8 kB / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001778/0.2965, allocations: 96.06 kB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.2965, allocations: 0 / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.01e-07/0.2965, allocations: 0 / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.2965, allocations: 0 / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000596/0.2971, allocations: 442.7 kB / 1.056 GB, free: 5.078 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.757e-05/0.2972, allocations: 15.97 kB / 1.056 GB, free: 5.062 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.296e-05/0.2972, allocations: 8.844 kB / 1.056 GB, free: 5.055 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001107/0.2974, allocations: 180.2 kB / 1.056 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.488e-05/0.2974, allocations: 384 / 1.056 GB, free: 4.84 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.2974, allocations: 8.359 kB / 1.056 GB, free: 4.832 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.2976, allocations: 73.97 kB / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.087e-06/0.2976, allocations: 0 / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.2977, allocations: 0 / 1.056 GB, free: 4.754 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.2977, allocations: 3.984 kB / 1.056 GB, free: 4.75 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001485/0.2978, allocations: 43.84 kB / 1.056 GB, free: 4.707 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004863/0.2983, allocations: 296.8 kB / 1.056 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001355/0.2985, allocations: 50.55 kB / 1.057 GB, free: 4.309 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.611e-05/0.2986, allocations: 32.97 kB / 1.057 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.105e-05/0.2986, allocations: 0 / 1.057 GB, free: 4.273 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002135/0.2988, allocations: 87.3 kB / 1.057 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.2988, allocations: 0 / 1.057 GB, free: 4.176 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004026/0.2992, allocations: 137.6 kB / 1.057 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.448e-05/0.2993, allocations: 55.41 kB / 1.057 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.97e-05/0.2994, allocations: 121.8 kB / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.828e-05/0.2994, allocations: 25.7 kB / 1.057 GB, free: 3.809 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.927e-05/0.2995, allocations: 92.14 kB / 1.057 GB, free: 3.715 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.2995, allocations: 23.73 kB / 1.057 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.546e-05/0.2996, allocations: 29.66 kB / 1.057 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.609e-05/0.2997, allocations: 322.8 kB / 1.057 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.221e-05/0.2997, allocations: 23.92 kB / 1.057 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.955e-05/0.2998, allocations: 69.56 kB / 1.057 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001554/0.3, allocations: 81.08 kB / 1.058 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.3, allocations: 8 kB / 1.058 GB, free: 3.117 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002215/0.3002, allocations: 109.4 kB / 1.058 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.3003, allocations: 8 kB / 1.058 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.3003, allocations: 0 / 1.058 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.3003, allocations: 4 kB / 1.058 GB, free: 2.992 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.858e-05/0.3004, allocations: 15.92 kB / 1.058 GB, free: 2.977 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.3004, allocations: 4 kB / 1.058 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.317e-05/0.3005, allocations: 16.05 kB / 1.058 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.226e-05/0.3005, allocations: 4 kB / 1.058 GB, free: 2.953 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (bli.curSeed,$PRE.bli.curSeed,bli.blindState,$PRE.bli.blindState,bli.pDown,$PRE.bli.pDown,occ.y,bli.sampleTrigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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 9.307e-05/0.3006, allocations: 125.7 kB / 1.058 GB, free: 2.82 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.852e-05/0.3006, allocations: 4 kB / 1.058 GB, free: 2.816 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.581e-05/0.3006, allocations: 4.375 kB / 1.058 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.3006, allocations: 0 / 1.058 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.3007, allocations: 4 kB / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.3007, allocations: 0 / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004452/0.3011, allocations: 386.3 kB / 1.058 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.3011, allocations: 11.98 kB / 1.058 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.836e-05/0.3012, allocations: 0 / 1.058 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.3012, allocations: 4 kB / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.3012, allocations: 0 / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.3012, allocations: 0 / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.3012, allocations: 3.938 kB / 1.058 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002881/0.3015, allocations: 211.3 kB / 1.058 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.994e-05/0.3016, allocations: 81.11 kB / 1.059 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.933e-05/0.3016, allocations: 7.875 kB / 1.059 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.434e-05/0.3017, allocations: 11.98 kB / 1.059 GB, free: 2.016 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.516e-05/0.3017, allocations: 7.938 kB / 1.059 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.059e-05/0.3018, allocations: 3.984 kB / 1.059 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.302e-05/0.3018, allocations: 95.42 kB / 1.059 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3018, allocations: 4 kB / 1.059 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002992/0.3021, allocations: 40 kB / 1.059 GB, free: 1.867 MB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pDown,bli.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000327/0.3025, allocations: 151.4 kB / 1.059 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000228/0.3027, allocations: 76.14 kB / 1.059 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.3027, allocations: 0 / 1.059 GB, free: 1.652 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001021/0.3028, allocations: 36.39 kB / 1.059 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000267/0.3031, allocations: 11.98 kB / 1.059 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004196/0.3035, allocations: 228.3 kB / 1.059 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002287/0.3038, allocations: 0.6887 MB / 1.06 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.892e-05/0.3038, allocations: 11.44 kB / 1.06 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of SimCode: time 3.91e-07/0.3038, allocations: 0 / 1.06 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of Templates: time 0.003484/0.3073, allocations: 1.585 MB / 1.061 GB, free: 15.04 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches