Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.Haldi2008BlindsTOut,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_latest_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.008761/0.008761, allocations: 106.2 kB / 15.73 MB, free: 5.984 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.001724/0.001724, allocations: 194.8 kB / 16.67 MB, free: 5.906 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.676/2.676, allocations: 461.9 MB / 0.7348 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 63.84 kB / 1.054 GB, free: 8.246 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8379/0.8394, allocations: 157.4 MB / 1.207 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002769/0.8422, allocations: 1.483 MB / 1.209 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001267/0.8435, allocations: 0.7167 MB / 1.209 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.969e-05/0.8435, allocations: 3.938 kB / 1.209 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.855e-05/0.8436, allocations: 3.938 kB / 1.209 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.097e-05/0.8437, allocations: 19.84 kB / 1.209 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005681/0.8442, allocations: 111.6 kB / 1.21 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001245/0.8444, allocations: 79.69 kB / 1.21 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 9.255e-05/0.8445, allocations: 23.89 kB / 1.21 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 9.163e-05/0.8446, allocations: 27.92 kB / 1.21 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.677e-05/0.8446, allocations: 39.83 kB / 1.21 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.8447, allocations: 4 kB / 1.21 GB, free: 11.06 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002114/0.8449, allocations: 95.84 kB / 1.21 GB, free: 10.96 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.917e-05/0.8449, allocations: 11.98 kB / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.15e-05/0.845, allocations: 35.8 kB / 1.21 GB, free: 10.92 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002589/0.8452, allocations: 137.9 kB / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.8453, allocations: 4 kB / 1.21 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.332e-06/0.8453, allocations: 0 / 1.21 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.8453, allocations: 0 / 1.21 GB, free: 10.78 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.0006608/0.8459, allocations: 442.6 kB / 1.21 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.846, allocations: 8.031 kB / 1.21 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.216e-05/0.846, allocations: 34.75 kB / 1.21 GB, free: 10.24 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.959e-05/0.8461, allocations: 8.828 kB / 1.21 GB, free: 10.23 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.8462, allocations: 176.2 kB / 1.211 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.842e-05/0.8463, allocations: 8.375 kB / 1.211 GB, free: 10.01 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.854e-05/0.8463, allocations: 8.375 kB / 1.211 GB, free: 10 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.8465, allocations: 69.78 kB / 1.211 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.8465, allocations: 0 / 1.211 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.8465, allocations: 0 / 1.211 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.8465, allocations: 0 / 1.211 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001334/0.8467, allocations: 39.95 kB / 1.211 GB, free: 9.891 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000548/0.8472, allocations: 304.7 kB / 1.211 GB, free: 9.543 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.8474, allocations: 46.56 kB / 1.211 GB, free: 9.488 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.82e-05/0.8475, allocations: 28.97 kB / 1.211 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.468e-05/0.8475, allocations: 7.938 kB / 1.211 GB, free: 9.449 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00024/0.8478, allocations: 79.28 kB / 1.211 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.513e-06/0.8478, allocations: 0 / 1.211 GB, free: 9.359 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0004174/0.8482, allocations: 149.6 kB / 1.211 GB, free: 9.207 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.785e-05/0.8482, allocations: 51.41 kB / 1.211 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001072/0.8484, allocations: 125.7 kB / 1.211 GB, free: 9.012 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.8484, allocations: 29.7 kB / 1.212 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 5.475e-05/0.8485, allocations: 88.14 kB / 1.212 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.197e-05/0.8485, allocations: 11.81 kB / 1.212 GB, free: 8.875 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.364e-05/0.8485, allocations: 29.7 kB / 1.212 GB, free: 8.84 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.8486, allocations: 326.8 kB / 1.212 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.32e-05/0.8487, allocations: 19.98 kB / 1.212 GB, free: 8.492 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.284e-05/0.8488, allocations: 61.52 kB / 1.212 GB, free: 8.414 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001569/0.849, allocations: 101 kB / 1.212 GB, free: 8.297 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.746e-06/0.849, allocations: 0 / 1.212 GB, free: 8.297 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002251/0.8492, allocations: 121.4 kB / 1.212 GB, free: 8.172 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.675e-05/0.8493, allocations: 8 kB / 1.212 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.8493, allocations: 0 / 1.212 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.8493, allocations: 0 / 1.212 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.753e-05/0.8494, allocations: 19.98 kB / 1.212 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.8494, allocations: 0 / 1.212 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.415e-05/0.8495, allocations: 11.94 kB / 1.212 GB, free: 8.133 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.003e-05/0.8495, allocations: 4 kB / 1.212 GB, free: 8.129 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 8.972e-05/0.8496, allocations: 129.9 kB / 1.212 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.013e-05/0.8496, allocations: 11.89 kB / 1.212 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.953e-05/0.8496, allocations: 8.375 kB / 1.212 GB, free: 7.969 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.8496, allocations: 3.938 kB / 1.212 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.967e-06/0.8496, allocations: 0 / 1.212 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.8497, allocations: 0 / 1.212 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004384/0.8501, allocations: 378.4 kB / 1.213 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.8501, allocations: 4 kB / 1.213 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.309e-05/0.8502, allocations: 7.984 kB / 1.213 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.8502, allocations: 0 / 1.213 GB, free: 7.527 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.8502, allocations: 4 kB / 1.213 GB, free: 7.523 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.8502, allocations: 3.938 kB / 1.213 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.8502, allocations: 0 / 1.213 GB, free: 7.52 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002896/0.8505, allocations: 207.4 kB / 1.213 GB, free: 7.301 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.304e-05/0.8506, allocations: 92.95 kB / 1.213 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.388e-05/0.8506, allocations: 0 / 1.213 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.545e-05/0.8507, allocations: 7.938 kB / 1.213 GB, free: 7.184 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.789e-05/0.8507, allocations: 3.984 kB / 1.213 GB, free: 7.18 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.8508, allocations: 11.94 kB / 1.213 GB, free: 7.168 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.021e-05/0.8508, allocations: 91.27 kB / 1.213 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8509, allocations: 0 / 1.213 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003736/0.8512, allocations: 39.98 kB / 1.213 GB, free: 7.039 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.001026/0.8523, allocations: 0.8013 MB / 1.214 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002784/0.8526, allocations: 72.5 kB / 1.214 GB, free: 6.156 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/0.8526, allocations: 0 / 1.214 GB, free: 6.156 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.8527, allocations: 39.86 kB / 1.214 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/0.853, allocations: 20.06 kB / 1.214 GB, free: 6.098 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001874/0.8549, allocations: 1.51 MB / 1.216 GB, free: 4.473 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.8552, allocations: 0.6846 MB / 1.216 GB, free: 3.762 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.231e-05/0.8553, allocations: 7.984 kB / 1.216 GB, free: 3.754 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.016e-05/0.8554, allocations: 19.44 kB / 1.216 GB, free: 3.734 MB / 0.9356 GB Notification: Performance of SimCode: time 7.81e-07/0.8554, allocations: 3.938 kB / 1.216 GB, free: 3.73 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01953/0.8749, allocations: 2.677 MB / 1.219 GB, free: 1.203 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.543/8.418, allocations: 12.5 kB / 1.219 GB, free: 1.191 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.fmu > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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