Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_10_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.0007013/0.0007014, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004797/0.004797, allocations: 169 kB / 16.26 MB, free: 6.652 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.213/1.213, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.38/2.38, allocations: 437.8 MB / 0.7121 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003627/0.0003628, allocations: 12 kB / 0.8729 GB, free: 3.16 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5636/0.564, allocations: 153.8 MB / 1.023 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.001728/0.5657, allocations: 1.215 MB / 1.024 GB, free: 14.6 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001134/0.5669, allocations: 0.7092 MB / 1.025 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.748e-05/0.5669, allocations: 4 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.603e-05/0.567, allocations: 3.938 kB / 1.025 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.623e-05/0.567, allocations: 15.91 kB / 1.025 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.000438/0.5675, allocations: 103.7 kB / 1.025 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.937e-05/0.5676, allocations: 63.78 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.066e-05/0.5677, allocations: 7.984 kB / 1.025 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 7.988e-05/0.5677, allocations: 35.91 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.578e-05/0.5678, allocations: 31.84 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.381e-05/0.5678, allocations: 4 kB / 1.025 GB, free: 13.62 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001807/0.568, allocations: 87.84 kB / 1.025 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.25e-05/0.5681, allocations: 15.92 kB / 1.025 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.224e-05/0.5681, allocations: 53.56 kB / 1.025 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.5683, allocations: 129.9 kB / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.5683, allocations: 0 / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5683, allocations: 0 / 1.026 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.5683, allocations: 0 / 1.026 GB, free: 13.34 MB / 0.7794 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.0005016/0.5689, allocations: 442.7 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.5689, allocations: 8.031 kB / 1.026 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.697e-05/0.5689, allocations: 38.67 kB / 1.026 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.548e-05/0.569, allocations: 8.844 kB / 1.026 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001115/0.5691, allocations: 180.2 kB / 1.026 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.555e-05/0.5691, allocations: 12.31 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.518e-05/0.5691, allocations: 4.375 kB / 1.026 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.5693, allocations: 73.78 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.58e-06/0.5693, allocations: 0 / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.767e-06/0.5693, allocations: 0 / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.5694, allocations: 4 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001341/0.5695, allocations: 43.97 kB / 1.026 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005438/0.57, allocations: 300.7 kB / 1.027 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.5702, allocations: 54.5 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.471e-05/0.5703, allocations: 36.91 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.723e-05/0.5703, allocations: 4 kB / 1.027 GB, free: 11.98 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001772/0.5705, allocations: 79.38 kB / 1.027 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.382e-06/0.5705, allocations: 4 kB / 1.027 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003803/0.5709, allocations: 145.6 kB / 1.027 GB, free: 11.73 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.012e-05/0.5709, allocations: 59.39 kB / 1.027 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.332e-05/0.571, allocations: 117.8 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.765e-05/0.571, allocations: 33.7 kB / 1.027 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.307e-05/0.5711, allocations: 88.12 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.5711, allocations: 15.81 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.706e-05/0.5711, allocations: 17.72 kB / 1.027 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.5713, allocations: 326.8 kB / 1.028 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.016e-05/0.5713, allocations: 23.98 kB / 1.028 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.25e-05/0.5714, allocations: 61.14 kB / 1.028 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001606/0.5716, allocations: 97 kB / 1.028 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.5716, allocations: 4 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002327/0.5718, allocations: 121.4 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/0.5719, allocations: 4 kB / 1.028 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.5719, allocations: 4 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.976e-06/0.5719, allocations: 0 / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.073e-05/0.572, allocations: 19.98 kB / 1.028 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.572, allocations: 4.156 kB / 1.028 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.037e-05/0.5721, allocations: 11.94 kB / 1.028 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.209e-05/0.5721, allocations: 8.297 kB / 1.028 GB, free: 10.65 MB / 0.7794 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.011e-05/0.5722, allocations: 123.7 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.555e-05/0.5722, allocations: 7.906 kB / 1.028 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.548e-05/0.5722, allocations: 8.375 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.5722, allocations: 3.938 kB / 1.028 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.5722, allocations: 8 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-06/0.5722, allocations: 0 / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004236/0.5727, allocations: 394.4 kB / 1.028 GB, free: 10.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.5727, allocations: 3.938 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.896e-05/0.5727, allocations: 7.984 kB / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.5727, allocations: 48 / 1.028 GB, free: 10.04 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.5728, allocations: 11.98 kB / 1.028 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.5728, allocations: 3.938 kB / 1.028 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.5728, allocations: 0 / 1.028 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002687/0.573, allocations: 207.4 kB / 1.029 GB, free: 9.801 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.131e-05/0.5731, allocations: 88.95 kB / 1.029 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.465e-05/0.5731, allocations: 0 / 1.029 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.92e-05/0.5732, allocations: 19.92 kB / 1.029 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.845e-05/0.5732, allocations: 4 kB / 1.029 GB, free: 9.672 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.566e-06/0.5733, allocations: 3.984 kB / 1.029 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.35e-05/0.5733, allocations: 91.94 kB / 1.029 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.5733, allocations: 0 / 1.029 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002835/0.5736, allocations: 39.98 kB / 1.029 GB, free: 9.539 MB / 0.7794 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.0007096/0.5743, allocations: 0.802 MB / 1.03 GB, free: 8.723 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000202/0.5745, allocations: 75.84 kB / 1.03 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.5745, allocations: 0 / 1.03 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 9.533e-05/0.5746, allocations: 39.92 kB / 1.03 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002426/0.5749, allocations: 18.12 kB / 1.03 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001408/0.5763, allocations: 1.542 MB / 1.031 GB, free: 6.941 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000223/0.5766, allocations: 0.6887 MB / 1.032 GB, free: 6.227 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.889e-05/0.5766, allocations: 4 kB / 1.032 GB, free: 6.223 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.39e-05/0.5766, allocations: 23.42 kB / 1.032 GB, free: 6.199 MB / 0.7794 GB Notification: Performance of SimCode: time 3.11e-07/0.5766, allocations: 0 / 1.032 GB, free: 6.199 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9939/1.571, allocations: 2.328 MB / 1.034 GB, free: 4.02 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003727/1.571, allocations: 255.6 kB / 1.034 GB, free: 3.77 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.949/3.52, allocations: 0 / 1.034 GB, free: 3.77 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.fmu > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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