Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_latest_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.0007814/0.0007814, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005561/0.005561, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.232/1.232, allocations: 223.3 MB / 240.3 MB, free: 5.363 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.282/2.282, allocations: 443.4 MB / 0.7176 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002898/0.0002899, allocations: 13.41 kB / 0.8797 GB, free: 41.48 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.2176, allocations: 155.2 MB / 1.031 GB, free: 4.27 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.001362/0.219, allocations: 1.21 MB / 1.032 GB, free: 3.051 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001024/0.22, allocations: 0.7367 MB / 1.033 GB, free: 2.309 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.762e-05/0.2201, allocations: 0 / 1.033 GB, free: 2.309 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.731e-05/0.2201, allocations: 3.938 kB / 1.033 GB, free: 2.305 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.527e-05/0.2201, allocations: 3.938 kB / 1.033 GB, free: 2.301 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003798/0.2205, allocations: 95.77 kB / 1.033 GB, free: 2.207 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.457e-05/0.2206, allocations: 71.78 kB / 1.033 GB, free: 2.137 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 6.559e-05/0.2207, allocations: 11.98 kB / 1.033 GB, free: 2.125 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.015e-05/0.2207, allocations: 27.91 kB / 1.033 GB, free: 2.098 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.273e-05/0.2208, allocations: 35.84 kB / 1.033 GB, free: 2.062 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.153e-05/0.2208, allocations: 0 / 1.033 GB, free: 2.062 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001461/0.221, allocations: 91.84 kB / 1.033 GB, free: 1.973 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.798e-05/0.221, allocations: 11.92 kB / 1.033 GB, free: 1.961 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.079e-05/0.2211, allocations: 57.56 kB / 1.034 GB, free: 1.898 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001617/0.2212, allocations: 127.9 kB / 1.034 GB, free: 1.773 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.2212, allocations: 0 / 1.034 GB, free: 1.773 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.082e-06/0.2212, allocations: 4 kB / 1.034 GB, free: 1.77 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.146e-06/0.2212, allocations: 0 / 1.034 GB, free: 1.77 MB / 0.7794 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.0004235/0.2217, allocations: 422.8 kB / 1.034 GB, free: 1.297 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.2217, allocations: 12.03 kB / 1.034 GB, free: 1.285 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.579e-05/0.2218, allocations: 42.67 kB / 1.034 GB, free: 1.234 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.601e-05/0.2218, allocations: 8.844 kB / 1.034 GB, free: 1.227 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.132e-05/0.2219, allocations: 176.2 kB / 1.034 GB, free: 1.016 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.822e-05/0.2219, allocations: 8.375 kB / 1.034 GB, free: 1.008 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.2219, allocations: 4.375 kB / 1.034 GB, free: 1.004 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001616/0.2221, allocations: 81.7 kB / 1.034 GB, free: 0.918 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.909e-06/0.2221, allocations: 0 / 1.034 GB, free: 0.918 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.727e-06/0.2221, allocations: 0 / 1.034 GB, free: 0.918 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-06/0.2221, allocations: 0 / 1.034 GB, free: 0.918 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001338/0.2223, allocations: 55.84 kB / 1.034 GB, free: 0.8633 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003796/0.2227, allocations: 300.7 kB / 1.035 GB, free: 0.5195 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.2228, allocations: 50.55 kB / 1.035 GB, free: 472 kB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.219e-05/0.2229, allocations: 40.97 kB / 1.035 GB, free: 428 kB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.37e-05/0.2229, allocations: 0 / 1.035 GB, free: 428 kB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00016/0.2231, allocations: 83.38 kB / 1.035 GB, free: 332 kB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.182e-06/0.2231, allocations: 0 / 1.035 GB, free: 332 kB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003439/0.2234, allocations: 145.6 kB / 1.035 GB, free: 180 kB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/0.2235, allocations: 51.41 kB / 1.035 GB, free: 116 kB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.017e-05/0.2235, allocations: 125.7 kB / 1.035 GB, free: 15.98 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.2236, allocations: 29.7 kB / 1.035 GB, free: 15.95 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.734e-05/0.2236, allocations: 88.14 kB / 1.035 GB, free: 15.86 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 1.821e-05/0.2236, allocations: 19.8 kB / 1.035 GB, free: 15.84 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.441e-05/0.2237, allocations: 21.72 kB / 1.035 GB, free: 15.81 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 8.978e-05/0.2238, allocations: 318.8 kB / 1.036 GB, free: 15.49 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.777e-05/0.2238, allocations: 27.98 kB / 1.036 GB, free: 15.46 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.168e-05/0.2239, allocations: 61.08 kB / 1.036 GB, free: 15.38 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001557/0.2241, allocations: 101.1 kB / 1.036 GB, free: 15.27 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2241, allocations: 0 / 1.036 GB, free: 15.27 MB / 0.795 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002041/0.2243, allocations: 117.4 kB / 1.036 GB, free: 15.14 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.2243, allocations: 9.875 kB / 1.036 GB, free: 15.14 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.2243, allocations: 0 / 1.036 GB, free: 15.14 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.072e-05/0.2243, allocations: 4 kB / 1.036 GB, free: 15.13 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.2e-05/0.2244, allocations: 28.02 kB / 1.036 GB, free: 15.11 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.2244, allocations: 4 kB / 1.036 GB, free: 15.1 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.894e-05/0.2245, allocations: 7.938 kB / 1.036 GB, free: 15.09 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.2245, allocations: 4 kB / 1.036 GB, free: 15.09 MB / 0.795 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.267e-05/0.2246, allocations: 131.2 kB / 1.036 GB, free: 14.95 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.226e-05/0.2246, allocations: 3.906 kB / 1.036 GB, free: 14.95 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.092e-05/0.2246, allocations: 12.38 kB / 1.036 GB, free: 14.94 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.2246, allocations: 8.031 kB / 1.036 GB, free: 14.93 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.2246, allocations: 0 / 1.036 GB, free: 14.93 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.2247, allocations: 0 / 1.036 GB, free: 14.93 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003889/0.225, allocations: 382.4 kB / 1.037 GB, free: 14.5 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.2251, allocations: 4 kB / 1.037 GB, free: 14.5 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.645e-05/0.2251, allocations: 7.984 kB / 1.037 GB, free: 14.49 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.2251, allocations: 4 kB / 1.037 GB, free: 14.48 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/0.2251, allocations: 4 kB / 1.037 GB, free: 14.48 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/0.2251, allocations: 8.328 kB / 1.037 GB, free: 14.47 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.2251, allocations: 0 / 1.037 GB, free: 14.47 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002534/0.2254, allocations: 223.3 kB / 1.037 GB, free: 14.24 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.451e-05/0.2254, allocations: 89.02 kB / 1.037 GB, free: 14.13 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.2255, allocations: 3.938 kB / 1.037 GB, free: 14.13 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.491e-05/0.2256, allocations: 7.938 kB / 1.037 GB, free: 14.12 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.035e-05/0.2256, allocations: 11.98 kB / 1.037 GB, free: 14.11 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.733e-06/0.2256, allocations: 0 / 1.037 GB, free: 14.11 MB / 0.795 GB Notification: Performance of sorting global known variables: time 4.039e-05/0.2256, allocations: 91.92 kB / 1.037 GB, free: 14.02 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2256, allocations: 0 / 1.037 GB, free: 14.02 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002602/0.2259, allocations: 43.98 kB / 1.037 GB, free: 13.98 MB / 0.795 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.0006375/0.2266, allocations: 0.8057 MB / 1.038 GB, free: 13.16 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.00019/0.2268, allocations: 75.89 kB / 1.038 GB, free: 13.09 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.2268, allocations: 0 / 1.038 GB, free: 13.09 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 9.069e-05/0.2269, allocations: 35.98 kB / 1.038 GB, free: 13.05 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.2271, allocations: 20.23 kB / 1.038 GB, free: 13.03 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.2284, allocations: 1.533 MB / 1.039 GB, free: 11.38 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001957/0.2286, allocations: 0.6926 MB / 1.04 GB, free: 10.66 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 2.633e-05/0.2286, allocations: 4 kB / 1.04 GB, free: 10.66 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.2e-05/0.2287, allocations: 19.42 kB / 1.04 GB, free: 10.64 MB / 0.795 GB Notification: Performance of SimCode: time 2.31e-07/0.2287, allocations: 4 kB / 1.04 GB, free: 10.64 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.314/2.543, allocations: 2.333 MB / 1.042 GB, free: 8.48 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002264/2.543, allocations: 268.2 kB / 1.043 GB, free: 8.172 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.975/4.518, allocations: 0 / 1.043 GB, free: 8.172 MB / 0.795 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.fmu > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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