Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.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.Inkarojrit2008BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.p|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.p|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001603/0.001603, allocations: 110.5 kB / 16.42 MB, free: 6.523 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.001859/0.001859, allocations: 189.5 kB / 17.35 MB, free: 5.73 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.314/1.314, allocations: 222.9 MB / 241.1 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.583/2.583, allocations: 472.7 MB / 0.746 GB, free: 468 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001366/0.001366, allocations: 55.91 kB / 1.07 GB, free: 9.613 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6865/0.6879, allocations: 159.9 MB / 1.226 GB, free: 13.56 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.002764/0.6907, allocations: 1.499 MB / 1.228 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001346/0.6921, allocations: 0.7412 MB / 1.229 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.568e-05/0.6921, allocations: 0 / 1.229 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.096e-05/0.6922, allocations: 7.922 kB / 1.229 GB, free: 11.3 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.762e-05/0.6923, allocations: 15.88 kB / 1.229 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005279/0.6928, allocations: 123.5 kB / 1.229 GB, free: 11.16 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001218/0.6929, allocations: 67.84 kB / 1.229 GB, free: 11.09 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 8.756e-05/0.693, allocations: 16.16 kB / 1.229 GB, free: 11.08 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.654e-05/0.6931, allocations: 39.8 kB / 1.229 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.432e-05/0.6932, allocations: 27.91 kB / 1.229 GB, free: 11.01 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.021e-05/0.6932, allocations: 15.94 kB / 1.229 GB, free: 11 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001836/0.6934, allocations: 91.91 kB / 1.229 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.677e-05/0.6935, allocations: 19.97 kB / 1.229 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.788e-05/0.6935, allocations: 31.8 kB / 1.229 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.6938, allocations: 148 kB / 1.229 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.6938, allocations: 0 / 1.229 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.032e-06/0.6938, allocations: 0 / 1.229 GB, free: 10.71 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.15e-06/0.6938, allocations: 0 / 1.229 GB, free: 10.71 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.0006161/0.6944, allocations: 458.4 kB / 1.23 GB, free: 10.21 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.6945, allocations: 8.031 kB / 1.23 GB, free: 10.2 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.014e-05/0.6945, allocations: 8.891 kB / 1.23 GB, free: 10.19 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.6946, allocations: 172.3 kB / 1.23 GB, free: 9.984 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.221e-05/0.6947, allocations: 4.375 kB / 1.23 GB, free: 9.98 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.6947, allocations: 8.359 kB / 1.23 GB, free: 9.973 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002017/0.6949, allocations: 81.7 kB / 1.23 GB, free: 9.887 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.6949, allocations: 0 / 1.23 GB, free: 9.887 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.223e-05/0.6949, allocations: 0 / 1.23 GB, free: 9.887 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.6949, allocations: 0 / 1.23 GB, free: 9.887 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.6951, allocations: 39.97 kB / 1.23 GB, free: 9.848 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004819/0.6956, allocations: 300.8 kB / 1.23 GB, free: 9.504 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.6957, allocations: 58.42 kB / 1.23 GB, free: 9.438 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.6958, allocations: 36.95 kB / 1.23 GB, free: 9.398 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.683e-05/0.6959, allocations: 4 kB / 1.23 GB, free: 9.395 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001874/0.6961, allocations: 79.38 kB / 1.23 GB, free: 9.305 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 1.643e-06/0.6961, allocations: 0 / 1.23 GB, free: 9.305 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0004255/0.6965, allocations: 145.6 kB / 1.23 GB, free: 9.156 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.381e-05/0.6966, allocations: 63.33 kB / 1.23 GB, free: 9.082 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.6967, allocations: 129.8 kB / 1.231 GB, free: 8.945 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.6967, allocations: 25.7 kB / 1.231 GB, free: 8.914 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.148e-05/0.6968, allocations: 100.1 kB / 1.231 GB, free: 8.812 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.088e-05/0.6968, allocations: 15.84 kB / 1.231 GB, free: 8.797 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.514e-05/0.6968, allocations: 29.7 kB / 1.231 GB, free: 8.762 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001266/0.697, allocations: 322.8 kB / 1.231 GB, free: 8.438 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.409e-05/0.697, allocations: 19.98 kB / 1.231 GB, free: 8.418 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001004/0.6972, allocations: 61.14 kB / 1.231 GB, free: 8.34 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/0.6973, allocations: 93.06 kB / 1.231 GB, free: 8.23 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.6973, allocations: 0 / 1.231 GB, free: 8.23 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002218/0.6976, allocations: 113.5 kB / 1.231 GB, free: 8.113 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.6976, allocations: 8 kB / 1.231 GB, free: 8.105 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.269e-06/0.6976, allocations: 0 / 1.231 GB, free: 8.105 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.627e-05/0.6976, allocations: 4 kB / 1.231 GB, free: 8.102 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.763e-05/0.6977, allocations: 16.08 kB / 1.231 GB, free: 8.086 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.6977, allocations: 8 kB / 1.231 GB, free: 8.078 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.181e-05/0.6978, allocations: 4 kB / 1.231 GB, free: 8.074 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.6978, allocations: 8 kB / 1.231 GB, free: 8.066 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.p,$PRE.bli.p,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.269e-05/0.6979, allocations: 119.2 kB / 1.232 GB, free: 7.941 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.877e-05/0.6979, allocations: 19.81 kB / 1.232 GB, free: 7.922 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.566e-05/0.698, allocations: 8.375 kB / 1.232 GB, free: 7.91 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.539e-06/0.698, allocations: 0 / 1.232 GB, free: 7.91 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.698, allocations: 7.938 kB / 1.232 GB, free: 7.902 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 3.517e-05/0.698, allocations: 85.06 kB / 1.232 GB, free: 7.801 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.036e-05/0.6981, allocations: 3.938 kB / 1.232 GB, free: 7.797 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.604e-05/0.6981, allocations: 11.98 kB / 1.232 GB, free: 7.785 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.833e-05/0.6982, allocations: 4 kB / 1.232 GB, free: 7.781 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003052/0.6985, allocations: 192.9 kB / 1.232 GB, free: 7.586 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003323/0.6988, allocations: 291.1 kB / 1.232 GB, free: 7.285 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.672e-05/0.699, allocations: 36.05 kB / 1.232 GB, free: 7.25 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.403e-05/0.699, allocations: 106.7 kB / 1.232 GB, free: 7.148 MB / 0.9512 GB Notification: Performance of Backend: time 3.01e-07/0.699, allocations: 0 / 1.232 GB, free: 7.148 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0006122/0.6996, allocations: 192 kB / 1.232 GB, free: 6.973 MB / 0.9512 GB Notification: Performance of SimCode: time 0.000528/0.7002, allocations: 0.6176 MB / 1.233 GB, free: 6.309 MB / 0.9512 GB Notification: Performance of Templates: time 0.003886/0.7041, allocations: 1.485 MB / 1.234 GB, free: 4.855 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.sim & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.H,bli.occ,bli.p,bli.blindState Variables in the result:H.amplitude,H.f,H.offset,H.phase,H.startTime,H.y,bli.A1,bli.A2,bli.B,bli.H,bli.LSen,bli.blindState,bli.occ,bli.p,bli.samplePeriod,bli.seed,bli.t0,occ.startTime,occ.startValue,occ.y,time