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.001737/0.001737, allocations: 106.9 kB / 16.45 MB, free: 6.445 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.002015/0.002015, allocations: 188.6 kB / 19.4 MB, free: 3.66 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.482/1.482, allocations: 225.6 MB / 247.8 MB, free: 3.73 MB / 190.1 MB " [Timeout remaining time 178] 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.82/2.82, allocations: 476.7 MB / 0.7611 GB, free: 15.81 MB / 0.6075 GB " [Timeout remaining time 176] 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.002032/0.002032, allocations: 68.08 kB / 1.104 GB, free: 6.617 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9798/0.9818, allocations: 168.7 MB / 1.269 GB, free: 7.641 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002978/0.9848, allocations: 1.509 MB / 1.27 GB, free: 6.703 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001356/0.9861, allocations: 0.7339 MB / 1.271 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.023e-05/0.9862, allocations: 0.8125 kB / 1.271 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.997e-05/0.9862, allocations: 5.812 kB / 1.271 GB, free: 6.203 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 5.56e-05/0.9863, allocations: 10.7 kB / 1.271 GB, free: 6.195 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000643/0.9869, allocations: 119.2 kB / 1.271 GB, free: 6.137 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001415/0.9871, allocations: 66.02 kB / 1.271 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.61e-05/0.9872, allocations: 17.75 kB / 1.271 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.71e-05/0.9873, allocations: 42.02 kB / 1.271 GB, free: 6.074 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.96e-05/0.9873, allocations: 33.69 kB / 1.271 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.005e-05/0.9874, allocations: 5.969 kB / 1.271 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002443/0.9876, allocations: 95.3 kB / 1.271 GB, free: 6.035 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.693e-05/0.9876, allocations: 15.86 kB / 1.271 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.737e-05/0.9877, allocations: 34.92 kB / 1.271 GB, free: 6.004 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002712/0.9879, allocations: 140.7 kB / 1.271 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.9879, allocations: 1.656 kB / 1.271 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.543e-06/0.9879, allocations: 0 / 1.271 GB, free: 5.953 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.988, allocations: 0 / 1.271 GB, free: 5.953 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.0005751/0.9885, allocations: 454.7 kB / 1.272 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.9886, allocations: 9.812 kB / 1.272 GB, free: 5.492 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.03e-05/0.9886, allocations: 33.69 kB / 1.272 GB, free: 5.453 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.367e-05/0.9886, allocations: 7.984 kB / 1.272 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.431e-05/0.9887, allocations: 174.3 kB / 1.272 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.238e-05/0.9887, allocations: 6.438 kB / 1.272 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.038e-05/0.9888, allocations: 5.547 kB / 1.272 GB, free: 5.242 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001876/0.9889, allocations: 79.98 kB / 1.272 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.989, allocations: 0 / 1.272 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.989, allocations: 1.562 kB / 1.272 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.989, allocations: 1.281 kB / 1.272 GB, free: 5.188 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001379/0.9891, allocations: 36.19 kB / 1.272 GB, free: 5.18 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004301/0.9895, allocations: 298.3 kB / 1.273 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.9897, allocations: 52.16 kB / 1.273 GB, free: 4.848 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.9898, allocations: 30.52 kB / 1.273 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.681e-05/0.9898, allocations: 1.656 kB / 1.273 GB, free: 4.832 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000205/0.99, allocations: 73.3 kB / 1.273 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.453e-06/0.99, allocations: 0 / 1.273 GB, free: 4.777 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0004041/0.9904, allocations: 145.1 kB / 1.273 GB, free: 4.707 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/0.9904, allocations: 58.36 kB / 1.273 GB, free: 4.641 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.874e-05/0.9905, allocations: 122.4 kB / 1.273 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.226e-05/0.9905, allocations: 27.23 kB / 1.273 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.113e-05/0.9905, allocations: 92.73 kB / 1.273 GB, free: 4.41 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.791e-05/0.9906, allocations: 11.47 kB / 1.273 GB, free: 4.402 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.37e-05/0.9906, allocations: 28.28 kB / 1.273 GB, free: 4.379 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.544e-05/0.9907, allocations: 327.7 kB / 1.273 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.383e-05/0.9907, allocations: 20.78 kB / 1.273 GB, free: 4.051 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.635e-05/0.9908, allocations: 64.25 kB / 1.274 GB, free: 3.992 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.991, allocations: 95.09 kB / 1.274 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.991, allocations: 0.9062 kB / 1.274 GB, free: 3.918 MB / 0.9981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002309/0.9912, allocations: 112.7 kB / 1.274 GB, free: 3.859 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.9912, allocations: 9.875 kB / 1.274 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.9912, allocations: 5.594 kB / 1.274 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.9913, allocations: 2.406 kB / 1.274 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.094e-05/0.9913, allocations: 11.92 kB / 1.274 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.876e-06/0.9914, allocations: 4.078 kB / 1.274 GB, free: 3.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.327e-05/0.9914, allocations: 8.547 kB / 1.274 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.29e-05/0.9914, allocations: 8.594 kB / 1.274 GB, free: 3.844 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 7.082e-05/0.9915, allocations: 128.1 kB / 1.274 GB, free: 3.715 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.835e-05/0.9915, allocations: 11.02 kB / 1.274 GB, free: 3.707 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.577e-05/0.9916, allocations: 11.5 kB / 1.274 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.726e-06/0.9916, allocations: 1.016 kB / 1.274 GB, free: 3.691 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.9916, allocations: 8.984 kB / 1.274 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.9916, allocations: 0.6094 kB / 1.274 GB, free: 3.684 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004466/0.992, allocations: 382.1 kB / 1.274 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.992, allocations: 0 / 1.274 GB, free: 3.344 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.473e-05/0.9921, allocations: 9.109 kB / 1.274 GB, free: 3.34 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.165e-06/0.9921, allocations: 4.688 kB / 1.274 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.9921, allocations: 2.984 kB / 1.274 GB, free: 3.336 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.9921, allocations: 3.938 kB / 1.274 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.9921, allocations: 0.7188 kB / 1.274 GB, free: 3.332 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002705/0.9923, allocations: 202.7 kB / 1.274 GB, free: 3.18 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.151e-05/0.9924, allocations: 89.88 kB / 1.275 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.113e-05/0.9924, allocations: 1 kB / 1.275 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.381e-05/0.9925, allocations: 11.8 kB / 1.275 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.862e-05/0.9925, allocations: 4.766 kB / 1.275 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.9926, allocations: 5.766 kB / 1.275 GB, free: 3.07 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.291e-05/0.9926, allocations: 93.55 kB / 1.275 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.9926, allocations: 0 / 1.275 GB, free: 2.988 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003477/0.9929, allocations: 34.95 kB / 1.275 GB, free: 2.984 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.000707/0.9937, allocations: 0.8046 MB / 1.276 GB, free: 2.277 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002425/0.9939, allocations: 71.97 kB / 1.276 GB, free: 2.254 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.9939, allocations: 4.312 kB / 1.276 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001001/0.994, allocations: 34.89 kB / 1.276 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002754/0.9943, allocations: 14.66 kB / 1.276 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001577/0.9959, allocations: 1.521 MB / 1.277 GB, free: 16.86 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003302/0.9962, allocations: 0.6993 MB / 1.278 GB, free: 16.16 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 4.448e-05/0.9962, allocations: 5.641 kB / 1.278 GB, free: 16.16 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.174e-05/0.9963, allocations: 22.08 kB / 1.278 GB, free: 16.14 MB / 1.014 GB Notification: Performance of SimCode: time 3.91e-07/0.9963, allocations: 0 / 1.278 GB, free: 16.14 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02608/1.022, allocations: 2.644 MB / 1.28 GB, free: 15.64 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.244/9.266, allocations: 20.27 kB / 1.28 GB, free: 15.62 MB / 1.014 GB " [Timeout remaining time 291] (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 --stepSize=1.44 --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_2/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: 15.375673373229802]