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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001732/0.001732, allocations: 106.8 kB / 16.4 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.001693/0.001693, allocations: 191.7 kB / 19.36 MB, free: 3.727 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.419/1.419, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.892/2.892, allocations: 489 MB / 0.7678 GB, free: 32 kB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001947, allocations: 67.83 kB / 1.101 GB, free: 6.195 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8359/0.8379, allocations: 163.8 MB / 1.261 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002871/0.8408, allocations: 1.487 MB / 1.262 GB, free: 5.703 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001326/0.8421, allocations: 0.7206 MB / 1.263 GB, free: 4.977 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.985e-05/0.8422, allocations: 3.938 kB / 1.263 GB, free: 4.973 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.128e-05/0.8422, allocations: 7.938 kB / 1.263 GB, free: 4.965 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.413e-05/0.8423, allocations: 15.86 kB / 1.263 GB, free: 4.949 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005725/0.8429, allocations: 115.6 kB / 1.263 GB, free: 4.836 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001397/0.8431, allocations: 71.72 kB / 1.263 GB, free: 4.766 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.8432, allocations: 15.97 kB / 1.263 GB, free: 4.75 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.269e-05/0.8433, allocations: 31.91 kB / 1.263 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.559e-05/0.8433, allocations: 39.84 kB / 1.263 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.85e-05/0.8434, allocations: 4 kB / 1.263 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002117/0.8436, allocations: 99.84 kB / 1.264 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.457e-05/0.8436, allocations: 11.92 kB / 1.264 GB, free: 4.566 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.773e-05/0.8437, allocations: 35.8 kB / 1.264 GB, free: 4.531 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002524/0.8439, allocations: 135.6 kB / 1.264 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.8439, allocations: 0 / 1.264 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.523e-06/0.844, allocations: 0 / 1.264 GB, free: 4.398 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.844, allocations: 0 / 1.264 GB, free: 4.398 MB / 0.9669 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.0007047/0.8447, allocations: 462.3 kB / 1.264 GB, free: 3.887 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.8447, allocations: 8.031 kB / 1.264 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.089e-05/0.8448, allocations: 34.75 kB / 1.264 GB, free: 3.836 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.846e-05/0.8448, allocations: 8.891 kB / 1.264 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.845, allocations: 180.2 kB / 1.264 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.845, allocations: 4.375 kB / 1.264 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.845, allocations: 4.375 kB / 1.264 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.8453, allocations: 73.78 kB / 1.264 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.8453, allocations: 4 kB / 1.264 GB, free: 3.523 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.8453, allocations: 0 / 1.264 GB, free: 3.523 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.8453, allocations: 3.938 kB / 1.264 GB, free: 3.52 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001444/0.8455, allocations: 35.97 kB / 1.265 GB, free: 3.484 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005398/0.846, allocations: 296.7 kB / 1.265 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001469/0.8462, allocations: 50.56 kB / 1.265 GB, free: 3.086 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.113e-05/0.8463, allocations: 28.97 kB / 1.265 GB, free: 3.055 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.8463, allocations: 8.062 kB / 1.265 GB, free: 3.047 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002229/0.8465, allocations: 75.38 kB / 1.265 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.8465, allocations: 0 / 1.265 GB, free: 2.961 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004386/0.847, allocations: 141.5 kB / 1.265 GB, free: 2.816 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.847, allocations: 55.41 kB / 1.265 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.8472, allocations: 121.8 kB / 1.265 GB, free: 2.621 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.8472, allocations: 25.7 kB / 1.265 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.293e-05/0.8472, allocations: 96.08 kB / 1.265 GB, free: 2.492 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.291e-05/0.8473, allocations: 19.89 kB / 1.265 GB, free: 2.473 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.458e-05/0.8473, allocations: 29.7 kB / 1.265 GB, free: 2.438 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001616/0.8475, allocations: 318.8 kB / 1.266 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.737e-05/0.8476, allocations: 23.98 kB / 1.266 GB, free: 2.094 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.8477, allocations: 65.12 kB / 1.266 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.8479, allocations: 93 kB / 1.266 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.8479, allocations: 0 / 1.266 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000243/0.8482, allocations: 117.5 kB / 1.266 GB, free: 1.781 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.8482, allocations: 8 kB / 1.266 GB, free: 1.773 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.8482, allocations: 4.156 kB / 1.266 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/0.8482, allocations: 4 kB / 1.266 GB, free: 1.766 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.8484, allocations: 12 kB / 1.266 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.8484, allocations: 3.984 kB / 1.266 GB, free: 1.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.472e-05/0.8485, allocations: 23.75 kB / 1.266 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.339e-05/0.8485, allocations: 4 kB / 1.266 GB, free: 1.723 MB / 0.9669 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 0.0001164/0.8486, allocations: 119.7 kB / 1.266 GB, free: 1.598 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.273e-05/0.8486, allocations: 7.953 kB / 1.266 GB, free: 1.59 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.06e-05/0.8487, allocations: 16.36 kB / 1.266 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.8487, allocations: 0 / 1.266 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.8487, allocations: 0 / 1.266 GB, free: 1.57 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.8487, allocations: 4 kB / 1.266 GB, free: 1.566 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005405/0.8492, allocations: 378.4 kB / 1.267 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.8493, allocations: 0 / 1.267 GB, free: 1.141 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.905e-05/0.8493, allocations: 4 kB / 1.267 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.8493, allocations: 0 / 1.267 GB, free: 1.137 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.8493, allocations: 7.984 kB / 1.267 GB, free: 1.129 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.027e-06/0.8493, allocations: 8.328 kB / 1.267 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.8493, allocations: 0 / 1.267 GB, free: 1.121 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003192/0.8497, allocations: 203.5 kB / 1.267 GB, free: 0.9062 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.098e-05/0.8497, allocations: 92.98 kB / 1.267 GB, free: 0.7969 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.943e-05/0.8498, allocations: 3.938 kB / 1.267 GB, free: 0.793 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.221e-05/0.8499, allocations: 11.94 kB / 1.267 GB, free: 0.7812 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.055e-05/0.8499, allocations: 7.984 kB / 1.267 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.8499, allocations: 4 kB / 1.267 GB, free: 0.7695 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.194e-05/0.85, allocations: 91.92 kB / 1.267 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.85, allocations: 0 / 1.267 GB, free: 0.6797 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003226/0.8503, allocations: 35.94 kB / 1.267 GB, free: 0.6445 MB / 0.9669 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.0009565/0.8513, allocations: 0.8122 MB / 1.268 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002452/0.8516, allocations: 71.88 kB / 1.268 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.8516, allocations: 0 / 1.268 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.8517, allocations: 40.3 kB / 1.268 GB, free: 15.71 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.852, allocations: 14.2 kB / 1.268 GB, free: 15.7 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001907/0.8539, allocations: 1.508 MB / 1.269 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004006/0.8543, allocations: 0.6885 MB / 1.27 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.576e-05/0.8543, allocations: 4 kB / 1.27 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.086e-05/0.8544, allocations: 23.42 kB / 1.27 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of SimCode: time 2.41e-07/0.8544, allocations: 0 / 1.27 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02573/0.8801, allocations: 2.638 MB / 1.273 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.091/8.971, allocations: 4.531 kB / 1.273 GB, free: 10.85 MB / 0.9825 GB " [Timeout remaining time 291] (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 --stepSize=1.44 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.fmu > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" 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 [Calling sys.exit(0), Time elapsed: 15.0688021609094]