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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 108.2 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 186.7 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.279/1.279, allocations: 225.6 MB / 249.3 MB, free: 3.184 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.444/2.444, allocations: 476.7 MB / 0.7628 GB, free: 15.3 MB / 0.6075 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001762/0.001762, allocations: 63.91 kB / 1.107 GB, free: 5.188 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7765/0.7783, allocations: 168.7 MB / 1.271 GB, free: 7.719 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002152/0.7804, allocations: 1.528 MB / 1.273 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009836/0.7814, allocations: 0.7426 MB / 1.274 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.4e-05/0.7814, allocations: 0 / 1.274 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.419e-05/0.7814, allocations: 6.516 kB / 1.274 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.494e-05/0.7815, allocations: 14.14 kB / 1.274 GB, free: 6.168 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004396/0.7819, allocations: 115.3 kB / 1.274 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 9.698e-05/0.782, allocations: 75.16 kB / 1.274 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.993e-05/0.7821, allocations: 10.52 kB / 1.274 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.758e-05/0.7822, allocations: 36.62 kB / 1.274 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.586e-05/0.7822, allocations: 40.05 kB / 1.274 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.7822, allocations: 5.344 kB / 1.274 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001815/0.7824, allocations: 97.06 kB / 1.274 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.041e-05/0.7824, allocations: 17.38 kB / 1.274 GB, free: 6 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.662e-05/0.7825, allocations: 30.28 kB / 1.274 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001917/0.7827, allocations: 141.5 kB / 1.274 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.7827, allocations: 0 / 1.274 GB, free: 5.93 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.703e-06/0.7827, allocations: 4.938 kB / 1.274 GB, free: 5.926 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.7827, allocations: 0 / 1.274 GB, free: 5.926 MB / 0.9981 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.0004344/0.7831, allocations: 442.1 kB / 1.275 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 2.996e-05/0.7831, allocations: 9.688 kB / 1.275 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.416e-05/0.7832, allocations: 38.89 kB / 1.275 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.875e-05/0.7832, allocations: 12.95 kB / 1.275 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.653e-05/0.7833, allocations: 176 kB / 1.275 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.7833, allocations: 2.5 kB / 1.275 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.746e-05/0.7833, allocations: 6.047 kB / 1.275 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001612/0.7835, allocations: 78.08 kB / 1.275 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.243e-06/0.7835, allocations: 0 / 1.275 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.7835, allocations: 0.9688 kB / 1.275 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.7835, allocations: 1.188 kB / 1.275 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/0.7836, allocations: 37.98 kB / 1.275 GB, free: 5.156 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003424/0.7839, allocations: 290.7 kB / 1.275 GB, free: 4.871 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000112/0.7841, allocations: 48.52 kB / 1.275 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.45e-05/0.7841, allocations: 33.61 kB / 1.275 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.7841, allocations: 1.531 kB / 1.275 GB, free: 4.816 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001415/0.7843, allocations: 86.3 kB / 1.275 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.924e-06/0.7843, allocations: 4 kB / 1.275 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0003543/0.7846, allocations: 132.9 kB / 1.275 GB, free: 4.688 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.243e-05/0.7847, allocations: 54.28 kB / 1.276 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.478e-05/0.7847, allocations: 123.2 kB / 1.276 GB, free: 4.516 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.001e-05/0.7847, allocations: 31.2 kB / 1.276 GB, free: 4.48 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.606e-05/0.7848, allocations: 87.81 kB / 1.276 GB, free: 4.395 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.503e-05/0.7848, allocations: 15.41 kB / 1.276 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.723e-05/0.7848, allocations: 24.86 kB / 1.276 GB, free: 4.363 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.35e-05/0.7849, allocations: 327 kB / 1.276 GB, free: 4.039 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.771e-05/0.7849, allocations: 22.02 kB / 1.276 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.181e-05/0.785, allocations: 63.69 kB / 1.276 GB, free: 3.977 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.7851, allocations: 93.84 kB / 1.276 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.7851, allocations: 0.9375 kB / 1.276 GB, free: 3.902 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002003/0.7853, allocations: 118 kB / 1.276 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.7853, allocations: 5.25 kB / 1.276 GB, free: 3.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.7853, allocations: 6.281 kB / 1.276 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.19e-05/0.7854, allocations: 1.688 kB / 1.276 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.05e-05/0.7854, allocations: 19.77 kB / 1.276 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.502e-06/0.7854, allocations: 3.625 kB / 1.276 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.649e-05/0.7855, allocations: 12.25 kB / 1.276 GB, free: 3.82 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.7855, allocations: 5.062 kB / 1.276 GB, free: 3.82 MB / 0.9981 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.03e-05/0.7856, allocations: 123.1 kB / 1.277 GB, free: 3.695 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.566e-05/0.7856, allocations: 8.062 kB / 1.277 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.103e-05/0.7856, allocations: 16.88 kB / 1.277 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.7856, allocations: 0.9062 kB / 1.277 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.7856, allocations: 0 / 1.277 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.7856, allocations: 0 / 1.277 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003304/0.7859, allocations: 383.9 kB / 1.277 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.7859, allocations: 0 / 1.277 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.649e-05/0.786, allocations: 7.531 kB / 1.277 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.786, allocations: 0.7812 kB / 1.277 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.786, allocations: 3.891 kB / 1.277 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.786, allocations: 4.938 kB / 1.277 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.786, allocations: 0 / 1.277 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002266/0.7862, allocations: 213.8 kB / 1.277 GB, free: 3.16 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.73e-05/0.7862, allocations: 83.94 kB / 1.277 GB, free: 3.062 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.7863, allocations: 5.547 kB / 1.277 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.445e-05/0.7863, allocations: 11.44 kB / 1.277 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.63e-05/0.7864, allocations: 2.812 kB / 1.277 GB, free: 3.055 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.706e-06/0.7864, allocations: 5.688 kB / 1.277 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.022e-05/0.7864, allocations: 91.94 kB / 1.277 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/0.7864, allocations: 0.8125 kB / 1.277 GB, free: 2.973 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002701/0.7867, allocations: 38.27 kB / 1.277 GB, free: 2.965 MB / 0.9981 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.0005591/0.7872, allocations: 0.803 MB / 1.278 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002021/0.7874, allocations: 69.36 kB / 1.278 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.7874, allocations: 3.938 kB / 1.278 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.019e-05/0.7875, allocations: 32.22 kB / 1.278 GB, free: 2.223 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/0.7878, allocations: 11.83 kB / 1.278 GB, free: 2.219 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.789, allocations: 1.517 MB / 1.28 GB, free: 16.84 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.7892, allocations: 0.6955 MB / 1.28 GB, free: 16.14 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.852e-05/0.7893, allocations: 5.156 kB / 1.28 GB, free: 16.14 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.361e-05/0.7893, allocations: 25.38 kB / 1.28 GB, free: 16.12 MB / 1.014 GB Notification: Performance of SimCode: time 3.11e-07/0.7893, allocations: 1.312 kB / 1.28 GB, free: 16.12 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02388/0.8132, allocations: 2.642 MB / 1.283 GB, free: 15.61 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.956/7.77, allocations: 7.828 kB / 1.283 GB, free: 15.61 MB / 1.014 GB " [Timeout remaining time 292] (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) [Timeout 420.0] 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) [Timeout 300] "" [Timeout remaining time 300] "" 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 [Calling sys.exit(0), Time elapsed: 12.94464968399916]