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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.006671/0.006671, allocations: 97.98 kB / 15.73 MB, free: 5.602 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.001754/0.001754, allocations: 195.4 kB / 16.68 MB, free: 5.523 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.33/1.33, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.354/2.354, allocations: 437.1 MB / 0.7105 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002032/0.002032, allocations: 59.91 kB / 1.018 GB, free: 9.867 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6137/0.6157, allocations: 151.6 MB / 1.166 GB, free: 3.719 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.00245/0.6182, allocations: 1.498 MB / 1.168 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001098/0.6193, allocations: 0.7284 MB / 1.168 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.371e-05/0.6194, allocations: 0 / 1.168 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.566e-05/0.6194, allocations: 7.875 kB / 1.168 GB, free: 1.469 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.653e-05/0.6195, allocations: 7.875 kB / 1.168 GB, free: 1.461 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004576/0.6199, allocations: 123.6 kB / 1.168 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 9.915e-05/0.62, allocations: 63.78 kB / 1.169 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 7.658e-05/0.6201, allocations: 16 kB / 1.169 GB, free: 1.262 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 8.173e-05/0.6202, allocations: 39.83 kB / 1.169 GB, free: 1.223 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.692e-05/0.6203, allocations: 31.84 kB / 1.169 GB, free: 1.191 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.6203, allocations: 8 kB / 1.169 GB, free: 1.184 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001765/0.6205, allocations: 91.91 kB / 1.169 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.532e-05/0.6205, allocations: 19.86 kB / 1.169 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.387e-05/0.6205, allocations: 31.86 kB / 1.169 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002097/0.6208, allocations: 131.3 kB / 1.169 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.075e-06/0.6208, allocations: 0 / 1.169 GB, free: 0.918 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6208, allocations: 7.938 kB / 1.169 GB, free: 0.9102 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.258e-06/0.6208, allocations: 0 / 1.169 GB, free: 0.9102 MB / 0.8887 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.0005573/0.6214, allocations: 450.4 kB / 1.169 GB, free: 420 kB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.6214, allocations: 8.922 kB / 1.169 GB, free: 412 kB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.945e-05/0.6214, allocations: 34.73 kB / 1.169 GB, free: 368 kB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.941e-05/0.6215, allocations: 8.891 kB / 1.169 GB, free: 360 kB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.6216, allocations: 176.3 kB / 1.17 GB, free: 144 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.494e-05/0.6216, allocations: 12.31 kB / 1.17 GB, free: 132 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.171e-05/0.6216, allocations: 8.375 kB / 1.17 GB, free: 124 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001759/0.6218, allocations: 69.77 kB / 1.17 GB, free: 48 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.6219, allocations: 0 / 1.17 GB, free: 48 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.122e-05/0.6219, allocations: 7.938 kB / 1.17 GB, free: 40 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.537e-06/0.6219, allocations: 4 kB / 1.17 GB, free: 36 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001347/0.622, allocations: 35.97 kB / 1.17 GB, free: 0 / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004448/0.6225, allocations: 292.8 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001302/0.6226, allocations: 50.48 kB / 1.17 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.511e-05/0.6227, allocations: 32.97 kB / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.412e-05/0.6227, allocations: 0 / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001702/0.6229, allocations: 87.44 kB / 1.17 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.6229, allocations: 4 kB / 1.17 GB, free: 15.47 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0003769/0.6233, allocations: 133.5 kB / 1.17 GB, free: 15.33 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.173e-05/0.6233, allocations: 55.41 kB / 1.17 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.746e-05/0.6234, allocations: 121.8 kB / 1.17 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.6235, allocations: 33.7 kB / 1.17 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.375e-05/0.6235, allocations: 88.09 kB / 1.171 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/0.6236, allocations: 19.89 kB / 1.171 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.621e-05/0.6236, allocations: 29.72 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.6237, allocations: 322.8 kB / 1.171 GB, free: 14.63 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.051e-05/0.6238, allocations: 23.98 kB / 1.171 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.047e-05/0.6239, allocations: 53.14 kB / 1.171 GB, free: 14.54 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001711/0.6241, allocations: 101 kB / 1.171 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.6241, allocations: 0 / 1.171 GB, free: 14.42 MB / 0.9044 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002205/0.6243, allocations: 117.5 kB / 1.171 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.6244, allocations: 4 kB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.6244, allocations: 4 kB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.6244, allocations: 0 / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.096e-05/0.6245, allocations: 19.98 kB / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.6245, allocations: 4.25 kB / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.535e-05/0.6245, allocations: 7.938 kB / 1.171 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.6245, allocations: 7.984 kB / 1.171 GB, free: 14.25 MB / 0.9044 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.58e-05/0.6246, allocations: 128 kB / 1.171 GB, free: 14.12 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.431e-05/0.6247, allocations: 7.953 kB / 1.171 GB, free: 14.11 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.178e-05/0.6247, allocations: 16.31 kB / 1.171 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.6247, allocations: 0 / 1.171 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.6247, allocations: 0 / 1.171 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.6247, allocations: 0 / 1.171 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004596/0.6252, allocations: 382.4 kB / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.6252, allocations: 3.938 kB / 1.172 GB, free: 13.66 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.867e-05/0.6252, allocations: 11.98 kB / 1.172 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.6252, allocations: 0 / 1.172 GB, free: 13.65 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.226e-05/0.6253, allocations: 4 kB / 1.172 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.946e-06/0.6253, allocations: 3.938 kB / 1.172 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.6253, allocations: 4 kB / 1.172 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002855/0.6256, allocations: 203.5 kB / 1.172 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.483e-05/0.6256, allocations: 85 kB / 1.172 GB, free: 13.32 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.6256, allocations: 8 kB / 1.172 GB, free: 13.31 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.486e-05/0.6257, allocations: 7.922 kB / 1.172 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.071e-05/0.6258, allocations: 8 kB / 1.172 GB, free: 13.3 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.6258, allocations: 3.984 kB / 1.172 GB, free: 13.29 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.387e-05/0.6259, allocations: 91.28 kB / 1.172 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of sort global known variables: time 9e-08/0.6259, allocations: 0 / 1.172 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002681/0.6261, allocations: 39.92 kB / 1.172 GB, free: 13.16 MB / 0.9044 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.0007802/0.6269, allocations: 0.8099 MB / 1.173 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002134/0.6271, allocations: 72.03 kB / 1.173 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.6272, allocations: 0 / 1.173 GB, free: 12.27 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 9.814e-05/0.6273, allocations: 35.92 kB / 1.173 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002355/0.6275, allocations: 22.36 kB / 1.173 GB, free: 12.22 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/0.629, allocations: 1.506 MB / 1.175 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002925/0.6293, allocations: 0.6924 MB / 1.175 GB, free: 9.879 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.845e-05/0.6294, allocations: 4 kB / 1.175 GB, free: 9.875 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.978e-05/0.6294, allocations: 19.44 kB / 1.175 GB, free: 9.855 MB / 0.9044 GB Notification: Performance of SimCode: time 2.4e-07/0.6294, allocations: 0 / 1.175 GB, free: 9.855 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.75/2.38, allocations: 2.643 MB / 1.178 GB, free: 7.34 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/14.49, allocations: 15.88 kB / 1.178 GB, free: 7.324 MB / 0.9044 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=400 --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