Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 108.2 kB / 17.54 MB, free: 4.766 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.001376/0.001376, allocations: 182.7 kB / 20.71 MB, free: 1.609 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.294/1.294, allocations: 225.6 MB / 249.3 MB, free: 3.297 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.477/2.477, allocations: 476.7 MB / 0.7628 GB, free: 15.12 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.Haldi2008BlindsTOut,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001788/0.001788, allocations: 63.89 kB / 1.107 GB, free: 5.199 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7874/0.7892, allocations: 168.7 MB / 1.271 GB, free: 7.707 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002206/0.7914, allocations: 1.516 MB / 1.273 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001085/0.7925, allocations: 0.7417 MB / 1.274 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.536e-05/0.7925, allocations: 0.8125 kB / 1.274 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.998e-05/0.7925, allocations: 5.25 kB / 1.274 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 4.498e-05/0.7926, allocations: 10.64 kB / 1.274 GB, free: 6.172 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004932/0.7931, allocations: 115.2 kB / 1.274 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001116/0.7932, allocations: 74.25 kB / 1.274 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.957e-05/0.7933, allocations: 17.8 kB / 1.274 GB, free: 6.07 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.728e-05/0.7933, allocations: 33.91 kB / 1.274 GB, free: 6.055 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.09e-05/0.7934, allocations: 34.42 kB / 1.274 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.7934, allocations: 5.375 kB / 1.274 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002019/0.7936, allocations: 103.8 kB / 1.274 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.263e-05/0.7936, allocations: 11.88 kB / 1.274 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.385e-05/0.7937, allocations: 33.77 kB / 1.274 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002071/0.7939, allocations: 139.7 kB / 1.274 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.406e-06/0.7939, allocations: 0 / 1.274 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.7939, allocations: 0.9375 kB / 1.274 GB, free: 5.934 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.7939, allocations: 4 kB / 1.274 GB, free: 5.93 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.0004791/0.7944, allocations: 449 kB / 1.275 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.7944, allocations: 9.594 kB / 1.275 GB, free: 5.473 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.517e-05/0.7944, allocations: 35.05 kB / 1.275 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.023e-05/0.7945, allocations: 12.17 kB / 1.275 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.964e-05/0.7945, allocations: 174.8 kB / 1.275 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.89e-05/0.7945, allocations: 6.906 kB / 1.275 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.688e-05/0.7946, allocations: 4.531 kB / 1.275 GB, free: 5.219 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.7947, allocations: 79.56 kB / 1.275 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.7947, allocations: 0 / 1.275 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.7947, allocations: 1.062 kB / 1.275 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.598e-06/0.7947, allocations: 3.719 kB / 1.275 GB, free: 5.164 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001242/0.7949, allocations: 37.89 kB / 1.275 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003584/0.7952, allocations: 290.7 kB / 1.275 GB, free: 4.867 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.7953, allocations: 53.33 kB / 1.275 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.935e-05/0.7954, allocations: 29.58 kB / 1.275 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.487e-05/0.7954, allocations: 0.7188 kB / 1.275 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001522/0.7956, allocations: 81.5 kB / 1.275 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.7956, allocations: 0 / 1.275 GB, free: 4.75 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0003706/0.796, allocations: 147.4 kB / 1.275 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.361e-05/0.796, allocations: 52.62 kB / 1.276 GB, free: 4.617 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.352e-05/0.7961, allocations: 121.6 kB / 1.276 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.7961, allocations: 28.78 kB / 1.276 GB, free: 4.477 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 2.943e-05/0.7961, allocations: 90.81 kB / 1.276 GB, free: 4.387 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.61e-05/0.7961, allocations: 12.89 kB / 1.276 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.935e-05/0.7962, allocations: 27.42 kB / 1.276 GB, free: 4.355 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.566e-05/0.7962, allocations: 328.6 kB / 1.276 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.821e-05/0.7963, allocations: 21.59 kB / 1.276 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.584e-05/0.7963, allocations: 61.89 kB / 1.276 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.7965, allocations: 90.67 kB / 1.276 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.7965, allocations: 4.906 kB / 1.276 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002011/0.7967, allocations: 113.2 kB / 1.276 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.7967, allocations: 12.41 kB / 1.276 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.7967, allocations: 1.562 kB / 1.276 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.7967, allocations: 1.625 kB / 1.276 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.2e-05/0.7968, allocations: 17.03 kB / 1.276 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.7968, allocations: 2.906 kB / 1.276 GB, free: 3.828 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.682e-05/0.7969, allocations: 9.484 kB / 1.276 GB, free: 3.824 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.255e-05/0.7969, allocations: 7.844 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.778e-05/0.7969, allocations: 121.5 kB / 1.277 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.607e-05/0.797, allocations: 14.58 kB / 1.277 GB, free: 3.688 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.165e-05/0.797, allocations: 10.22 kB / 1.277 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.797, allocations: 1.562 kB / 1.277 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.797, allocations: 0.8125 kB / 1.277 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.797, allocations: 0 / 1.277 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003536/0.7973, allocations: 382.1 kB / 1.277 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.7973, allocations: 0.8594 kB / 1.277 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.845e-05/0.7974, allocations: 9.594 kB / 1.277 GB, free: 3.328 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.7974, allocations: 4.688 kB / 1.277 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.15e-05/0.7974, allocations: 2.688 kB / 1.277 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.7974, allocations: 8.938 kB / 1.277 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.7974, allocations: 0 / 1.277 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002364/0.7976, allocations: 211.7 kB / 1.277 GB, free: 3.156 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.875e-05/0.7977, allocations: 83.11 kB / 1.277 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.69e-05/0.7977, allocations: 1.75 kB / 1.277 GB, free: 3.059 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.49e-05/0.7978, allocations: 12.55 kB / 1.277 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.6e-05/0.7978, allocations: 5.375 kB / 1.277 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-06/0.7978, allocations: 2.188 kB / 1.277 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.279e-05/0.7978, allocations: 96.41 kB / 1.277 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.7978, allocations: 0.9375 kB / 1.277 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002768/0.7981, allocations: 33.83 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.000599/0.7987, allocations: 0.8001 MB / 1.278 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002171/0.7989, allocations: 74.53 kB / 1.278 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.7989, allocations: 4 kB / 1.278 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 9.303e-05/0.799, allocations: 31.69 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.0002421/0.7993, allocations: 13.97 kB / 1.278 GB, free: 2.215 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001265/0.8005, allocations: 1.519 MB / 1.28 GB, free: 16.84 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000275/0.8008, allocations: 0.6982 MB / 1.28 GB, free: 16.14 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.205e-05/0.8008, allocations: 9.281 kB / 1.28 GB, free: 16.13 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.721e-05/0.8009, allocations: 18.02 kB / 1.28 GB, free: 16.12 MB / 1.014 GB Notification: Performance of SimCode: time 2.81e-07/0.8009, allocations: 0 / 1.28 GB, free: 16.12 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0248/0.8257, allocations: 2.639 MB / 1.283 GB, free: 15.61 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.073/7.899, allocations: 9.734 kB / 1.283 GB, free: 15.61 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat --tempDir=temp_Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut_fmu --startTime=0 --stopTime=3600 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.fmu > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" 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 [Calling sys.exit(0), Time elapsed: 13.162104470999111]