Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity,fileNamePrefix="Buildings_9_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.001749/0.001749, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001936/0.001936, allocations: 190.4 kB / 16.25 MB, free: 6.152 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.283/1.283, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.095/2.095, allocations: 390.2 MB / 0.6644 GB, free: 0.5938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 63.91 kB / 0.8122 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5322/0.5334, allocations: 140.4 MB / 0.9492 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity): time 0.002089/0.5355, allocations: 1.547 MB / 0.9507 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008788/0.5364, allocations: 0.7378 MB / 0.9515 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.497e-05/0.5364, allocations: 0 / 0.9515 GB, free: 7.406 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.334e-05/0.5365, allocations: 3.938 kB / 0.9515 GB, free: 7.402 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.489e-05/0.5365, allocations: 10.67 kB / 0.9515 GB, free: 7.395 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00043/0.537, allocations: 110.1 kB / 0.9516 GB, free: 7.32 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.359e-05/0.5371, allocations: 77.72 kB / 0.9517 GB, free: 7.273 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 8.313e-05/0.5371, allocations: 18.44 kB / 0.9517 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 7.031e-05/0.5372, allocations: 36.95 kB / 0.9517 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.283e-05/0.5373, allocations: 39.11 kB / 0.9517 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.5373, allocations: 6.219 kB / 0.9517 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001513/0.5375, allocations: 92.78 kB / 0.9518 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.996e-05/0.5375, allocations: 20.53 kB / 0.9519 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.71e-05/0.5375, allocations: 32.25 kB / 0.9519 GB, free: 7.125 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001735/0.5377, allocations: 140.9 kB / 0.952 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.5377, allocations: 0 / 0.952 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5377, allocations: 0 / 0.952 GB, free: 7.035 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.5377, allocations: 0 / 0.952 GB, free: 7.035 MB / 0.7169 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.0004482/0.5382, allocations: 455.7 kB / 0.9525 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.492e-05/0.5382, allocations: 9.938 kB / 0.9525 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.556e-05/0.5383, allocations: 39.86 kB / 0.9525 GB, free: 6.516 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.038e-05/0.5383, allocations: 9.344 kB / 0.9525 GB, free: 6.512 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.841e-05/0.5384, allocations: 184.4 kB / 0.9527 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.5384, allocations: 3.344 kB / 0.9527 GB, free: 6.297 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.653e-05/0.5384, allocations: 7.188 kB / 0.9527 GB, free: 6.293 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.5386, allocations: 72.64 kB / 0.9528 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.5386, allocations: 0 / 0.9528 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.5386, allocations: 1.312 kB / 0.9528 GB, free: 6.234 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-06/0.5386, allocations: 5.125 kB / 0.9528 GB, free: 6.23 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001212/0.5387, allocations: 40.62 kB / 0.9528 GB, free: 6.211 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003688/0.5391, allocations: 302.4 kB / 0.9531 GB, free: 5.891 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001117/0.5392, allocations: 48.58 kB / 0.9531 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.776e-05/0.5393, allocations: 36.06 kB / 0.9532 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.5393, allocations: 1.25 kB / 0.9532 GB, free: 5.828 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001529/0.5395, allocations: 81.88 kB / 0.9533 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.533e-06/0.5395, allocations: 0 / 0.9533 GB, free: 5.754 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003604/0.5399, allocations: 145.8 kB / 0.9534 GB, free: 5.668 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.678e-05/0.5399, allocations: 53.91 kB / 0.9535 GB, free: 5.605 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.447e-05/0.54, allocations: 131 kB / 0.9536 GB, free: 5.484 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.979e-06/0.54, allocations: 27.14 kB / 0.9536 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.836e-05/0.54, allocations: 99.31 kB / 0.9537 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.516e-05/0.5401, allocations: 14.62 kB / 0.9537 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.613e-05/0.5401, allocations: 28.73 kB / 0.9537 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.767e-05/0.5401, allocations: 321.6 kB / 0.954 GB, free: 4.996 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.24e-05/0.5402, allocations: 21.48 kB / 0.9541 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.121e-05/0.5403, allocations: 69.72 kB / 0.9541 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001249/0.5404, allocations: 87.02 kB / 0.9542 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.5404, allocations: 5.5 kB / 0.9542 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001806/0.5406, allocations: 112.1 kB / 0.9543 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.5406, allocations: 8.156 kB / 0.9543 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.5406, allocations: 9.172 kB / 0.9543 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.5407, allocations: 2.25 kB / 0.9543 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.323e-05/0.5407, allocations: 9.156 kB / 0.9544 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.5407, allocations: 3.156 kB / 0.9544 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.581e-05/0.5408, allocations: 15.89 kB / 0.9544 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.5408, allocations: 12.78 kB / 0.9544 GB, free: 4.742 MB / 0.7169 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 5.703e-05/0.5409, allocations: 114.8 kB / 0.9545 GB, free: 4.625 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.647e-05/0.5409, allocations: 7.5 kB / 0.9545 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.171e-05/0.5409, allocations: 9.906 kB / 0.9545 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.5409, allocations: 5.531 kB / 0.9545 GB, free: 4.609 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.5409, allocations: 3.984 kB / 0.9545 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.5409, allocations: 0 / 0.9545 GB, free: 4.605 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003421/0.5413, allocations: 396.8 kB / 0.9549 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.5413, allocations: 0 / 0.9549 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.749e-05/0.5413, allocations: 3.625 kB / 0.9549 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.5414, allocations: 0.9375 kB / 0.9549 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.5414, allocations: 5.484 kB / 0.9549 GB, free: 4.219 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.5414, allocations: 3.938 kB / 0.9549 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.5414, allocations: 1.188 kB / 0.9549 GB, free: 4.215 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002339/0.5416, allocations: 217.9 kB / 0.9551 GB, free: 4.035 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.92e-05/0.5416, allocations: 87.73 kB / 0.9552 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.5417, allocations: 0 / 0.9552 GB, free: 3.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.916e-05/0.5418, allocations: 19.67 kB / 0.9552 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.569e-05/0.5418, allocations: 6.188 kB / 0.9552 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.5418, allocations: 6.484 kB / 0.9552 GB, free: 3.91 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.435e-05/0.5419, allocations: 96.98 kB / 0.9553 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.5419, allocations: 4 kB / 0.9553 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002666/0.5421, allocations: 36.66 kB / 0.9554 GB, free: 3.816 MB / 0.7169 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.0005822/0.5427, allocations: 0.806 MB / 0.9562 GB, free: 3.086 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0002037/0.5429, allocations: 74.16 kB / 0.9562 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.5429, allocations: 0 / 0.9562 GB, free: 3.055 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.982e-05/0.543, allocations: 36.81 kB / 0.9563 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002397/0.5433, allocations: 12.75 kB / 0.9563 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.5444, allocations: 1.537 MB / 0.9578 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.822e-05/0.5445, allocations: 0.6896 MB / 0.9584 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.275e-05/0.5446, allocations: 7.594 kB / 0.9585 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.684e-05/0.5446, allocations: 21.8 kB / 0.9585 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of SimCode: time 3.21e-07/0.5446, allocations: 0 / 0.9585 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.375/1.92, allocations: 2.578 MB / 0.961 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002514/1.92, allocations: 276.1 kB / 0.9613 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.693/3.613, allocations: 3.375 kB / 0.9613 GB, free: 15.21 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.fmu > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Inkarojrit2008BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Inkarojrit2008BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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