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.006475/0.006475, allocations: 100.5 kB / 15.73 MB, free: 6.039 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.001122/0.001122, allocations: 195.5 kB / 16.68 MB, free: 5.957 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.259/1.259, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.243/2.243, allocations: 390.3 MB / 0.6648 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 67.89 kB / 0.9504 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7407/0.742, allocations: 140.4 MB / 1.087 GB, free: 5.273 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.003507/0.7455, allocations: 1.495 MB / 1.089 GB, free: 4.234 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001621/0.7472, allocations: 0.715 MB / 1.09 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.93e-05/0.7472, allocations: 0 / 1.09 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.398e-05/0.7473, allocations: 10.12 kB / 1.09 GB, free: 3.742 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 7.21e-05/0.7474, allocations: 18.47 kB / 1.09 GB, free: 3.727 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007268/0.7481, allocations: 114.4 kB / 1.09 GB, free: 3.672 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001442/0.7483, allocations: 74.11 kB / 1.09 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.7484, allocations: 7.797 kB / 1.09 GB, free: 3.637 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.7485, allocations: 34.66 kB / 1.09 GB, free: 3.621 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.572e-05/0.7486, allocations: 34.41 kB / 1.09 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.491e-05/0.7487, allocations: 12.75 kB / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003285/0.749, allocations: 97.5 kB / 1.09 GB, free: 3.566 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.146e-05/0.7491, allocations: 14.72 kB / 1.09 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 6.769e-05/0.7492, allocations: 27.91 kB / 1.09 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003869/0.7496, allocations: 133.6 kB / 1.09 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.221e-06/0.7496, allocations: 0.7188 kB / 1.09 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.766e-06/0.7496, allocations: 0 / 1.09 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.7496, allocations: 3.938 kB / 1.09 GB, free: 3.496 MB / 0.8575 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.000616/0.7502, allocations: 449.6 kB / 1.091 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.7503, allocations: 9.125 kB / 1.091 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.277e-05/0.7503, allocations: 41.47 kB / 1.091 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.556e-05/0.7504, allocations: 9.328 kB / 1.091 GB, free: 2.992 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.46e-05/0.7505, allocations: 177.5 kB / 1.091 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.7505, allocations: 7.656 kB / 1.091 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.609e-05/0.7505, allocations: 3.469 kB / 1.091 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.7507, allocations: 81.22 kB / 1.091 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.7507, allocations: 0 / 1.091 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.7507, allocations: 5.734 kB / 1.091 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.7507, allocations: 1.062 kB / 1.091 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001366/0.7509, allocations: 36.3 kB / 1.091 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000394/0.7513, allocations: 290.8 kB / 1.091 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001211/0.7514, allocations: 49.81 kB / 1.091 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.299e-05/0.7515, allocations: 36.34 kB / 1.091 GB, free: 2.375 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.668e-05/0.7515, allocations: 4.844 kB / 1.091 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001827/0.7517, allocations: 73.08 kB / 1.091 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.7517, allocations: 0 / 1.091 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0003903/0.7521, allocations: 141.5 kB / 1.092 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.7522, allocations: 62.52 kB / 1.092 GB, free: 2.18 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.482e-05/0.7522, allocations: 119.1 kB / 1.092 GB, free: 2.074 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.102e-05/0.7523, allocations: 26.67 kB / 1.092 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.421e-05/0.7523, allocations: 95.91 kB / 1.092 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.948e-05/0.7523, allocations: 16.8 kB / 1.092 GB, free: 1.938 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.228e-05/0.7524, allocations: 28.47 kB / 1.092 GB, free: 1.914 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.49e-05/0.7524, allocations: 322 kB / 1.092 GB, free: 1.594 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.487e-05/0.7525, allocations: 21.42 kB / 1.092 GB, free: 1.59 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.525e-05/0.7526, allocations: 63.67 kB / 1.092 GB, free: 1.531 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001559/0.7528, allocations: 94.8 kB / 1.092 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.7528, allocations: 1.516 kB / 1.092 GB, free: 1.457 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002139/0.753, allocations: 109 kB / 1.092 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.315e-05/0.753, allocations: 4.656 kB / 1.092 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.753, allocations: 2.422 kB / 1.092 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.753, allocations: 5.938 kB / 1.092 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.355e-05/0.7531, allocations: 12.75 kB / 1.092 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.7531, allocations: 3.234 kB / 1.092 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.966e-05/0.7532, allocations: 13.11 kB / 1.092 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.176e-05/0.7532, allocations: 3.781 kB / 1.092 GB, free: 1.391 MB / 0.8575 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 7.754e-05/0.7533, allocations: 129.4 kB / 1.093 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.943e-05/0.7533, allocations: 10.56 kB / 1.093 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.433e-05/0.7534, allocations: 7.484 kB / 1.093 GB, free: 1.246 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.7534, allocations: 4.719 kB / 1.093 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.7534, allocations: 0.875 kB / 1.093 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.7534, allocations: 0.7969 kB / 1.093 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000381/0.7538, allocations: 385.5 kB / 1.093 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.994e-06/0.7538, allocations: 0 / 1.093 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.233e-05/0.7538, allocations: 6.031 kB / 1.093 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.7538, allocations: 0.8438 kB / 1.093 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.151e-05/0.7538, allocations: 2.406 kB / 1.093 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.7539, allocations: 8.969 kB / 1.093 GB, free: 0.8906 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.7539, allocations: 3.938 kB / 1.093 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.7541, allocations: 207.2 kB / 1.093 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 2.226e-05/0.7542, allocations: 87.28 kB / 1.093 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.7542, allocations: 6.141 kB / 1.093 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.914e-05/0.7543, allocations: 7.625 kB / 1.093 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.7543, allocations: 5.109 kB / 1.093 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.7543, allocations: 8.016 kB / 1.093 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.512e-05/0.7544, allocations: 95.53 kB / 1.093 GB, free: 0.5352 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7544, allocations: 3.938 kB / 1.093 GB, free: 0.5312 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003025/0.7547, allocations: 38.75 kB / 1.093 GB, free: 0.5234 MB / 0.8575 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.0006669/0.7554, allocations: 0.7977 MB / 1.094 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002339/0.7556, allocations: 74.28 kB / 1.094 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.7556, allocations: 0.6562 kB / 1.094 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0001039/0.7557, allocations: 36.53 kB / 1.094 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002553/0.756, allocations: 15.8 kB / 1.094 GB, free: 15.78 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001595/0.7576, allocations: 1.513 MB / 1.096 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002493/0.7579, allocations: 0.6865 MB / 1.096 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.896e-05/0.7579, allocations: 13.06 kB / 1.097 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.213e-05/0.7579, allocations: 21.08 kB / 1.097 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of SimCode: time 3.41e-07/0.758, allocations: 0 / 1.097 GB, free: 13.69 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08537/0.8433, allocations: 2.621 MB / 1.099 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.634/8.477, allocations: 11.17 kB / 1.099 GB, free: 13.21 MB / 0.8731 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