Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",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.008344/0.008344, allocations: 99.31 kB / 15.73 MB, free: 6.051 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.002081/0.002081, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.799/2.799, allocations: 461.9 MB / 0.7348 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 64.12 kB / 1.054 GB, free: 7.762 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3042, allocations: 157.4 MB / 1.207 GB, free: 10.27 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002569/0.3068, allocations: 1.514 MB / 1.209 GB, free: 8.738 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001335/0.3082, allocations: 0.7443 MB / 1.209 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.897e-05/0.3082, allocations: 0 / 1.209 GB, free: 7.988 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.228e-05/0.3083, allocations: 19.81 kB / 1.209 GB, free: 7.969 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.166e-05/0.3083, allocations: 11.86 kB / 1.209 GB, free: 7.957 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006301/0.309, allocations: 127.6 kB / 1.21 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001332/0.3091, allocations: 87.75 kB / 1.21 GB, free: 7.746 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.3093, allocations: 12 kB / 1.21 GB, free: 7.734 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001138/0.3094, allocations: 47.84 kB / 1.21 GB, free: 7.688 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.732e-05/0.3095, allocations: 43.81 kB / 1.21 GB, free: 7.645 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.289e-05/0.3095, allocations: 8 kB / 1.21 GB, free: 7.637 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002056/0.3097, allocations: 99.84 kB / 1.21 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.054e-05/0.3097, allocations: 19.98 kB / 1.21 GB, free: 7.52 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 6.406e-05/0.3098, allocations: 39.78 kB / 1.21 GB, free: 7.48 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002712/0.3101, allocations: 163.8 kB / 1.21 GB, free: 7.32 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3101, allocations: 0 / 1.21 GB, free: 7.32 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3101, allocations: 0 / 1.21 GB, free: 7.32 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.825e-06/0.3101, allocations: 0 / 1.21 GB, free: 7.32 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006498/0.3108, allocations: 466.5 kB / 1.211 GB, free: 6.805 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.3108, allocations: 12.56 kB / 1.211 GB, free: 6.793 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.344e-05/0.3109, allocations: 34.75 kB / 1.211 GB, free: 6.75 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.929e-05/0.3109, allocations: 8.844 kB / 1.211 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.311, allocations: 175 kB / 1.211 GB, free: 6.535 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.538e-05/0.3111, allocations: 8.375 kB / 1.211 GB, free: 6.527 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.3111, allocations: 4.375 kB / 1.211 GB, free: 6.523 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002306/0.3113, allocations: 93.69 kB / 1.211 GB, free: 6.426 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.3113, allocations: 8 kB / 1.211 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.3114, allocations: 0 / 1.211 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.3114, allocations: 0 / 1.211 GB, free: 6.418 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001438/0.3115, allocations: 43.97 kB / 1.211 GB, free: 6.375 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005406/0.3121, allocations: 328.6 kB / 1.211 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/0.3122, allocations: 74.56 kB / 1.211 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.854e-05/0.3124, allocations: 40.84 kB / 1.211 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.176e-05/0.3124, allocations: 4 kB / 1.211 GB, free: 5.875 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000241/0.3126, allocations: 91.36 kB / 1.211 GB, free: 5.773 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.673e-06/0.3126, allocations: 0 / 1.211 GB, free: 5.773 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0004848/0.3131, allocations: 189.5 kB / 1.212 GB, free: 5.582 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.464e-05/0.3132, allocations: 63.33 kB / 1.212 GB, free: 5.508 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.3133, allocations: 125.8 kB / 1.212 GB, free: 5.375 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.606e-05/0.3133, allocations: 29.7 kB / 1.212 GB, free: 5.34 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.512e-05/0.3134, allocations: 92.36 kB / 1.212 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/0.3134, allocations: 24.03 kB / 1.212 GB, free: 5.219 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.493e-05/0.3135, allocations: 33.7 kB / 1.212 GB, free: 5.18 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.3136, allocations: 334.7 kB / 1.212 GB, free: 4.844 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.901e-05/0.3137, allocations: 23.98 kB / 1.212 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001082/0.3138, allocations: 81.92 kB / 1.212 GB, free: 4.719 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001891/0.314, allocations: 109.9 kB / 1.212 GB, free: 4.59 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.314, allocations: 4 kB / 1.212 GB, free: 4.586 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002591/0.3143, allocations: 133.5 kB / 1.213 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.515e-05/0.3143, allocations: 8 kB / 1.213 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.3143, allocations: 0 / 1.213 GB, free: 4.441 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.766e-05/0.3144, allocations: 4 kB / 1.213 GB, free: 4.438 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.872e-05/0.3145, allocations: 19.92 kB / 1.213 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.3145, allocations: 0 / 1.213 GB, free: 4.418 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.824e-05/0.3146, allocations: 11.98 kB / 1.213 GB, free: 4.406 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.3146, allocations: 8 kB / 1.213 GB, free: 4.398 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 (bli.curSeed,$PRE.bli.curSeed,bli.pDown,$PRE.bli.pDown,bli.pUp,$PRE.bli.pUp,bli.isOpen,$PRE.bli.isOpen,bli.blindState,$PRE.bli.blindState,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 (15): * Single equations (assignments): 15 * 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.933e-05/0.3147, allocations: 125.8 kB / 1.213 GB, free: 4.266 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.311e-05/0.3147, allocations: 11.91 kB / 1.213 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.882e-05/0.3147, allocations: 8.375 kB / 1.213 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/0.3148, allocations: 3.984 kB / 1.213 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3148, allocations: 0 / 1.213 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.3148, allocations: 0 / 1.213 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005753/0.3153, allocations: 442.4 kB / 1.213 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3154, allocations: 0 / 1.213 GB, free: 3.75 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.073e-05/0.3154, allocations: 8 kB / 1.213 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.3154, allocations: 0 / 1.213 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.3154, allocations: 7.984 kB / 1.213 GB, free: 3.734 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.3154, allocations: 0 / 1.213 GB, free: 3.734 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.3155, allocations: 3.938 kB / 1.213 GB, free: 3.73 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003503/0.3158, allocations: 247.3 kB / 1.213 GB, free: 3.473 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.427e-05/0.3159, allocations: 85.02 kB / 1.214 GB, free: 3.371 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.53e-05/0.3159, allocations: 4 kB / 1.214 GB, free: 3.367 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.316, allocations: 8.078 kB / 1.214 GB, free: 3.359 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.595e-05/0.3161, allocations: 16.11 kB / 1.214 GB, free: 3.344 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.373e-05/0.3161, allocations: 7.984 kB / 1.214 GB, free: 3.336 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.379e-05/0.3161, allocations: 95.2 kB / 1.214 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3161, allocations: 0 / 1.214 GB, free: 3.242 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003492/0.3165, allocations: 40 kB / 1.214 GB, free: 3.203 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.0009022/0.3174, allocations: 0.849 MB / 1.215 GB, free: 2.348 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002733/0.3177, allocations: 99.95 kB / 1.215 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3177, allocations: 0 / 1.215 GB, free: 2.25 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001105/0.3178, allocations: 44.06 kB / 1.215 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.3181, allocations: 28.03 kB / 1.215 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001929/0.3201, allocations: 1.584 MB / 1.216 GB, free: 492 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00028/0.3204, allocations: 0.6924 MB / 1.217 GB, free: 15.76 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.458e-05/0.3204, allocations: 7.984 kB / 1.217 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.904e-05/0.3205, allocations: 19.44 kB / 1.217 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of SimCode: time 4.91e-07/0.3205, allocations: 0 / 1.217 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0222/0.3427, allocations: 3.037 MB / 1.22 GB, free: 12.85 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.74/8.083, allocations: 18.53 kB / 1.22 GB, free: 12.84 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.fmu > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.H,bli.occ,bli.pUp,bli.blindState Variables in the result:H.amplitude,H.f,H.offset,H.phase,H.startTime,H.y,bli.ADown,bli.AUp,bli.BDown,bli.BUp,bli.H,bli.blindState,bli.occ,bli.pDown,bli.pUp,bli.samplePeriod,bli.seed,occ.startTime,occ.startValue,occ.y,time