Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007461/0.007461, allocations: 99.31 kB / 15.73 MB, free: 6.051 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.001537/0.001537, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.391/1.391, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.803/2.803, allocations: 461.9 MB / 0.7348 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001378/0.001378, allocations: 64.11 kB / 1.054 GB, free: 7.715 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3243, allocations: 157.4 MB / 1.207 GB, free: 10.2 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.003658/0.328, allocations: 1.479 MB / 1.209 GB, free: 8.711 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001797/0.3298, allocations: 0.7364 MB / 1.209 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.545e-05/0.33, allocations: 4 kB / 1.209 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.926e-05/0.33, allocations: 11.92 kB / 1.209 GB, free: 7.953 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 7.955e-05/0.3301, allocations: 7.875 kB / 1.209 GB, free: 7.945 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007533/0.3309, allocations: 115.6 kB / 1.21 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.3311, allocations: 71.77 kB / 1.21 GB, free: 7.762 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001168/0.3312, allocations: 11.95 kB / 1.21 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001181/0.3313, allocations: 31.91 kB / 1.21 GB, free: 7.719 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 8.228e-05/0.3314, allocations: 39.84 kB / 1.21 GB, free: 7.68 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.502e-05/0.3314, allocations: 4 kB / 1.21 GB, free: 7.676 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002548/0.3317, allocations: 99.84 kB / 1.21 GB, free: 7.578 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.576e-05/0.3318, allocations: 11.92 kB / 1.21 GB, free: 7.566 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.202e-05/0.3318, allocations: 35.86 kB / 1.21 GB, free: 7.531 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003103/0.3321, allocations: 131.9 kB / 1.21 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.3322, allocations: 0 / 1.21 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.044e-06/0.3322, allocations: 0 / 1.21 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.3322, allocations: 0 / 1.21 GB, free: 7.402 MB / 0.9669 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.000827/0.333, allocations: 450.7 kB / 1.21 GB, free: 6.902 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.531e-05/0.3331, allocations: 8.625 kB / 1.21 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.662e-05/0.3332, allocations: 34.75 kB / 1.21 GB, free: 6.852 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.513e-05/0.3332, allocations: 12.83 kB / 1.21 GB, free: 6.84 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.3334, allocations: 180.1 kB / 1.211 GB, free: 6.625 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.496e-05/0.3334, allocations: 4.375 kB / 1.211 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001285/0.3336, allocations: 8.359 kB / 1.211 GB, free: 6.613 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002559/0.3338, allocations: 77.77 kB / 1.211 GB, free: 6.531 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.3338, allocations: 4 kB / 1.211 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.449e-05/0.3339, allocations: 0 / 1.211 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.481e-06/0.3339, allocations: 0 / 1.211 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001803/0.3341, allocations: 35.97 kB / 1.211 GB, free: 6.492 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006203/0.3347, allocations: 300.6 kB / 1.211 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002736/0.335, allocations: 50.56 kB / 1.211 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.3351, allocations: 32.97 kB / 1.211 GB, free: 6.055 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.3352, allocations: 4.062 kB / 1.211 GB, free: 6.051 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002863/0.3355, allocations: 79.36 kB / 1.211 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.834e-06/0.3355, allocations: 0 / 1.211 GB, free: 5.961 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0005356/0.336, allocations: 137.5 kB / 1.211 GB, free: 5.82 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.938e-05/0.3361, allocations: 55.41 kB / 1.211 GB, free: 5.754 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.3362, allocations: 129.7 kB / 1.212 GB, free: 5.617 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.227e-05/0.3363, allocations: 25.7 kB / 1.212 GB, free: 5.586 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.953e-05/0.3363, allocations: 92.08 kB / 1.212 GB, free: 5.492 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.753e-05/0.3364, allocations: 19.8 kB / 1.212 GB, free: 5.473 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001807/0.3365, allocations: 29.7 kB / 1.212 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001656/0.3367, allocations: 322.8 kB / 1.212 GB, free: 5.113 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.915e-05/0.3368, allocations: 23.98 kB / 1.212 GB, free: 5.09 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001288/0.337, allocations: 61.58 kB / 1.212 GB, free: 5.012 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002403/0.3372, allocations: 89 kB / 1.212 GB, free: 4.906 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/0.3372, allocations: 4 kB / 1.212 GB, free: 4.902 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003113/0.3376, allocations: 113.4 kB / 1.212 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.326e-05/0.3376, allocations: 8 kB / 1.212 GB, free: 4.777 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.3376, allocations: 4.156 kB / 1.212 GB, free: 4.773 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.3376, allocations: 4 kB / 1.212 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.3377, allocations: 15.98 kB / 1.212 GB, free: 4.754 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.3378, allocations: 7.938 kB / 1.212 GB, free: 4.746 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.026e-05/0.3379, allocations: 8 kB / 1.212 GB, free: 4.738 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.691e-05/0.3379, allocations: 4 kB / 1.212 GB, free: 4.734 MB / 0.9669 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 0.00012/0.338, allocations: 127.1 kB / 1.212 GB, free: 4.602 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/0.3381, allocations: 7.906 kB / 1.212 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.477e-05/0.3381, allocations: 12.38 kB / 1.212 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3381, allocations: 0 / 1.212 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.3381, allocations: 4 kB / 1.212 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/0.3381, allocations: 0 / 1.212 GB, free: 4.574 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007315/0.3389, allocations: 374.4 kB / 1.213 GB, free: 4.152 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.3389, allocations: 4 kB / 1.213 GB, free: 4.148 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.968e-05/0.339, allocations: 3.984 kB / 1.213 GB, free: 4.145 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.339, allocations: 4 kB / 1.213 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.339, allocations: 0 / 1.213 GB, free: 4.141 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.339, allocations: 7.938 kB / 1.213 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.339, allocations: 0 / 1.213 GB, free: 4.133 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000386/0.3394, allocations: 211.4 kB / 1.213 GB, free: 3.91 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.36e-05/0.3395, allocations: 92.98 kB / 1.213 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.385e-05/0.3395, allocations: 0 / 1.213 GB, free: 3.801 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001276/0.3396, allocations: 11.94 kB / 1.213 GB, free: 3.789 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.922e-05/0.3397, allocations: 11.98 kB / 1.213 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.3397, allocations: 0 / 1.213 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.085e-05/0.3398, allocations: 95.42 kB / 1.213 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3398, allocations: 0 / 1.213 GB, free: 3.684 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004994/0.3403, allocations: 47.92 kB / 1.213 GB, free: 3.637 MB / 0.9669 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.00116/0.3415, allocations: 0.7894 MB / 1.214 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003104/0.3418, allocations: 71.83 kB / 1.214 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3418, allocations: 0 / 1.214 GB, free: 2.766 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.342, allocations: 36.3 kB / 1.214 GB, free: 2.73 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004096/0.3424, allocations: 18.31 kB / 1.214 GB, free: 2.715 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002312/0.3447, allocations: 1.511 MB / 1.216 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.3451, allocations: 0.687 MB / 1.216 GB, free: 384 kB / 0.9669 GB Notification: Performance of simCode: alias equations: time 5.13e-05/0.3452, allocations: 11.98 kB / 1.216 GB, free: 372 kB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.57e-05/0.3452, allocations: 19.44 kB / 1.216 GB, free: 352 kB / 0.9669 GB Notification: Performance of SimCode: time 3.01e-07/0.3452, allocations: 0 / 1.216 GB, free: 352 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02663/0.3719, allocations: 2.677 MB / 1.219 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.604/7.976, allocations: 12.38 kB / 1.219 GB, free: 13.81 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.fmu > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.TIn,bli.occ,bli.pDown,bli.blindState Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,TIn.y,bli.A,bli.B,bli.TIn,bli.blindState,bli.occ,bli.pDown,bli.samplePeriod,bli.seed,occ.startTime,occ.startValue,occ.y,time