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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001186/0.001187, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001274/0.001274, allocations: 192.8 kB / 16.13 MB, free: 6.703 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.513/1.513, allocations: 222.9 MB / 239.8 MB, free: 4.645 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.912/2.912, allocations: 461.9 MB / 0.7342 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001376, allocations: 69.2 kB / 0.8984 GB, free: 37.25 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3035, allocations: 157.4 MB / 1.052 GB, free: 8.91 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002465/0.306, allocations: 1.548 MB / 1.054 GB, free: 7.348 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001236/0.3072, allocations: 0.7477 MB / 1.054 GB, free: 6.594 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.192e-05/0.3073, allocations: 3.938 kB / 1.054 GB, free: 6.59 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.139e-05/0.3073, allocations: 3.938 kB / 1.054 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.243e-05/0.3074, allocations: 7.922 kB / 1.054 GB, free: 6.578 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004211/0.3078, allocations: 99.77 kB / 1.054 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.79e-05/0.3079, allocations: 67.78 kB / 1.055 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.308, allocations: 12 kB / 1.055 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.495e-05/0.3081, allocations: 27.91 kB / 1.055 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.493e-05/0.3082, allocations: 31.84 kB / 1.055 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.731e-05/0.3082, allocations: 4 kB / 1.055 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001713/0.3084, allocations: 91.84 kB / 1.055 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.348e-05/0.3084, allocations: 15.92 kB / 1.055 GB, free: 6.234 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.516e-05/0.3085, allocations: 27.86 kB / 1.055 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002033/0.3087, allocations: 127.9 kB / 1.055 GB, free: 6.082 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.3087, allocations: 4 kB / 1.055 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.01e-07/0.3087, allocations: 4 kB / 1.055 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.3087, allocations: 0 / 1.055 GB, free: 6.074 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.0005946/0.3093, allocations: 442.7 kB / 1.055 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.3094, allocations: 15.97 kB / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.053e-05/0.3094, allocations: 4.844 kB / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.3095, allocations: 176.2 kB / 1.055 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.591e-05/0.3096, allocations: 8.359 kB / 1.055 GB, free: 5.344 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.242e-05/0.3096, allocations: 8.375 kB / 1.055 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001916/0.3098, allocations: 73.97 kB / 1.056 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.3098, allocations: 0 / 1.056 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.26e-05/0.3098, allocations: 0 / 1.056 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.124e-06/0.3098, allocations: 0 / 1.056 GB, free: 5.258 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001421/0.31, allocations: 35.97 kB / 1.056 GB, free: 5.223 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004858/0.3105, allocations: 304.7 kB / 1.056 GB, free: 4.875 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001388/0.3106, allocations: 54.55 kB / 1.056 GB, free: 4.812 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.916e-05/0.3107, allocations: 28.97 kB / 1.056 GB, free: 4.781 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/0.3108, allocations: 4 kB / 1.056 GB, free: 4.777 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002141/0.311, allocations: 79.38 kB / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.402e-06/0.311, allocations: 4 kB / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004126/0.3114, allocations: 141.5 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.3115, allocations: 55.39 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.831e-05/0.3116, allocations: 117.8 kB / 1.056 GB, free: 4.348 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.3116, allocations: 25.7 kB / 1.056 GB, free: 4.316 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.268e-05/0.3116, allocations: 96.12 kB / 1.056 GB, free: 4.219 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.79e-05/0.3117, allocations: 11.75 kB / 1.056 GB, free: 4.207 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-05/0.3117, allocations: 37.7 kB / 1.056 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001018/0.3118, allocations: 318.8 kB / 1.057 GB, free: 3.844 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.236e-05/0.3119, allocations: 19.98 kB / 1.057 GB, free: 3.824 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.468e-05/0.312, allocations: 65.06 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001608/0.3122, allocations: 89.08 kB / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.3122, allocations: 0 / 1.057 GB, free: 3.637 MB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002262/0.3124, allocations: 121.4 kB / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.3124, allocations: 8 kB / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.3124, allocations: 320 / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.3125, allocations: 3.984 kB / 1.057 GB, free: 3.5 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.755e-05/0.3126, allocations: 12 kB / 1.057 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.3126, allocations: 3.938 kB / 1.057 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.574e-05/0.3126, allocations: 11.89 kB / 1.057 GB, free: 3.473 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.555e-05/0.3127, allocations: 11.98 kB / 1.057 GB, free: 3.461 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.657e-05/0.3128, allocations: 133.8 kB / 1.057 GB, free: 3.32 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.698e-05/0.3128, allocations: 4 kB / 1.057 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.65e-05/0.3128, allocations: 8.375 kB / 1.057 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.3128, allocations: 0 / 1.057 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.3128, allocations: 0 / 1.057 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.987e-06/0.3128, allocations: 3.984 kB / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004619/0.3133, allocations: 382.3 kB / 1.058 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3133, allocations: 4 kB / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.1e-05/0.3134, allocations: 4 kB / 1.058 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.3134, allocations: 0 / 1.058 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.3134, allocations: 4 kB / 1.058 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.73e-06/0.3134, allocations: 3.984 kB / 1.058 GB, free: 2.859 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3134, allocations: 3.938 kB / 1.058 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002888/0.3137, allocations: 211.3 kB / 1.058 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.735e-05/0.3137, allocations: 85.11 kB / 1.058 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.118e-05/0.3138, allocations: 3.984 kB / 1.058 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.453e-05/0.3139, allocations: 4 kB / 1.058 GB, free: 2.523 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.712e-05/0.3139, allocations: 11.92 kB / 1.058 GB, free: 2.512 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.023e-05/0.3139, allocations: 4 kB / 1.058 GB, free: 2.508 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.157e-05/0.314, allocations: 91.27 kB / 1.058 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.314, allocations: 0 / 1.058 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003046/0.3143, allocations: 36 kB / 1.058 GB, free: 2.383 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.0003478/0.3147, allocations: 162.4 kB / 1.058 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002333/0.3149, allocations: 71.92 kB / 1.058 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.278e-06/0.3149, allocations: 0 / 1.058 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001077/0.315, allocations: 40.17 kB / 1.058 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002675/0.3153, allocations: 22.05 kB / 1.058 GB, free: 2.102 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004383/0.3158, allocations: 190.6 kB / 1.059 GB, free: 1.887 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002443/0.316, allocations: 0.6926 MB / 1.059 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.476e-05/0.3161, allocations: 4 kB / 1.059 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.518e-05/0.3161, allocations: 7.438 kB / 1.059 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of SimCode: time 2.1e-07/0.3161, allocations: 0 / 1.059 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of Templates: time 0.004468/0.3206, allocations: 1.378 MB / 1.061 GB, free: 15.79 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.TOut,bli.occ,bli.pDown,bli.blindState Variables in the result:TOut.amplitude,TOut.f,TOut.offset,TOut.phase,TOut.startTime,TOut.y,bli.A,bli.B,bli.TOut,bli.blindState,bli.occ,bli.pDown,bli.samplePeriod,bli.seed,bli.t0,occ.startTime,occ.startValue,occ.y,time