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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001641/0.001641, allocations: 106.6 kB / 16.41 MB, free: 6.387 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.001891/0.001891, allocations: 187.9 kB / 17.34 MB, free: 5.84 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.635/2.635, allocations: 472.7 MB / 0.746 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 59.91 kB / 1.07 GB, free: 9.648 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6853/0.6866, allocations: 159.9 MB / 1.226 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002389/0.689, allocations: 1.492 MB / 1.228 GB, free: 12.07 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001195/0.6902, allocations: 0.7218 MB / 1.228 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.568e-05/0.6903, allocations: 0 / 1.228 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.403e-05/0.6903, allocations: 7.875 kB / 1.228 GB, free: 11.33 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.161e-05/0.6904, allocations: 15.88 kB / 1.228 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005251/0.6909, allocations: 115.6 kB / 1.229 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001113/0.691, allocations: 71.72 kB / 1.229 GB, free: 11.13 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 9.026e-05/0.6911, allocations: 19.94 kB / 1.229 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 8.633e-05/0.6912, allocations: 35.84 kB / 1.229 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.121e-05/0.6913, allocations: 35.84 kB / 1.229 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.739e-05/0.6913, allocations: 4 kB / 1.229 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001927/0.6915, allocations: 91.91 kB / 1.229 GB, free: 10.95 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.512e-05/0.6916, allocations: 23.86 kB / 1.229 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.646e-05/0.6916, allocations: 35.84 kB / 1.229 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002317/0.6918, allocations: 136.1 kB / 1.229 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.6919, allocations: 0 / 1.229 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of FrontEnd: time 9.92e-07/0.6919, allocations: 0 / 1.229 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.6919, allocations: 0 / 1.229 GB, free: 10.76 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.0005498/0.6924, allocations: 450.4 kB / 1.229 GB, free: 10.26 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.6925, allocations: 12.03 kB / 1.229 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.867e-05/0.6925, allocations: 8.891 kB / 1.229 GB, free: 10.24 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.981e-05/0.6926, allocations: 168.3 kB / 1.23 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.242e-05/0.6927, allocations: 384 / 1.23 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.696e-05/0.6927, allocations: 4.375 kB / 1.23 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001872/0.6929, allocations: 81.89 kB / 1.23 GB, free: 9.949 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.6929, allocations: 0 / 1.23 GB, free: 9.949 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.082e-05/0.6929, allocations: 0 / 1.23 GB, free: 9.949 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.6929, allocations: 0 / 1.23 GB, free: 9.949 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001378/0.6931, allocations: 47.91 kB / 1.23 GB, free: 9.902 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004519/0.6935, allocations: 300.7 kB / 1.23 GB, free: 9.559 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001249/0.6937, allocations: 46.5 kB / 1.23 GB, free: 9.504 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.35e-05/0.6938, allocations: 40.95 kB / 1.23 GB, free: 9.461 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.106e-05/0.6938, allocations: 4 kB / 1.23 GB, free: 9.457 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001805/0.694, allocations: 75.38 kB / 1.23 GB, free: 9.371 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.773e-06/0.694, allocations: 0 / 1.23 GB, free: 9.371 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.000405/0.6944, allocations: 133.5 kB / 1.23 GB, free: 9.234 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.947e-05/0.6944, allocations: 55.41 kB / 1.23 GB, free: 9.168 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.716e-05/0.6945, allocations: 129.7 kB / 1.231 GB, free: 9.031 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.6946, allocations: 33.7 kB / 1.231 GB, free: 8.992 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.183e-05/0.6946, allocations: 84.14 kB / 1.231 GB, free: 8.906 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.6946, allocations: 23.95 kB / 1.231 GB, free: 8.883 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-05/0.6947, allocations: 25.72 kB / 1.231 GB, free: 8.852 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 9.374e-05/0.6948, allocations: 322.8 kB / 1.231 GB, free: 8.527 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.633e-05/0.6949, allocations: 23.98 kB / 1.231 GB, free: 8.504 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.647e-05/0.695, allocations: 61.14 kB / 1.231 GB, free: 8.426 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000158/0.6951, allocations: 93.06 kB / 1.231 GB, free: 8.316 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.6951, allocations: 0 / 1.231 GB, free: 8.316 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002325/0.6954, allocations: 117.4 kB / 1.231 GB, free: 8.195 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.6954, allocations: 5.562 kB / 1.231 GB, free: 8.191 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.6954, allocations: 3.938 kB / 1.231 GB, free: 8.188 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.459e-05/0.6954, allocations: 4 kB / 1.231 GB, free: 8.184 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.46e-05/0.6955, allocations: 11.98 kB / 1.231 GB, free: 8.172 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.6955, allocations: 8.156 kB / 1.231 GB, free: 8.164 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.344e-05/0.6956, allocations: 7.938 kB / 1.231 GB, free: 8.156 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.201e-05/0.6956, allocations: 7.938 kB / 1.231 GB, free: 8.148 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 8.671e-05/0.6957, allocations: 130.2 kB / 1.231 GB, free: 8.012 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.861e-05/0.6957, allocations: 7.953 kB / 1.231 GB, free: 8.004 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.385e-05/0.6958, allocations: 4.422 kB / 1.231 GB, free: 7.996 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.6958, allocations: 3.984 kB / 1.231 GB, free: 7.992 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.6958, allocations: 4 kB / 1.231 GB, free: 7.988 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.482e-05/0.6958, allocations: 85.06 kB / 1.232 GB, free: 7.887 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.6958, allocations: 7.984 kB / 1.232 GB, free: 7.879 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.841e-05/0.6959, allocations: 7.938 kB / 1.232 GB, free: 7.871 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.696, allocations: 7.984 kB / 1.232 GB, free: 7.863 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002926/0.6963, allocations: 176.9 kB / 1.232 GB, free: 7.684 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000296/0.6966, allocations: 290.7 kB / 1.232 GB, free: 7.383 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.671e-05/0.6967, allocations: 36.44 kB / 1.232 GB, free: 7.348 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.574e-05/0.6967, allocations: 91.27 kB / 1.232 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of Backend: time 2.91e-07/0.6967, allocations: 0 / 1.232 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000606/0.6973, allocations: 185.6 kB / 1.232 GB, free: 7.086 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0004157/0.6978, allocations: 0.6259 MB / 1.233 GB, free: 6.414 MB / 0.9512 GB Notification: Performance of Templates: time 0.0038/0.7016, allocations: 1.437 MB / 1.234 GB, free: 4.98 MB / 0.9512 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) "" 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