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 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.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity",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.007039/0.007039, allocations: 103.1 kB / 15.73 MB, free: 6.043 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.00135/0.00135, allocations: 188.4 kB / 16.67 MB, free: 5.961 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.59/2.59, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 67.89 kB / 1.054 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8444/0.8457, allocations: 157.4 MB / 1.207 GB, free: 13.56 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.002633/0.8484, allocations: 1.498 MB / 1.209 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001294/0.8497, allocations: 0.7362 MB / 1.209 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.72e-05/0.8498, allocations: 0 / 1.209 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.209e-05/0.8499, allocations: 3.938 kB / 1.209 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.533e-05/0.8499, allocations: 19.8 kB / 1.209 GB, free: 11.29 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006072/0.8506, allocations: 123.6 kB / 1.21 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001239/0.8507, allocations: 71.78 kB / 1.21 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.98e-05/0.8508, allocations: 16.17 kB / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.78e-05/0.8509, allocations: 31.86 kB / 1.21 GB, free: 11.05 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.635e-05/0.851, allocations: 39.83 kB / 1.21 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.977e-05/0.851, allocations: 7.938 kB / 1.21 GB, free: 11.01 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002121/0.8513, allocations: 103.8 kB / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.673e-05/0.8513, allocations: 11.92 kB / 1.21 GB, free: 10.89 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.172e-05/0.8514, allocations: 35.86 kB / 1.21 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002553/0.8516, allocations: 137.9 kB / 1.21 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.8516, allocations: 0 / 1.21 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.262e-06/0.8516, allocations: 0 / 1.21 GB, free: 10.73 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.127e-06/0.8517, allocations: 0 / 1.21 GB, free: 10.73 MB / 0.9356 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.0006184/0.8523, allocations: 450.5 kB / 1.21 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.869e-05/0.8523, allocations: 12.03 kB / 1.21 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.038e-05/0.8524, allocations: 38.73 kB / 1.21 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.813e-05/0.8524, allocations: 8.938 kB / 1.21 GB, free: 10.16 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001102/0.8525, allocations: 180.1 kB / 1.211 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.719e-05/0.8526, allocations: 8.312 kB / 1.211 GB, free: 9.938 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.822e-05/0.8526, allocations: 8.375 kB / 1.211 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000194/0.8528, allocations: 77.56 kB / 1.211 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.8528, allocations: 0 / 1.211 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.8528, allocations: 4 kB / 1.211 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/0.8528, allocations: 0 / 1.211 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001359/0.853, allocations: 39.97 kB / 1.211 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000487/0.8535, allocations: 296.8 kB / 1.211 GB, free: 9.465 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001334/0.8536, allocations: 54.48 kB / 1.211 GB, free: 9.402 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.931e-05/0.8537, allocations: 36.97 kB / 1.211 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.8537, allocations: 80 / 1.211 GB, free: 9.363 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001709/0.8539, allocations: 83.36 kB / 1.211 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.8539, allocations: 0 / 1.211 GB, free: 9.27 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0004018/0.8543, allocations: 145.5 kB / 1.211 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.8544, allocations: 51.41 kB / 1.211 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001068/0.8545, allocations: 129.8 kB / 1.212 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.8545, allocations: 29.64 kB / 1.212 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.501e-05/0.8546, allocations: 104 kB / 1.212 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.973e-05/0.8546, allocations: 7.844 kB / 1.212 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.781e-05/0.8547, allocations: 29.7 kB / 1.212 GB, free: 8.738 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001003/0.8548, allocations: 322.8 kB / 1.212 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.072e-05/0.8548, allocations: 19.98 kB / 1.212 GB, free: 8.395 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.041e-05/0.8549, allocations: 69.06 kB / 1.212 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.8551, allocations: 93 kB / 1.212 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.8551, allocations: 4 kB / 1.212 GB, free: 8.195 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002244/0.8553, allocations: 113.4 kB / 1.212 GB, free: 8.078 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.8554, allocations: 8 kB / 1.212 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.8554, allocations: 0 / 1.212 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.8554, allocations: 3.938 kB / 1.212 GB, free: 8.066 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.772e-05/0.8555, allocations: 12 kB / 1.212 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.432e-06/0.8555, allocations: 0 / 1.212 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.133e-05/0.8556, allocations: 24.05 kB / 1.212 GB, free: 8.031 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.292e-05/0.8556, allocations: 3.938 kB / 1.212 GB, free: 8.027 MB / 0.9356 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 8.727e-05/0.8557, allocations: 121.8 kB / 1.212 GB, free: 7.898 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.947e-05/0.8557, allocations: 7.906 kB / 1.212 GB, free: 7.891 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.906e-05/0.8558, allocations: 12.36 kB / 1.212 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.8558, allocations: 0 / 1.212 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.8558, allocations: 4 kB / 1.212 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.8558, allocations: 0 / 1.212 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004534/0.8562, allocations: 390.7 kB / 1.213 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.8563, allocations: 0 / 1.213 GB, free: 7.434 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.256e-05/0.8563, allocations: 4 kB / 1.213 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.8563, allocations: 0 / 1.213 GB, free: 7.43 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.633e-05/0.8563, allocations: 7.984 kB / 1.213 GB, free: 7.422 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.8563, allocations: 7.875 kB / 1.213 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.372e-06/0.8563, allocations: 80 / 1.213 GB, free: 7.414 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002937/0.8566, allocations: 223.4 kB / 1.213 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 3.467e-05/0.8567, allocations: 84.95 kB / 1.213 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.8567, allocations: 4 kB / 1.213 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.8568, allocations: 11.92 kB / 1.213 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.8569, allocations: 8.031 kB / 1.213 GB, free: 7.055 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.172e-05/0.8569, allocations: 7.984 kB / 1.213 GB, free: 7.047 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.307e-05/0.8569, allocations: 98.77 kB / 1.213 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.403e-06/0.857, allocations: 0 / 1.213 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003037/0.8573, allocations: 43.94 kB / 1.213 GB, free: 6.91 MB / 0.9356 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.p,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.0007673/0.858, allocations: 0.8024 MB / 1.214 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002261/0.8583, allocations: 67.91 kB / 1.214 GB, free: 6.027 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.8583, allocations: 0 / 1.214 GB, free: 6.027 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001017/0.8584, allocations: 39.91 kB / 1.214 GB, free: 5.988 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/0.8587, allocations: 11.94 kB / 1.214 GB, free: 5.977 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001526/0.8602, allocations: 1.537 MB / 1.216 GB, free: 4.328 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002137/0.8604, allocations: 0.6846 MB / 1.216 GB, free: 3.617 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.735e-05/0.8605, allocations: 7.984 kB / 1.216 GB, free: 3.609 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.352e-05/0.8605, allocations: 15.44 kB / 1.216 GB, free: 3.594 MB / 0.9356 GB Notification: Performance of SimCode: time 2.51e-07/0.8605, allocations: 0 / 1.216 GB, free: 3.594 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.022/0.8825, allocations: 2.789 MB / 1.219 GB, free: 0.9961 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.784/8.666, allocations: 4.188 kB / 1.219 GB, free: 0.9922 MB / 0.9356 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.fmu > 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,occ.startTime,occ.startValue,occ.y,time