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.001201/0.001201, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00115/0.00115, allocations: 195.3 kB / 16.25 MB, free: 6.637 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.243/1.243, allocations: 222.9 MB / 239.9 MB, free: 4.547 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.467/2.467, allocations: 469.8 MB / 0.7421 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00176/0.001761, allocations: 64.36 kB / 0.9082 GB, free: 34.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2406, allocations: 159.2 MB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002451/0.243, allocations: 1.554 MB / 1.065 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001053/0.2441, allocations: 0.7246 MB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.839e-05/0.2441, allocations: 0 / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.94e-05/0.2442, allocations: 3.938 kB / 1.066 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.506e-05/0.2442, allocations: 15.91 kB / 1.066 GB, free: 12.21 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004156/0.2447, allocations: 91.8 kB / 1.066 GB, free: 12.12 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.631e-05/0.2448, allocations: 71.77 kB / 1.066 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 7.984e-05/0.2449, allocations: 19.98 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.129e-05/0.2449, allocations: 27.92 kB / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.257e-05/0.245, allocations: 35.84 kB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.245, allocations: 4 kB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001684/0.2452, allocations: 95.84 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.267e-05/0.2452, allocations: 19.91 kB / 1.066 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.189e-05/0.2453, allocations: 31.86 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.2455, allocations: 135.9 kB / 1.066 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.2455, allocations: 0 / 1.066 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2455, allocations: 3.938 kB / 1.066 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.727e-06/0.2455, allocations: 4 kB / 1.066 GB, free: 11.68 MB / 0.8262 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.0005328/0.246, allocations: 442.7 kB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.95e-05/0.2461, allocations: 8.031 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.05e-05/0.2461, allocations: 38.75 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.599e-05/0.2461, allocations: 4.844 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001205/0.2463, allocations: 180.2 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.265e-05/0.2463, allocations: 8.375 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.257e-05/0.2463, allocations: 8.312 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001658/0.2465, allocations: 73.78 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-06/0.2465, allocations: 0 / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.2465, allocations: 3.984 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.176e-06/0.2465, allocations: 0 / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001199/0.2466, allocations: 39.97 kB / 1.067 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004279/0.2471, allocations: 296.8 kB / 1.067 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000116/0.2472, allocations: 54.5 kB / 1.067 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.838e-05/0.2473, allocations: 28.97 kB / 1.067 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.2473, allocations: 4 kB / 1.068 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001667/0.2475, allocations: 75.38 kB / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.363e-06/0.2475, allocations: 0 / 1.068 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0003502/0.2478, allocations: 145.5 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/0.2479, allocations: 55.47 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.784e-05/0.248, allocations: 121.8 kB / 1.068 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.945e-05/0.248, allocations: 29.7 kB / 1.068 GB, free: 9.879 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.981e-05/0.2481, allocations: 99.97 kB / 1.068 GB, free: 9.777 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.873e-05/0.2481, allocations: 15.81 kB / 1.068 GB, free: 9.762 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.165e-05/0.2482, allocations: 25.7 kB / 1.068 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.2483, allocations: 326.8 kB / 1.068 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.373e-05/0.2484, allocations: 19.98 kB / 1.068 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.279e-05/0.2485, allocations: 57.14 kB / 1.068 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001536/0.2486, allocations: 97 kB / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.2486, allocations: 0 / 1.069 GB, free: 9.195 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002097/0.2488, allocations: 113.6 kB / 1.069 GB, free: 9.078 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.2489, allocations: 8 kB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.426e-06/0.2489, allocations: 3.938 kB / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.077e-06/0.2489, allocations: 0 / 1.069 GB, free: 9.066 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.199e-05/0.249, allocations: 15.98 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.249, allocations: 0 / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.095e-05/0.249, allocations: 15.91 kB / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.2491, allocations: 0 / 1.069 GB, free: 9.035 MB / 0.8262 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.364e-05/0.2492, allocations: 135.3 kB / 1.069 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.612e-05/0.2492, allocations: 7.906 kB / 1.069 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.32e-05/0.2492, allocations: 16.3 kB / 1.069 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.2492, allocations: 0 / 1.069 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.2492, allocations: 0 / 1.069 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.2492, allocations: 0 / 1.069 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004293/0.2497, allocations: 378.4 kB / 1.069 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.2497, allocations: 0 / 1.069 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.9e-05/0.2497, allocations: 8 kB / 1.069 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.2497, allocations: 0 / 1.069 GB, free: 8.438 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.55e-05/0.2498, allocations: 15.98 kB / 1.069 GB, free: 8.422 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.2498, allocations: 3.938 kB / 1.069 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2498, allocations: 0 / 1.069 GB, free: 8.418 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002579/0.25, allocations: 199.8 kB / 1.069 GB, free: 8.207 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.222e-05/0.2501, allocations: 89 kB / 1.069 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.571e-05/0.2501, allocations: 0 / 1.069 GB, free: 8.102 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.666e-05/0.2502, allocations: 11.94 kB / 1.07 GB, free: 8.09 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.027e-05/0.2502, allocations: 7.984 kB / 1.07 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.007e-06/0.2502, allocations: 4 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.078e-05/0.2503, allocations: 91.27 kB / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2503, allocations: 3.938 kB / 1.07 GB, free: 7.984 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002611/0.2506, allocations: 36 kB / 1.07 GB, free: 7.949 MB / 0.8262 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.0007458/0.2513, allocations: 0.8057 MB / 1.07 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002045/0.2515, allocations: 72.19 kB / 1.07 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.2515, allocations: 4 kB / 1.07 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.23e-05/0.2516, allocations: 35.92 kB / 1.071 GB, free: 7.023 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.2519, allocations: 18.27 kB / 1.071 GB, free: 7.008 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.2534, allocations: 1.521 MB / 1.072 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.2537, allocations: 0.6883 MB / 1.073 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.141e-05/0.2537, allocations: 7.984 kB / 1.073 GB, free: 4.648 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.885e-05/0.2537, allocations: 19.44 kB / 1.073 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of SimCode: time 2.01e-07/0.2537, allocations: 0 / 1.073 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.111/3.365, allocations: 2.476 MB / 1.075 GB, free: 2.305 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003615/3.365, allocations: 264 kB / 1.075 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.313/5.678, allocations: 0 / 1.075 GB, free: 2.047 MB / 0.8262 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