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.0009096/0.0009096, allocations: 91.45 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.006337/0.006337, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.375/1.375, allocations: 223.3 MB / 240.3 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.739/2.739, allocations: 462.6 MB / 0.7364 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003201/0.0003201, allocations: 11.84 kB / 0.9029 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2652, allocations: 159.6 MB / 1.059 GB, free: 4.941 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.00133/0.2666, allocations: 1.221 MB / 1.06 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009691/0.2676, allocations: 0.7245 MB / 1.061 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.549e-05/0.2676, allocations: 0 / 1.061 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.293e-05/0.2676, allocations: 0 / 1.061 GB, free: 2.98 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.047e-05/0.2677, allocations: 15.86 kB / 1.061 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003674/0.2681, allocations: 91.78 kB / 1.061 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.204e-05/0.2682, allocations: 67.78 kB / 1.061 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 6.873e-05/0.2682, allocations: 15.97 kB / 1.061 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.368e-05/0.2683, allocations: 27.92 kB / 1.061 GB, free: 2.766 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 5.23e-05/0.2684, allocations: 31.84 kB / 1.061 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.326e-05/0.2684, allocations: 4 kB / 1.061 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001523/0.2685, allocations: 87.84 kB / 1.061 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.164e-05/0.2686, allocations: 19.91 kB / 1.061 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.679e-05/0.2686, allocations: 53.56 kB / 1.061 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000173/0.2688, allocations: 135.9 kB / 1.061 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.2688, allocations: 0 / 1.061 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2688, allocations: 0 / 1.061 GB, free: 2.434 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.955e-06/0.2688, allocations: 4 kB / 1.061 GB, free: 2.43 MB / 0.8106 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.0004484/0.2693, allocations: 430.7 kB / 1.062 GB, free: 1.949 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.135e-05/0.2693, allocations: 11.97 kB / 1.062 GB, free: 1.938 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.259e-05/0.2694, allocations: 34.75 kB / 1.062 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.3e-05/0.2694, allocations: 0.9375 kB / 1.062 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.601e-05/0.2695, allocations: 172.2 kB / 1.062 GB, free: 1.688 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.2695, allocations: 12.36 kB / 1.062 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.2695, allocations: 8.375 kB / 1.062 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001608/0.2697, allocations: 73.72 kB / 1.062 GB, free: 1.59 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.67e-06/0.2697, allocations: 3.938 kB / 1.062 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.2697, allocations: 0 / 1.062 GB, free: 1.586 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.597e-06/0.2697, allocations: 4 kB / 1.062 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001306/0.2699, allocations: 43.97 kB / 1.062 GB, free: 1.539 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003921/0.2703, allocations: 304.7 kB / 1.062 GB, free: 1.191 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001157/0.2704, allocations: 54.48 kB / 1.062 GB, free: 1.129 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.356e-05/0.2705, allocations: 36.97 kB / 1.062 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.503e-05/0.2705, allocations: 0 / 1.062 GB, free: 1.09 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001675/0.2707, allocations: 91.3 kB / 1.062 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.2707, allocations: 0 / 1.062 GB, free: 0.9883 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0003589/0.2711, allocations: 145.5 kB / 1.063 GB, free: 0.8398 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.2711, allocations: 59.47 kB / 1.063 GB, free: 0.7695 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.411e-05/0.2712, allocations: 117.8 kB / 1.063 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.2712, allocations: 33.7 kB / 1.063 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.239e-05/0.2712, allocations: 96.05 kB / 1.063 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.694e-05/0.2713, allocations: 15.81 kB / 1.063 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.694e-05/0.2713, allocations: 17.72 kB / 1.063 GB, free: 480 kB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.165e-05/0.2714, allocations: 330.8 kB / 1.063 GB, free: 140 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.709e-05/0.2715, allocations: 19.98 kB / 1.063 GB, free: 120 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.348e-05/0.2716, allocations: 61.14 kB / 1.063 GB, free: 40 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.2717, allocations: 97.06 kB / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.2717, allocations: 0 / 1.063 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002134/0.272, allocations: 125.4 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.019e-05/0.272, allocations: 4 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.272, allocations: 4.047 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.037e-06/0.272, allocations: 3.984 kB / 1.064 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.816e-05/0.2721, allocations: 20.14 kB / 1.064 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.2721, allocations: 7.938 kB / 1.064 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.877e-05/0.2722, allocations: 8 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.184e-05/0.2722, allocations: 7.984 kB / 1.064 GB, free: 15.74 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 7.432e-05/0.2723, allocations: 125.7 kB / 1.064 GB, free: 15.61 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.423e-05/0.2723, allocations: 7.906 kB / 1.064 GB, free: 15.6 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.118e-05/0.2723, allocations: 8.375 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.2723, allocations: 4 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.2723, allocations: 4 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.2723, allocations: 0 / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003937/0.2727, allocations: 382.5 kB / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2727, allocations: 0 / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.29e-05/0.2728, allocations: 11.92 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.2728, allocations: 0 / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.002e-05/0.2728, allocations: 8 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.564e-06/0.2728, allocations: 3.938 kB / 1.064 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2728, allocations: 0 / 1.064 GB, free: 15.13 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002632/0.2731, allocations: 215.4 kB / 1.064 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.792e-05/0.2731, allocations: 81.02 kB / 1.064 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.2731, allocations: 4 kB / 1.064 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.917e-05/0.2732, allocations: 15.92 kB / 1.064 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.914e-05/0.2733, allocations: 4 kB / 1.064 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.869e-06/0.2733, allocations: 7.984 kB / 1.064 GB, free: 14.78 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.801e-05/0.2733, allocations: 87.28 kB / 1.064 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2733, allocations: 3.938 kB / 1.064 GB, free: 14.69 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002625/0.2736, allocations: 39.98 kB / 1.065 GB, free: 14.65 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.0006338/0.2742, allocations: 0.807 MB / 1.065 GB, free: 13.83 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002017/0.2745, allocations: 75.89 kB / 1.065 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.2745, allocations: 0 / 1.065 GB, free: 13.76 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001007/0.2746, allocations: 43.91 kB / 1.065 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002361/0.2748, allocations: 16.23 kB / 1.065 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001299/0.2761, allocations: 1.543 MB / 1.067 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000185/0.2763, allocations: 0.6887 MB / 1.068 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.953e-05/0.2764, allocations: 4 kB / 1.068 GB, free: 11.32 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.651e-05/0.2764, allocations: 23.42 kB / 1.068 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of SimCode: time 2.01e-07/0.2764, allocations: 0 / 1.068 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5008/0.7772, allocations: 2.33 MB / 1.07 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002577/0.7775, allocations: 258.8 kB / 1.07 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.146/3.923, allocations: 0 / 1.07 GB, free: 8.844 MB / 0.8262 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