Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_11_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.004736/0.004736, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001361/0.001361, allocations: 195.9 kB / 16.68 MB, free: 5.969 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.235/1.235, 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.1.0-maint.11.x/package.mo): time 2.438/2.438, allocations: 469.8 MB / 0.7425 GB, free: 3.312 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001677/0.001677, allocations: 63.91 kB / 1.065 GB, free: 14.08 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6016/0.6033, allocations: 159.1 MB / 1.22 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002232/0.6055, allocations: 1.484 MB / 1.222 GB, free: 0.5586 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001065/0.6066, allocations: 0.7215 MB / 1.222 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.42e-05/0.6067, allocations: 0 / 1.222 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.818e-05/0.6067, allocations: 7.922 kB / 1.222 GB, free: 15.82 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 4.609e-05/0.6067, allocations: 11.86 kB / 1.222 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004355/0.6072, allocations: 123.6 kB / 1.222 GB, free: 15.69 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001047/0.6073, allocations: 75.7 kB / 1.223 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 7.539e-05/0.6074, allocations: 15.94 kB / 1.223 GB, free: 15.6 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 6.862e-05/0.6075, allocations: 31.91 kB / 1.223 GB, free: 15.57 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.69e-05/0.6075, allocations: 31.84 kB / 1.223 GB, free: 15.54 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.98e-05/0.6075, allocations: 11.98 kB / 1.223 GB, free: 15.53 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001721/0.6077, allocations: 95.86 kB / 1.223 GB, free: 15.43 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.587e-05/0.6078, allocations: 15.97 kB / 1.223 GB, free: 15.42 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.55e-05/0.6078, allocations: 31.81 kB / 1.223 GB, free: 15.39 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002037/0.608, allocations: 139.3 kB / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.454e-06/0.608, allocations: 0 / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.182e-06/0.608, allocations: 0 / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.797e-06/0.608, allocations: 0 / 1.223 GB, free: 15.25 MB / 0.9512 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.0005309/0.6086, allocations: 442.4 kB / 1.223 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.6086, allocations: 12.03 kB / 1.223 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.418e-05/0.6087, allocations: 38.73 kB / 1.223 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.733e-05/0.6087, allocations: 8.891 kB / 1.223 GB, free: 14.7 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.6088, allocations: 180.2 kB / 1.224 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/0.6088, allocations: 4.375 kB / 1.224 GB, free: 14.48 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.434e-05/0.6089, allocations: 8.312 kB / 1.224 GB, free: 14.47 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001673/0.609, allocations: 73.77 kB / 1.224 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.609, allocations: 0 / 1.224 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.6091, allocations: 0 / 1.224 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.6091, allocations: 4 kB / 1.224 GB, free: 14.39 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001311/0.6092, allocations: 39.97 kB / 1.224 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004173/0.6096, allocations: 300.7 kB / 1.224 GB, free: 14 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.6098, allocations: 42.56 kB / 1.224 GB, free: 13.95 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.521e-05/0.6098, allocations: 36.95 kB / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.659e-05/0.6099, allocations: 4 kB / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001687/0.61, allocations: 83.38 kB / 1.224 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=7): time 3.006e-06/0.6101, allocations: 0 / 1.224 GB, free: 13.82 MB / 0.9512 GB Notification: Performance of matching and sorting (n=7): time 0.0003612/0.6104, allocations: 137.6 kB / 1.224 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.845e-05/0.6105, allocations: 55.41 kB / 1.224 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.392e-05/0.6106, allocations: 125.8 kB / 1.224 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.6106, allocations: 33.7 kB / 1.224 GB, free: 13.44 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.54e-05/0.6106, allocations: 84.14 kB / 1.224 GB, free: 13.35 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.414e-05/0.6107, allocations: 19.89 kB / 1.225 GB, free: 13.33 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.168e-05/0.6107, allocations: 25.72 kB / 1.225 GB, free: 13.3 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.6108, allocations: 326.8 kB / 1.225 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.576e-05/0.6109, allocations: 19.98 kB / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.853e-05/0.611, allocations: 65.08 kB / 1.225 GB, free: 12.87 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001572/0.6112, allocations: 89.06 kB / 1.225 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.6112, allocations: 0 / 1.225 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000218/0.6114, allocations: 117.5 kB / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.6114, allocations: 4 kB / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.6114, allocations: 4 kB / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.367e-06/0.6115, allocations: 0 / 1.225 GB, free: 12.64 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.329e-05/0.6115, allocations: 11.98 kB / 1.225 GB, free: 12.62 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.6116, allocations: 12.09 kB / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.622e-05/0.6116, allocations: 7.938 kB / 1.225 GB, free: 12.61 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.205e-05/0.6116, allocations: 4 kB / 1.225 GB, free: 12.6 MB / 0.9512 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 8.313e-05/0.6117, allocations: 125.7 kB / 1.225 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.801e-05/0.6117, allocations: 11.95 kB / 1.225 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.313e-05/0.6118, allocations: 8.375 kB / 1.225 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-06/0.6118, allocations: 0 / 1.225 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.6118, allocations: 0 / 1.225 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.6118, allocations: 4 kB / 1.225 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004467/0.6122, allocations: 390.7 kB / 1.226 GB, free: 12 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.6123, allocations: 0 / 1.226 GB, free: 12 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.784e-05/0.6123, allocations: 8.031 kB / 1.226 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.6123, allocations: 3.984 kB / 1.226 GB, free: 11.99 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.877e-06/0.6123, allocations: 3.938 kB / 1.226 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.986e-06/0.6123, allocations: 3.938 kB / 1.226 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.6123, allocations: 0 / 1.226 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002731/0.6126, allocations: 211.4 kB / 1.226 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.449e-05/0.6127, allocations: 85 kB / 1.226 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.6127, allocations: 0 / 1.226 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.52e-05/0.6128, allocations: 15.92 kB / 1.226 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.34e-05/0.6128, allocations: 4 kB / 1.226 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.6128, allocations: 0 / 1.226 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.166e-05/0.6129, allocations: 95.92 kB / 1.226 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6129, allocations: 4 kB / 1.226 GB, free: 11.54 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002548/0.6132, allocations: 39.92 kB / 1.226 GB, free: 11.5 MB / 0.9512 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.0007421/0.6139, allocations: 0.8087 MB / 1.227 GB, free: 10.68 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002054/0.6141, allocations: 71.84 kB / 1.227 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.6141, allocations: 0 / 1.227 GB, free: 10.61 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 9.424e-05/0.6142, allocations: 35.98 kB / 1.227 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.6145, allocations: 18.05 kB / 1.227 GB, free: 10.56 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.6159, allocations: 1.509 MB / 1.229 GB, free: 8.941 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.6162, allocations: 0.6884 MB / 1.229 GB, free: 8.227 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.992e-05/0.6162, allocations: 7.984 kB / 1.229 GB, free: 8.219 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.761e-05/0.6163, allocations: 19.44 kB / 1.229 GB, free: 8.199 MB / 0.9512 GB Notification: Performance of SimCode: time 2.4e-07/0.6163, allocations: 4 kB / 1.229 GB, free: 8.195 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.405/2.021, allocations: 2.639 MB / 1.232 GB, free: 5.672 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.07/18.09, allocations: 15.88 kB / 1.232 GB, free: 5.664 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.fmu > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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