Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.Haldi2008BlindsTIn,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_10_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.0007489/0.0007489, allocations: 91.22 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.004711/0.004711, allocations: 171.3 kB / 16.26 MB, free: 6.613 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.269/1.269, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.295/2.295, allocations: 437.8 MB / 0.7121 GB, free: 7.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003085/0.0003086, allocations: 12 kB / 0.8729 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.506/0.5064, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.001437/0.5078, allocations: 1.203 MB / 1.024 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001078/0.5089, allocations: 0.7169 MB / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.272e-05/0.509, allocations: 4 kB / 1.025 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.7e-05/0.509, allocations: 3.938 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.932e-05/0.5091, allocations: 7.875 kB / 1.025 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004084/0.5095, allocations: 103.8 kB / 1.025 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 9.277e-05/0.5096, allocations: 67.78 kB / 1.025 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.736e-05/0.5097, allocations: 15.97 kB / 1.025 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 6.718e-05/0.5097, allocations: 27.92 kB / 1.025 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.469e-05/0.5098, allocations: 31.84 kB / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.5098, allocations: 0 / 1.025 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001681/0.51, allocations: 95.84 kB / 1.025 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.996e-05/0.51, allocations: 11.92 kB / 1.025 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.144e-05/0.5101, allocations: 61.55 kB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001795/0.5103, allocations: 125.9 kB / 1.026 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.5103, allocations: 0 / 1.026 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.133e-06/0.5103, allocations: 0 / 1.026 GB, free: 13.37 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 2.955e-06/0.5103, allocations: 0 / 1.026 GB, free: 13.37 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.0004748/0.5108, allocations: 434.7 kB / 1.026 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.5108, allocations: 12.03 kB / 1.026 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.405e-05/0.5109, allocations: 38.73 kB / 1.026 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.651e-05/0.5109, allocations: 12.78 kB / 1.026 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.793e-05/0.511, allocations: 172.2 kB / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.511, allocations: 384 / 1.026 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.591e-05/0.5111, allocations: 8.375 kB / 1.026 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.5112, allocations: 85.7 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.161e-06/0.5112, allocations: 0 / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.669e-06/0.5113, allocations: 0 / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.5113, allocations: 0 / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001356/0.5114, allocations: 43.97 kB / 1.026 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004149/0.5118, allocations: 304.6 kB / 1.027 GB, free: 12.12 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.512, allocations: 58.48 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.569e-05/0.5121, allocations: 36.97 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.729e-05/0.5121, allocations: 4 kB / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001746/0.5123, allocations: 75.38 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.5123, allocations: 0 / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.0003718/0.5127, allocations: 149.6 kB / 1.027 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.05e-05/0.5127, allocations: 51.41 kB / 1.027 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.909e-05/0.5128, allocations: 125.7 kB / 1.027 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.5128, allocations: 25.7 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.05e-05/0.5129, allocations: 92.14 kB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.849e-05/0.5129, allocations: 15.86 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-05/0.5129, allocations: 17.72 kB / 1.027 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.128e-05/0.513, allocations: 326.8 kB / 1.028 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.061e-05/0.5131, allocations: 27.98 kB / 1.028 GB, free: 11.06 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.117e-05/0.5132, allocations: 61.14 kB / 1.028 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001598/0.5134, allocations: 97.06 kB / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.5134, allocations: 0 / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002275/0.5136, allocations: 125.4 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.5136, allocations: 11.94 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.5136, allocations: 0 / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/0.5137, allocations: 4 kB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.924e-05/0.5137, allocations: 11.98 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.5138, allocations: 4.156 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.998e-05/0.5138, allocations: 15.94 kB / 1.028 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.5138, allocations: 4 kB / 1.028 GB, free: 10.69 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.132e-05/0.5139, allocations: 132.3 kB / 1.028 GB, free: 10.55 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.393e-05/0.5139, allocations: 7.844 kB / 1.028 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.325e-05/0.514, allocations: 12.38 kB / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.514, allocations: 0 / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.514, allocations: 0 / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.514, allocations: 4 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004134/0.5144, allocations: 378.5 kB / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.5144, allocations: 7.938 kB / 1.028 GB, free: 10.09 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.948e-05/0.5145, allocations: 11.92 kB / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.5145, allocations: 0 / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.807e-06/0.5145, allocations: 0 / 1.028 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.5145, allocations: 7.938 kB / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.5145, allocations: 0 / 1.028 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002668/0.5148, allocations: 219.4 kB / 1.029 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.52e-05/0.5148, allocations: 84.95 kB / 1.029 GB, free: 9.738 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.58e-05/0.5149, allocations: 4 kB / 1.029 GB, free: 9.734 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.696e-05/0.515, allocations: 11.94 kB / 1.029 GB, free: 9.723 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.386e-05/0.515, allocations: 3.984 kB / 1.029 GB, free: 9.719 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.544e-06/0.515, allocations: 4 kB / 1.029 GB, free: 9.715 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.667e-05/0.5151, allocations: 99.86 kB / 1.029 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5151, allocations: 0 / 1.029 GB, free: 9.617 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002801/0.5153, allocations: 39.98 kB / 1.029 GB, free: 9.578 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.0006862/0.516, allocations: 0.7954 MB / 1.03 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002097/0.5163, allocations: 87.91 kB / 1.03 GB, free: 8.684 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.5163, allocations: 3.938 kB / 1.03 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.5164, allocations: 39.92 kB / 1.03 GB, free: 8.641 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/0.5166, allocations: 19.86 kB / 1.03 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001389/0.518, allocations: 1.533 MB / 1.031 GB, free: 6.977 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002081/0.5183, allocations: 0.6887 MB / 1.032 GB, free: 6.262 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.955e-05/0.5183, allocations: 4 kB / 1.032 GB, free: 6.258 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.5e-05/0.5183, allocations: 23.53 kB / 1.032 GB, free: 6.234 MB / 0.7794 GB Notification: Performance of SimCode: time 2.51e-07/0.5183, allocations: 0 / 1.032 GB, free: 6.234 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.692/2.21, allocations: 2.314 MB / 1.034 GB, free: 4.07 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002992/2.21, allocations: 260.9 kB / 1.034 GB, free: 3.812 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.777/4.987, allocations: 0 / 1.034 GB, free: 3.812 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.fmu > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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