Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Haldi2008BlindsTIn,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",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.001257/0.001257, allocations: 103.4 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.001154/0.001154, allocations: 198.5 kB / 16.26 MB, free: 6.625 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.297/1.297, allocations: 222.9 MB / 239.9 MB, free: 4.535 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.139/2.139, allocations: 390.2 MB / 0.6644 GB, free: 0.5742 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 63.91 kB / 0.8122 GB, free: 14.7 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5501/0.5514, allocations: 140.4 MB / 0.9492 GB, free: 9.164 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002011/0.5534, allocations: 1.542 MB / 0.9507 GB, free: 7.953 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008354/0.5543, allocations: 0.7174 MB / 0.9514 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.249e-05/0.5543, allocations: 0 / 0.9514 GB, free: 7.398 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.929e-05/0.5543, allocations: 7.938 kB / 0.9514 GB, free: 7.391 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.263e-05/0.5544, allocations: 10.67 kB / 0.9515 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004074/0.5548, allocations: 104.8 kB / 0.9516 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.638e-05/0.5549, allocations: 73.97 kB / 0.9516 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.732e-05/0.555, allocations: 17.48 kB / 0.9516 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.505e-05/0.555, allocations: 33.66 kB / 0.9517 GB, free: 7.238 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.514e-05/0.5551, allocations: 37.53 kB / 0.9517 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.5551, allocations: 5.656 kB / 0.9517 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.5553, allocations: 93.44 kB / 0.9518 GB, free: 7.164 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.749e-05/0.5553, allocations: 14.55 kB / 0.9518 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.441e-05/0.5553, allocations: 32.67 kB / 0.9519 GB, free: 7.129 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001618/0.5555, allocations: 136 kB / 0.952 GB, free: 7.043 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.5555, allocations: 5 kB / 0.952 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.282e-06/0.5555, allocations: 0 / 0.952 GB, free: 7.039 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.5555, allocations: 0 / 0.952 GB, free: 7.039 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.000419/0.5559, allocations: 449.5 kB / 0.9524 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.26e-05/0.556, allocations: 9.75 kB / 0.9524 GB, free: 6.57 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.617e-05/0.556, allocations: 36.5 kB / 0.9525 GB, free: 6.527 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.886e-05/0.556, allocations: 7.922 kB / 0.9525 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.318e-05/0.5561, allocations: 175.3 kB / 0.9526 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.125e-05/0.5561, allocations: 4.25 kB / 0.9526 GB, free: 6.316 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.287e-05/0.5561, allocations: 7.062 kB / 0.9526 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.5563, allocations: 68.75 kB / 0.9527 GB, free: 6.258 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.5563, allocations: 4 kB / 0.9527 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.5563, allocations: 0 / 0.9527 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.246e-06/0.5563, allocations: 1.5 kB / 0.9527 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001157/0.5565, allocations: 36.88 kB / 0.9528 GB, free: 6.238 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003449/0.5568, allocations: 303.8 kB / 0.953 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000106/0.5569, allocations: 48.88 kB / 0.9531 GB, free: 5.875 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.527e-05/0.557, allocations: 32.53 kB / 0.9531 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.652e-05/0.557, allocations: 0 / 0.9531 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001437/0.5572, allocations: 86.33 kB / 0.9532 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.262e-06/0.5572, allocations: 0 / 0.9532 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003362/0.5575, allocations: 146.3 kB / 0.9533 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.834e-05/0.5576, allocations: 54.09 kB / 0.9534 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.883e-05/0.5576, allocations: 124.5 kB / 0.9535 GB, free: 5.508 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.5576, allocations: 31.05 kB / 0.9535 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.589e-05/0.5577, allocations: 86.39 kB / 0.9536 GB, free: 5.387 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.442e-05/0.5577, allocations: 14.28 kB / 0.9536 GB, free: 5.375 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.418e-05/0.5577, allocations: 25.92 kB / 0.9537 GB, free: 5.352 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.296e-05/0.5578, allocations: 325.3 kB / 0.954 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.182e-05/0.5578, allocations: 24.73 kB / 0.954 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.05e-05/0.5579, allocations: 57.92 kB / 0.9541 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.5581, allocations: 95.53 kB / 0.9541 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.5581, allocations: 1.125 kB / 0.9541 GB, free: 4.875 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001789/0.5582, allocations: 112.9 kB / 0.9543 GB, free: 4.805 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.029e-05/0.5583, allocations: 8.906 kB / 0.9543 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.5583, allocations: 2.75 kB / 0.9543 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.5583, allocations: 1.375 kB / 0.9543 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.327e-05/0.5584, allocations: 13.3 kB / 0.9543 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.5584, allocations: 2.969 kB / 0.9543 GB, free: 4.797 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.57e-05/0.5584, allocations: 11.28 kB / 0.9543 GB, free: 4.789 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.5585, allocations: 8.5 kB / 0.9543 GB, free: 4.785 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.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 5.804e-05/0.5585, allocations: 121.3 kB / 0.9544 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.515e-05/0.5585, allocations: 14.8 kB / 0.9544 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.159e-05/0.5586, allocations: 13.84 kB / 0.9544 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.5586, allocations: 1.281 kB / 0.9544 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.5586, allocations: 4 kB / 0.9544 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.5586, allocations: 0 / 0.9544 GB, free: 4.637 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003266/0.5589, allocations: 381.7 kB / 0.9548 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.5589, allocations: 1.406 kB / 0.9548 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.646e-05/0.559, allocations: 6.766 kB / 0.9548 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.559, allocations: 5.375 kB / 0.9548 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.559, allocations: 0 / 0.9548 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/0.559, allocations: 9.156 kB / 0.9548 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.559, allocations: 0 / 0.9548 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002156/0.5592, allocations: 209.2 kB / 0.955 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 1.753e-05/0.5592, allocations: 86.39 kB / 0.9551 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.742e-05/0.5593, allocations: 1.219 kB / 0.9551 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.47e-05/0.5594, allocations: 14.59 kB / 0.9551 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.233e-05/0.5594, allocations: 6.516 kB / 0.9551 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.027e-06/0.5594, allocations: 6.594 kB / 0.9551 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.022e-05/0.5594, allocations: 96.33 kB / 0.9552 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5594, allocations: 5.406 kB / 0.9552 GB, free: 3.867 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002602/0.5597, allocations: 39.05 kB / 0.9553 GB, free: 3.855 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.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.0005259/0.5602, allocations: 0.782 MB / 0.956 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001969/0.5604, allocations: 76.91 kB / 0.9561 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5605, allocations: 4.312 kB / 0.9561 GB, free: 3.105 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.517e-05/0.5605, allocations: 33.05 kB / 0.9561 GB, free: 3.094 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002362/0.5608, allocations: 17.34 kB / 0.9562 GB, free: 3.082 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.5619, allocations: 1.511 MB / 0.9576 GB, free: 1.648 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.878e-05/0.562, allocations: 0.6888 MB / 0.9583 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.111e-05/0.562, allocations: 3.75 kB / 0.9583 GB, free: 0.9453 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.301e-05/0.5621, allocations: 18.66 kB / 0.9583 GB, free: 0.9297 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.5621, allocations: 3.938 kB / 0.9583 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.371/1.933, allocations: 2.484 MB / 0.9608 GB, free: 15.67 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002001/1.933, allocations: 259.4 kB / 0.961 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.694/3.628, allocations: 0 / 0.961 GB, free: 15.42 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.fmu > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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,occ.startTime,occ.startValue,occ.y,time