Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 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.Haldi2008BlindsTOut,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",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.001244/0.001244, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001226/0.001226, allocations: 194 kB / 16.53 MB, free: 6.391 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.272/1.272, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.118/2.118, allocations: 390.2 MB / 0.6647 GB, free: 280 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.001241, allocations: 63.91 kB / 0.8127 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4988/0.5, allocations: 140.4 MB / 0.9497 GB, free: 9.25 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.00202/0.5021, allocations: 1.482 MB / 0.9512 GB, free: 8.082 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0008634/0.503, allocations: 0.725 MB / 0.9519 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.524e-05/0.503, allocations: 1.125 kB / 0.9519 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.419e-05/0.503, allocations: 7.922 kB / 0.9519 GB, free: 7.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.622e-05/0.5031, allocations: 14 kB / 0.9519 GB, free: 7.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004156/0.5035, allocations: 112.4 kB / 0.952 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.585e-05/0.5036, allocations: 77.5 kB / 0.9521 GB, free: 7.375 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 7.975e-05/0.5037, allocations: 22.33 kB / 0.9521 GB, free: 7.359 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.326e-05/0.5038, allocations: 29.2 kB / 0.9521 GB, free: 7.344 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.742e-05/0.5038, allocations: 37.97 kB / 0.9522 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.572e-05/0.5038, allocations: 5.625 kB / 0.9522 GB, free: 7.316 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001466/0.504, allocations: 92.66 kB / 0.9523 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.967e-05/0.504, allocations: 19.41 kB / 0.9523 GB, free: 7.254 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.629e-05/0.504, allocations: 35.89 kB / 0.9523 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.5042, allocations: 123.8 kB / 0.9524 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.5042, allocations: 1.438 kB / 0.9524 GB, free: 7.152 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.062e-06/0.5042, allocations: 3.938 kB / 0.9524 GB, free: 7.148 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.927e-06/0.5042, allocations: 0 / 0.9524 GB, free: 7.148 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.000416/0.5047, allocations: 457.2 kB / 0.9529 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.5047, allocations: 9.031 kB / 0.9529 GB, free: 6.676 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.247e-05/0.5047, allocations: 36.06 kB / 0.9529 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.776e-05/0.5048, allocations: 5.812 kB / 0.9529 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.978e-05/0.5048, allocations: 174.4 kB / 0.9531 GB, free: 6.426 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.5048, allocations: 7.125 kB / 0.9531 GB, free: 6.422 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.5049, allocations: 7.984 kB / 0.9531 GB, free: 6.418 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001469/0.505, allocations: 71.78 kB / 0.9532 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.505, allocations: 1 kB / 0.9532 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.505, allocations: 4 kB / 0.9532 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.505, allocations: 1.219 kB / 0.9532 GB, free: 6.355 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001162/0.5052, allocations: 40.28 kB / 0.9532 GB, free: 6.336 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003368/0.5055, allocations: 305.7 kB / 0.9535 GB, free: 6.012 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.5056, allocations: 51.94 kB / 0.9535 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.156e-05/0.5057, allocations: 31.81 kB / 0.9536 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.5057, allocations: 1.25 kB / 0.9536 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001332/0.5059, allocations: 76.94 kB / 0.9537 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.332e-06/0.5059, allocations: 0 / 0.9537 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0003241/0.5062, allocations: 143.3 kB / 0.9538 GB, free: 5.793 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.116e-05/0.5062, allocations: 53.67 kB / 0.9538 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.192e-05/0.5063, allocations: 117.5 kB / 0.954 GB, free: 5.621 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.758e-06/0.5063, allocations: 33.64 kB / 0.954 GB, free: 5.582 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.951e-05/0.5063, allocations: 95.95 kB / 0.9541 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.503e-05/0.5064, allocations: 18.47 kB / 0.9541 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.461e-05/0.5064, allocations: 25.05 kB / 0.9541 GB, free: 5.449 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.037e-05/0.5064, allocations: 321.6 kB / 0.9544 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.992e-05/0.5065, allocations: 28.56 kB / 0.9545 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.122e-05/0.5066, allocations: 60.77 kB / 0.9545 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001304/0.5067, allocations: 92.44 kB / 0.9546 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.5067, allocations: 1.094 kB / 0.9546 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001854/0.5069, allocations: 111.9 kB / 0.9547 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.5069, allocations: 7.562 kB / 0.9547 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.507, allocations: 5.406 kB / 0.9547 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.507, allocations: 2.375 kB / 0.9547 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.3e-05/0.5071, allocations: 9.375 kB / 0.9547 GB, free: 4.898 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.5071, allocations: 10.83 kB / 0.9547 GB, free: 4.891 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.315e-05/0.5071, allocations: 8.344 kB / 0.9547 GB, free: 4.887 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-06/0.5071, allocations: 2.938 kB / 0.9548 GB, free: 4.887 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.537e-05/0.5072, allocations: 119.3 kB / 0.9549 GB, free: 4.766 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.474e-05/0.5072, allocations: 7.469 kB / 0.9549 GB, free: 4.762 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.966e-05/0.5072, allocations: 17.73 kB / 0.9549 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.5072, allocations: 1.438 kB / 0.9549 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.5073, allocations: 0 / 0.9549 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.5073, allocations: 0 / 0.9549 GB, free: 4.746 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003208/0.5076, allocations: 382.4 kB / 0.9553 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.5076, allocations: 0 / 0.9553 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.605e-05/0.5076, allocations: 3.656 kB / 0.9553 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.5076, allocations: 1.25 kB / 0.9553 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.5077, allocations: 7.984 kB / 0.9553 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.5077, allocations: 5.406 kB / 0.9553 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.5077, allocations: 3.938 kB / 0.9553 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002205/0.5079, allocations: 204 kB / 0.9555 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.064e-05/0.5079, allocations: 91.95 kB / 0.9556 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.92e-05/0.5079, allocations: 7.984 kB / 0.9556 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.162e-05/0.508, allocations: 11.38 kB / 0.9556 GB, free: 4.07 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.674e-05/0.5081, allocations: 14.67 kB / 0.9556 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.5081, allocations: 1.75 kB / 0.9556 GB, free: 4.059 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.26e-05/0.5081, allocations: 96.92 kB / 0.9557 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5081, allocations: 1.469 kB / 0.9557 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002603/0.5084, allocations: 36.75 kB / 0.9557 GB, free: 3.965 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.0005601/0.509, allocations: 0.7919 MB / 0.9565 GB, free: 3.246 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00021/0.5092, allocations: 76.59 kB / 0.9566 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.5092, allocations: 320 / 0.9566 GB, free: 3.211 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 8.994e-05/0.5093, allocations: 37.36 kB / 0.9566 GB, free: 3.195 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.5095, allocations: 15.36 kB / 0.9566 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001101/0.5106, allocations: 1.498 MB / 0.9581 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.275e-05/0.5107, allocations: 0.6892 MB / 0.9588 GB, free: 1.062 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.882e-05/0.5108, allocations: 6.703 kB / 0.9588 GB, free: 1.059 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.419e-05/0.5108, allocations: 18.33 kB / 0.9588 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of SimCode: time 2.01e-07/0.5108, allocations: 1.5 kB / 0.9588 GB, free: 1.043 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.604/2.115, allocations: 2.604 MB / 0.9613 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.601/9.715, allocations: 11.19 kB / 0.9613 GB, free: 15.65 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat --tempDir=temp_Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.fmu > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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,occ.startTime,occ.startValue,occ.y,time