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.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.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.007689/0.007689, allocations: 100.1 kB / 15.73 MB, free: 6.449 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.00178/0.001779, allocations: 201.6 kB / 16.68 MB, free: 6.352 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.456/1.456, allocations: 222.9 MB / 240.4 MB, free: 4.297 MB / 190.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.668/2.668, allocations: 437.1 MB / 0.7105 GB, free: 4.996 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 63.91 kB / 1.018 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3117/0.313, allocations: 151.6 MB / 1.166 GB, free: 7.336 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002935/0.316, allocations: 1.494 MB / 1.168 GB, free: 5.824 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001356/0.3174, allocations: 0.7245 MB / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.52e-05/0.3175, allocations: 0 / 1.168 GB, free: 5.094 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.978e-05/0.3175, allocations: 7.922 kB / 1.168 GB, free: 5.086 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.064e-05/0.3176, allocations: 11.88 kB / 1.168 GB, free: 5.074 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006589/0.3183, allocations: 119.6 kB / 1.168 GB, free: 4.957 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001445/0.3184, allocations: 67.72 kB / 1.168 GB, free: 4.891 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.3186, allocations: 16 kB / 1.169 GB, free: 4.875 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.3187, allocations: 35.89 kB / 1.169 GB, free: 4.84 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.36e-05/0.3188, allocations: 35.84 kB / 1.169 GB, free: 4.805 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.033e-05/0.3188, allocations: 4 kB / 1.169 GB, free: 4.801 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002219/0.319, allocations: 95.84 kB / 1.169 GB, free: 4.707 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.642e-05/0.319, allocations: 11.98 kB / 1.169 GB, free: 4.695 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.294e-05/0.3191, allocations: 31.86 kB / 1.169 GB, free: 4.664 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002993/0.3194, allocations: 138.9 kB / 1.169 GB, free: 4.531 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3194, allocations: 4 kB / 1.169 GB, free: 4.527 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3194, allocations: 0 / 1.169 GB, free: 4.527 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.04e-05/0.3195, allocations: 0 / 1.169 GB, free: 4.527 MB / 0.92 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.0006832/0.3201, allocations: 447 kB / 1.169 GB, free: 4.031 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.3202, allocations: 8.031 kB / 1.169 GB, free: 4.023 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.856e-05/0.3202, allocations: 34.73 kB / 1.169 GB, free: 3.98 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.082e-05/0.3203, allocations: 8.844 kB / 1.169 GB, free: 3.973 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001317/0.3204, allocations: 172.2 kB / 1.169 GB, free: 3.766 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.199e-05/0.3205, allocations: 16.31 kB / 1.17 GB, free: 3.75 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.133e-05/0.3205, allocations: 4.375 kB / 1.17 GB, free: 3.746 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000229/0.3207, allocations: 69.77 kB / 1.17 GB, free: 3.672 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.139e-05/0.3208, allocations: 3.938 kB / 1.17 GB, free: 3.668 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.731e-05/0.3208, allocations: 8 kB / 1.17 GB, free: 3.66 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.548e-06/0.3208, allocations: 0 / 1.17 GB, free: 3.66 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001437/0.3209, allocations: 35.97 kB / 1.17 GB, free: 3.625 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006129/0.3216, allocations: 296.8 kB / 1.17 GB, free: 3.285 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.3217, allocations: 42.56 kB / 1.17 GB, free: 3.234 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.641e-05/0.3218, allocations: 40.95 kB / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.698e-05/0.3219, allocations: 3.938 kB / 1.17 GB, free: 3.188 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002569/0.3221, allocations: 91.34 kB / 1.17 GB, free: 3.086 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.633e-06/0.3221, allocations: 0 / 1.17 GB, free: 3.086 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0004376/0.3226, allocations: 125.6 kB / 1.17 GB, free: 2.957 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.3226, allocations: 55.41 kB / 1.17 GB, free: 2.891 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001235/0.3228, allocations: 133.6 kB / 1.17 GB, free: 2.75 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.468e-05/0.3228, allocations: 29.7 kB / 1.17 GB, free: 2.715 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.067e-05/0.3229, allocations: 92.08 kB / 1.17 GB, free: 2.621 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.293e-05/0.3229, allocations: 15.8 kB / 1.171 GB, free: 2.605 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.608e-05/0.323, allocations: 29.72 kB / 1.171 GB, free: 2.57 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.3231, allocations: 322.8 kB / 1.171 GB, free: 2.246 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.396e-05/0.3232, allocations: 23.98 kB / 1.171 GB, free: 2.223 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.3233, allocations: 57.14 kB / 1.171 GB, free: 2.148 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001869/0.3235, allocations: 93.06 kB / 1.171 GB, free: 2.039 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.3235, allocations: 0 / 1.171 GB, free: 2.039 MB / 0.92 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002357/0.3238, allocations: 117.4 kB / 1.171 GB, free: 1.918 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/0.3238, allocations: 4 kB / 1.171 GB, free: 1.914 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.546e-06/0.3238, allocations: 4 kB / 1.171 GB, free: 1.91 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.3238, allocations: 0 / 1.171 GB, free: 1.91 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.852e-05/0.3239, allocations: 19.92 kB / 1.171 GB, free: 1.891 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.3239, allocations: 0 / 1.171 GB, free: 1.891 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.493e-05/0.324, allocations: 11.94 kB / 1.171 GB, free: 1.879 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.351e-05/0.324, allocations: 4 kB / 1.171 GB, free: 1.875 MB / 0.92 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 0.0001098/0.3241, allocations: 129.9 kB / 1.171 GB, free: 1.738 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.766e-05/0.3242, allocations: 3.953 kB / 1.171 GB, free: 1.734 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.404e-05/0.3242, allocations: 16.36 kB / 1.171 GB, free: 1.719 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.565e-06/0.3242, allocations: 0 / 1.171 GB, free: 1.719 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.3242, allocations: 0 / 1.171 GB, free: 1.719 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.3242, allocations: 3.938 kB / 1.171 GB, free: 1.715 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004744/0.3247, allocations: 374.5 kB / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.3247, allocations: 4 kB / 1.172 GB, free: 1.289 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.376e-05/0.3248, allocations: 11.92 kB / 1.172 GB, free: 1.277 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.3248, allocations: 3.938 kB / 1.172 GB, free: 1.273 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.36e-05/0.3248, allocations: 4 kB / 1.172 GB, free: 1.27 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.3248, allocations: 7.938 kB / 1.172 GB, free: 1.262 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3248, allocations: 0 / 1.172 GB, free: 1.262 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003151/0.3251, allocations: 211.3 kB / 1.172 GB, free: 1.039 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.766e-05/0.3252, allocations: 85.02 kB / 1.172 GB, free: 0.9375 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.3252, allocations: 4 kB / 1.172 GB, free: 0.9336 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.978e-05/0.3253, allocations: 7.922 kB / 1.172 GB, free: 0.9258 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.925e-05/0.3254, allocations: 8 kB / 1.172 GB, free: 0.918 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.147e-05/0.3254, allocations: 4 kB / 1.172 GB, free: 0.9141 MB / 0.92 GB Notification: Performance of sorting global known variables: time 6.909e-05/0.3255, allocations: 91.27 kB / 1.172 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of sort global known variables: time 5.81e-07/0.3255, allocations: 0 / 1.172 GB, free: 0.8242 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003165/0.3258, allocations: 39.98 kB / 1.172 GB, free: 0.7852 MB / 0.92 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.0008593/0.3267, allocations: 0.8068 MB / 1.173 GB, free: 15.97 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002363/0.3269, allocations: 67.91 kB / 1.173 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3269, allocations: 0 / 1.173 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 9.748e-05/0.327, allocations: 31.98 kB / 1.173 GB, free: 15.87 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002848/0.3273, allocations: 25.67 kB / 1.173 GB, free: 15.85 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001775/0.3291, allocations: 1.502 MB / 1.175 GB, free: 14.23 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.3294, allocations: 0.6884 MB / 1.175 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.591e-05/0.3295, allocations: 7.984 kB / 1.175 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.405e-05/0.3295, allocations: 15.44 kB / 1.175 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of SimCode: time 2.61e-07/0.3295, allocations: 0 / 1.175 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01953/0.3491, allocations: 2.637 MB / 1.178 GB, free: 10.98 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.823/8.172, allocations: 18.39 kB / 1.178 GB, free: 10.96 MB / 0.9356 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