Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008514/0.008514, allocations: 99.94 kB / 15.73 MB, free: 6.016 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.001767/0.001767, allocations: 193 kB / 16.67 MB, free: 5.938 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.524/1.524, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.687/2.687, allocations: 469.8 MB / 0.7425 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 64.11 kB / 1.065 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7852/0.7865, allocations: 159.1 MB / 1.221 GB, free: 2.121 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002532/0.789, allocations: 1.495 MB / 1.222 GB, free: 0.6172 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001274/0.7903, allocations: 0.7176 MB / 1.223 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.393e-05/0.7903, allocations: 0 / 1.223 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.093e-05/0.7904, allocations: 3.938 kB / 1.223 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.303e-05/0.7904, allocations: 19.84 kB / 1.223 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005471/0.791, allocations: 115.6 kB / 1.223 GB, free: 15.76 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001297/0.7911, allocations: 75.7 kB / 1.223 GB, free: 15.68 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.521e-05/0.7912, allocations: 15.94 kB / 1.223 GB, free: 15.67 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 8.579e-05/0.7913, allocations: 31.92 kB / 1.223 GB, free: 15.64 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.348e-05/0.7914, allocations: 35.83 kB / 1.223 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.92e-05/0.7914, allocations: 7.938 kB / 1.223 GB, free: 15.59 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001868/0.7916, allocations: 95.84 kB / 1.223 GB, free: 15.5 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.158e-05/0.7916, allocations: 11.98 kB / 1.223 GB, free: 15.49 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.594e-05/0.7916, allocations: 39.8 kB / 1.223 GB, free: 15.45 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000257/0.7919, allocations: 140.1 kB / 1.223 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.7919, allocations: 0 / 1.223 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7919, allocations: 0 / 1.223 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 6.162e-06/0.7919, allocations: 0 / 1.223 GB, free: 15.32 MB / 0.9512 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.0006026/0.7925, allocations: 446.4 kB / 1.224 GB, free: 14.82 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.7925, allocations: 8.625 kB / 1.224 GB, free: 14.81 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.673e-05/0.7926, allocations: 8.891 kB / 1.224 GB, free: 14.8 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/0.7927, allocations: 172.3 kB / 1.224 GB, free: 14.6 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.919e-05/0.7927, allocations: 12.36 kB / 1.224 GB, free: 14.59 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.7928, allocations: 4.375 kB / 1.224 GB, free: 14.58 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002137/0.793, allocations: 73.95 kB / 1.224 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.796e-06/0.793, allocations: 0 / 1.224 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.793, allocations: 4 kB / 1.224 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.793, allocations: 0 / 1.224 GB, free: 14.5 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001381/0.7931, allocations: 39.91 kB / 1.224 GB, free: 14.46 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004495/0.7936, allocations: 296.8 kB / 1.224 GB, free: 14.12 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.7937, allocations: 46.55 kB / 1.224 GB, free: 14.07 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.439e-05/0.7938, allocations: 32.91 kB / 1.224 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.951e-05/0.7938, allocations: 4 kB / 1.224 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001585/0.794, allocations: 79.31 kB / 1.224 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.403e-06/0.794, allocations: 0 / 1.224 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0003938/0.7944, allocations: 137.7 kB / 1.225 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.7944, allocations: 59.39 kB / 1.225 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.74e-05/0.7945, allocations: 121.8 kB / 1.225 GB, free: 13.6 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.7945, allocations: 25.7 kB / 1.225 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.961e-05/0.7946, allocations: 96.12 kB / 1.225 GB, free: 13.47 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 1.797e-05/0.7946, allocations: 7.906 kB / 1.225 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.394e-05/0.7946, allocations: 33.7 kB / 1.225 GB, free: 13.42 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.331e-05/0.7947, allocations: 326.7 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.599e-05/0.7948, allocations: 23.98 kB / 1.225 GB, free: 13.07 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.73e-05/0.7949, allocations: 61.12 kB / 1.225 GB, free: 12.99 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.795, allocations: 89.08 kB / 1.225 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.795, allocations: 0 / 1.225 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002178/0.7953, allocations: 117.5 kB / 1.226 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.7953, allocations: 4 kB / 1.226 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.7953, allocations: 4 kB / 1.226 GB, free: 12.76 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.31e-05/0.7953, allocations: 3.984 kB / 1.226 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.007e-05/0.7954, allocations: 15.94 kB / 1.226 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.7954, allocations: 0 / 1.226 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.835e-05/0.7955, allocations: 19.86 kB / 1.226 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.336e-05/0.7955, allocations: 4 kB / 1.226 GB, free: 12.71 MB / 0.9512 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.0001046/0.7956, allocations: 126.5 kB / 1.226 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.78e-05/0.7956, allocations: 3.953 kB / 1.226 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.119e-05/0.7956, allocations: 16.31 kB / 1.226 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.724e-06/0.7956, allocations: 0 / 1.226 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.7956, allocations: 0 / 1.226 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.7956, allocations: 3.984 kB / 1.226 GB, free: 12.55 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004585/0.7961, allocations: 382.4 kB / 1.226 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.7961, allocations: 4 kB / 1.226 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.118e-05/0.7961, allocations: 4 kB / 1.226 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.7961, allocations: 4.031 kB / 1.226 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.213e-05/0.7961, allocations: 4 kB / 1.226 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.7962, allocations: 400 / 1.226 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.7962, allocations: 7.922 kB / 1.226 GB, free: 12.1 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002751/0.7964, allocations: 207.4 kB / 1.226 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.8e-05/0.7965, allocations: 89.06 kB / 1.226 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/0.7965, allocations: 0 / 1.226 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.7966, allocations: 7.984 kB / 1.226 GB, free: 11.77 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.172e-05/0.7966, allocations: 3.938 kB / 1.226 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.106e-05/0.7967, allocations: 7.984 kB / 1.226 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.528e-05/0.7967, allocations: 99.86 kB / 1.227 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of sort global known variables: time 8e-08/0.7967, allocations: 0 / 1.227 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0003022/0.797, allocations: 39.88 kB / 1.227 GB, free: 11.62 MB / 0.9512 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.0002972/0.7973, allocations: 158.9 kB / 1.227 GB, free: 11.47 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000232/0.7975, allocations: 67.89 kB / 1.227 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.7975, allocations: 3.938 kB / 1.227 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.7976, allocations: 40.22 kB / 1.227 GB, free: 11.36 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.7979, allocations: 18.02 kB / 1.227 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003921/0.7983, allocations: 180.8 kB / 1.227 GB, free: 11.14 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002216/0.7985, allocations: 0.6923 MB / 1.228 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.171e-05/0.7986, allocations: 4 kB / 1.228 GB, free: 10.42 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.382e-05/0.7986, allocations: 15.44 kB / 1.228 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of SimCode: time 2.9e-07/0.7986, allocations: 3.938 kB / 1.228 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of Templates: time 0.003897/0.8025, allocations: 1.445 MB / 1.229 GB, free: 8.961 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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,bli.t0,occ.startTime,occ.startValue,occ.y,time