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) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005475/0.005475, allocations: 99.34 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.001544/0.001544, allocations: 195.3 kB / 16.67 MB, free: 5.977 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.245/1.245, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.464/2.464, allocations: 469.8 MB / 0.7425 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001665/0.001665, allocations: 63.89 kB / 1.065 GB, free: 13.63 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2491/0.2508, allocations: 159.1 MB / 1.22 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002185/0.253, allocations: 1.502 MB / 1.222 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.254, allocations: 0.7323 MB / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.919e-05/0.254, allocations: 0 / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.759e-05/0.2541, allocations: 3.938 kB / 1.222 GB, free: 12.13 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.79e-05/0.2541, allocations: 11.86 kB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004334/0.2546, allocations: 111.6 kB / 1.222 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.881e-05/0.2547, allocations: 71.77 kB / 1.222 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.035e-05/0.2548, allocations: 15.95 kB / 1.223 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.116e-05/0.2548, allocations: 39.91 kB / 1.223 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.492e-05/0.2549, allocations: 31.84 kB / 1.223 GB, free: 11.85 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.2549, allocations: 8 kB / 1.223 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001641/0.2551, allocations: 91.84 kB / 1.223 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.176e-05/0.2551, allocations: 15.92 kB / 1.223 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.315e-05/0.2552, allocations: 39.84 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001886/0.2554, allocations: 127.6 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.2554, allocations: 7.984 kB / 1.223 GB, free: 11.57 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2554, allocations: 4 kB / 1.223 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.2554, allocations: 0 / 1.223 GB, free: 11.56 MB / 0.9825 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.0005292/0.2559, allocations: 442.4 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 2.888e-05/0.256, allocations: 15.97 kB / 1.223 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.651e-05/0.256, allocations: 34.69 kB / 1.223 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.932e-05/0.256, allocations: 12.88 kB / 1.223 GB, free: 11 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.2562, allocations: 172.3 kB / 1.224 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.961e-05/0.2562, allocations: 4.375 kB / 1.224 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.2562, allocations: 4.375 kB / 1.224 GB, free: 10.79 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.2564, allocations: 73.78 kB / 1.224 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.2564, allocations: 0 / 1.224 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.2564, allocations: 0 / 1.224 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.066e-06/0.2564, allocations: 0 / 1.224 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00013/0.2565, allocations: 47.91 kB / 1.224 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000419/0.257, allocations: 300.7 kB / 1.224 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.2571, allocations: 46.56 kB / 1.224 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.649e-05/0.2572, allocations: 32.97 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/0.2572, allocations: 0 / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001738/0.2574, allocations: 87.3 kB / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.2574, allocations: 0 / 1.224 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0003605/0.2578, allocations: 137.6 kB / 1.224 GB, free: 9.988 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.349e-05/0.2578, allocations: 51.41 kB / 1.224 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.844e-05/0.2579, allocations: 125.8 kB / 1.224 GB, free: 9.793 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.886e-05/0.2579, allocations: 33.7 kB / 1.224 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.449e-05/0.258, allocations: 84.14 kB / 1.224 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.915e-05/0.258, allocations: 19.97 kB / 1.225 GB, free: 9.648 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.344e-05/0.2581, allocations: 25.7 kB / 1.225 GB, free: 9.617 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001389/0.2582, allocations: 326.8 kB / 1.225 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.198e-05/0.2583, allocations: 23.98 kB / 1.225 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.982e-05/0.2584, allocations: 61.52 kB / 1.225 GB, free: 9.188 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.2586, allocations: 93.06 kB / 1.225 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.2586, allocations: 3.938 kB / 1.225 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002161/0.2588, allocations: 117.6 kB / 1.225 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.2588, allocations: 4 kB / 1.225 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.2588, allocations: 0 / 1.225 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.2588, allocations: 4 kB / 1.225 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.577e-05/0.2589, allocations: 15.98 kB / 1.225 GB, free: 8.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.2589, allocations: 7.938 kB / 1.225 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.818e-05/0.259, allocations: 11.94 kB / 1.225 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.063e-05/0.259, allocations: 4 kB / 1.225 GB, free: 8.906 MB / 0.9825 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.76e-05/0.2591, allocations: 121.8 kB / 1.225 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.843e-05/0.2591, allocations: 11.94 kB / 1.225 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.311e-05/0.2591, allocations: 8.375 kB / 1.225 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.2592, allocations: 4.047 kB / 1.225 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.231e-06/0.2592, allocations: 3.984 kB / 1.225 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.2592, allocations: 3.938 kB / 1.225 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004346/0.2596, allocations: 378.4 kB / 1.226 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2596, allocations: 0 / 1.226 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.775e-05/0.2597, allocations: 11.98 kB / 1.226 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.2597, allocations: 0 / 1.226 GB, free: 8.301 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.2597, allocations: 4 kB / 1.226 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.2597, allocations: 3.938 kB / 1.226 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.2597, allocations: 0 / 1.226 GB, free: 8.293 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002803/0.26, allocations: 215.4 kB / 1.226 GB, free: 8.066 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.922e-05/0.26, allocations: 81.06 kB / 1.226 GB, free: 7.969 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.2601, allocations: 4 kB / 1.226 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.284e-05/0.2601, allocations: 7.938 kB / 1.226 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.39e-05/0.2602, allocations: 11.98 kB / 1.226 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.973e-06/0.2602, allocations: 0 / 1.226 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.642e-05/0.2603, allocations: 99.42 kB / 1.226 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of sort global known variables: time 3.006e-06/0.2603, allocations: 0 / 1.226 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002604/0.2605, allocations: 47.8 kB / 1.226 GB, free: 7.801 MB / 0.9825 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.000747/0.2613, allocations: 0.7898 MB / 1.227 GB, free: 7 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002059/0.2615, allocations: 72.12 kB / 1.227 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.2615, allocations: 4.062 kB / 1.227 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.541e-05/0.2616, allocations: 35.97 kB / 1.227 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002279/0.2618, allocations: 22.27 kB / 1.227 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001438/0.2633, allocations: 1.505 MB / 1.229 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002697/0.2636, allocations: 0.6924 MB / 1.229 GB, free: 4.535 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.104e-05/0.2636, allocations: 7.984 kB / 1.229 GB, free: 4.527 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.142e-05/0.2636, allocations: 19.44 kB / 1.229 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of SimCode: time 2.2e-07/0.2637, allocations: 0 / 1.229 GB, free: 4.508 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9363/1.2, allocations: 2.638 MB / 1.232 GB, free: 1.996 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.76/15.96, allocations: 11.94 kB / 1.232 GB, free: 1.988 MB / 0.9825 GB (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) 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) "" 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