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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.008702/0.008702, allocations: 103.1 kB / 15.73 MB, free: 6.047 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.001672/0.001672, allocations: 193.5 kB / 16.67 MB, free: 5.969 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.705/2.705, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001621/0.001621, allocations: 68.28 kB / 1.054 GB, free: 8.238 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8219/0.8235, allocations: 157.4 MB / 1.207 GB, free: 13.7 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002552/0.8261, allocations: 1.5 MB / 1.209 GB, free: 12.2 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001206/0.8273, allocations: 0.7128 MB / 1.209 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.942e-05/0.8274, allocations: 8 kB / 1.209 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.213e-05/0.8274, allocations: 7.875 kB / 1.209 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.645e-05/0.8275, allocations: 7.875 kB / 1.209 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005338/0.8281, allocations: 119.6 kB / 1.21 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.000108/0.8282, allocations: 71.78 kB / 1.21 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 8.901e-05/0.8283, allocations: 11.98 kB / 1.21 GB, free: 11.26 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.8284, allocations: 43.84 kB / 1.21 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.119e-05/0.8285, allocations: 27.84 kB / 1.21 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.8285, allocations: 4 kB / 1.21 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001922/0.8287, allocations: 99.84 kB / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.637e-05/0.8287, allocations: 11.98 kB / 1.21 GB, free: 11.08 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.074e-05/0.8288, allocations: 39.78 kB / 1.21 GB, free: 11.04 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002277/0.829, allocations: 130 kB / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.829, allocations: 0 / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.162e-06/0.829, allocations: 0 / 1.21 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.829, allocations: 4 kB / 1.21 GB, free: 10.91 MB / 0.9356 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.0005768/0.8296, allocations: 446.6 kB / 1.21 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.8297, allocations: 8.031 kB / 1.21 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.999e-05/0.8297, allocations: 42.75 kB / 1.21 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.596e-05/0.8298, allocations: 8.844 kB / 1.21 GB, free: 10.35 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.8299, allocations: 172.2 kB / 1.211 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.512e-05/0.8299, allocations: 8.297 kB / 1.211 GB, free: 10.13 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/0.83, allocations: 8.375 kB / 1.211 GB, free: 10.12 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002014/0.8302, allocations: 73.59 kB / 1.211 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.8302, allocations: 3.938 kB / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.473e-05/0.8302, allocations: 3.984 kB / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.8302, allocations: 0 / 1.211 GB, free: 10.04 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001339/0.8303, allocations: 35.97 kB / 1.211 GB, free: 10 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004758/0.8308, allocations: 292.8 kB / 1.211 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001384/0.831, allocations: 58.48 kB / 1.211 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.517e-05/0.8311, allocations: 36.91 kB / 1.211 GB, free: 9.562 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.8311, allocations: 4.062 kB / 1.211 GB, free: 9.559 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002003/0.8313, allocations: 75.28 kB / 1.211 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.413e-06/0.8313, allocations: 0 / 1.211 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0004113/0.8317, allocations: 141.6 kB / 1.211 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.8318, allocations: 55.39 kB / 1.211 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.8319, allocations: 125.7 kB / 1.211 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.814e-05/0.8319, allocations: 29.7 kB / 1.212 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.617e-05/0.832, allocations: 92.12 kB / 1.212 GB, free: 9 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.192e-05/0.832, allocations: 19.8 kB / 1.212 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.574e-05/0.832, allocations: 25.7 kB / 1.212 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.8322, allocations: 322.8 kB / 1.212 GB, free: 8.625 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.043e-05/0.8323, allocations: 19.98 kB / 1.212 GB, free: 8.605 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.992e-05/0.8324, allocations: 65.12 kB / 1.212 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/0.8325, allocations: 89.02 kB / 1.212 GB, free: 8.418 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.068e-06/0.8325, allocations: 4 kB / 1.212 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002246/0.8328, allocations: 109.4 kB / 1.212 GB, free: 8.301 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.8328, allocations: 12.16 kB / 1.212 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.8328, allocations: 0 / 1.212 GB, free: 8.289 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.8328, allocations: 7.984 kB / 1.212 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.866e-05/0.8329, allocations: 8 kB / 1.212 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.725e-06/0.8329, allocations: 4 kB / 1.212 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.105e-05/0.833, allocations: 15.92 kB / 1.212 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.833, allocations: 7.938 kB / 1.212 GB, free: 8.246 MB / 0.9356 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 9.617e-05/0.8331, allocations: 117.8 kB / 1.212 GB, free: 8.121 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.048e-05/0.8332, allocations: 11.91 kB / 1.212 GB, free: 8.109 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.833e-05/0.8332, allocations: 12.31 kB / 1.212 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.8332, allocations: 0 / 1.212 GB, free: 8.094 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.8332, allocations: 4 kB / 1.212 GB, free: 8.09 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.8332, allocations: 3.984 kB / 1.212 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004631/0.8337, allocations: 370.4 kB / 1.213 GB, free: 7.668 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.155e-06/0.8337, allocations: 4 kB / 1.213 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.074e-05/0.8338, allocations: 0 / 1.213 GB, free: 7.664 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.8338, allocations: 8 kB / 1.213 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.8338, allocations: 4 kB / 1.213 GB, free: 7.652 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.8338, allocations: 3.938 kB / 1.213 GB, free: 7.648 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.8338, allocations: 7.922 kB / 1.213 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002877/0.8341, allocations: 211.8 kB / 1.213 GB, free: 7.418 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.041e-05/0.8342, allocations: 88.95 kB / 1.213 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.8342, allocations: 0 / 1.213 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.8343, allocations: 15.92 kB / 1.213 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.44e-05/0.8343, allocations: 4 kB / 1.213 GB, free: 7.293 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.012e-05/0.8343, allocations: 3.984 kB / 1.213 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.924e-05/0.8344, allocations: 95.27 kB / 1.213 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.583e-06/0.8344, allocations: 0 / 1.213 GB, free: 7.195 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003184/0.8347, allocations: 43.94 kB / 1.213 GB, free: 7.152 MB / 0.9356 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.0008189/0.8356, allocations: 0.7984 MB / 1.214 GB, free: 6.344 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002329/0.8358, allocations: 63.91 kB / 1.214 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.8358, allocations: 4.25 kB / 1.214 GB, free: 6.277 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.92e-05/0.8359, allocations: 43.91 kB / 1.214 GB, free: 6.234 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002737/0.8362, allocations: 21.59 kB / 1.214 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/0.8378, allocations: 1.495 MB / 1.216 GB, free: 4.602 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.8381, allocations: 0.6947 MB / 1.216 GB, free: 3.883 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.62e-05/0.8381, allocations: 4 kB / 1.216 GB, free: 3.879 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.433e-05/0.8382, allocations: 27.36 kB / 1.216 GB, free: 3.852 MB / 0.9356 GB Notification: Performance of SimCode: time 3.21e-07/0.8382, allocations: 0 / 1.216 GB, free: 3.852 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0198/0.858, allocations: 2.667 MB / 1.219 GB, free: 1.328 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.68/8.538, allocations: 6.125 kB / 1.219 GB, free: 1.328 MB / 0.9356 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