Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.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.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",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.008059/0.008059, allocations: 101.1 kB / 15.73 MB, free: 6.035 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.001484/0.001484, allocations: 186.8 kB / 16.67 MB, free: 5.973 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.448/1.448, allocations: 222.9 MB / 240.4 MB, free: 4.301 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.703/2.703, allocations: 437 MB / 0.7105 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 63.91 kB / 1.018 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3179, allocations: 151.6 MB / 1.166 GB, free: 7.34 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002872/0.3208, allocations: 1.508 MB / 1.168 GB, free: 5.816 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001515/0.3224, allocations: 0.7439 MB / 1.168 GB, free: 5.066 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.159e-05/0.3225, allocations: 0 / 1.168 GB, free: 5.066 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.574e-05/0.3225, allocations: 3.938 kB / 1.168 GB, free: 5.062 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 7.308e-05/0.3226, allocations: 15.84 kB / 1.168 GB, free: 5.047 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006258/0.3233, allocations: 135.5 kB / 1.168 GB, free: 4.914 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001466/0.3234, allocations: 91.77 kB / 1.169 GB, free: 4.824 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 9.598e-05/0.3235, allocations: 11.98 kB / 1.169 GB, free: 4.812 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001044/0.3236, allocations: 43.84 kB / 1.169 GB, free: 4.77 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.295e-05/0.3237, allocations: 43.83 kB / 1.169 GB, free: 4.727 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.551e-05/0.3238, allocations: 8 kB / 1.169 GB, free: 4.719 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002192/0.324, allocations: 103.8 kB / 1.169 GB, free: 4.617 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.449e-05/0.324, allocations: 23.91 kB / 1.169 GB, free: 4.594 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.641e-05/0.3241, allocations: 35.8 kB / 1.169 GB, free: 4.559 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002574/0.3244, allocations: 154.5 kB / 1.169 GB, free: 4.41 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.3244, allocations: 3.984 kB / 1.169 GB, free: 4.406 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.022e-06/0.3244, allocations: 0 / 1.169 GB, free: 4.406 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.439e-06/0.3244, allocations: 0 / 1.169 GB, free: 4.406 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000568/0.325, allocations: 459.4 kB / 1.169 GB, free: 3.898 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.392e-05/0.325, allocations: 12.03 kB / 1.169 GB, free: 3.887 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.503e-05/0.325, allocations: 38.75 kB / 1.169 GB, free: 3.84 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.623e-05/0.3251, allocations: 12.83 kB / 1.169 GB, free: 3.828 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001259/0.3252, allocations: 180.2 kB / 1.17 GB, free: 3.613 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/0.3252, allocations: 4.375 kB / 1.17 GB, free: 3.609 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.3253, allocations: 12.31 kB / 1.17 GB, free: 3.598 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002257/0.3255, allocations: 85.75 kB / 1.17 GB, free: 3.508 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.3255, allocations: 0 / 1.17 GB, free: 3.508 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.3255, allocations: 0 / 1.17 GB, free: 3.508 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.416e-06/0.3255, allocations: 4 kB / 1.17 GB, free: 3.504 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001535/0.3257, allocations: 55.84 kB / 1.17 GB, free: 3.449 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005138/0.3262, allocations: 320.8 kB / 1.17 GB, free: 3.086 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001554/0.3264, allocations: 62.56 kB / 1.17 GB, free: 3.016 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001056/0.3265, allocations: 48.83 kB / 1.17 GB, free: 2.965 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.3265, allocations: 0 / 1.17 GB, free: 2.965 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002524/0.3268, allocations: 95.39 kB / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.3268, allocations: 4 kB / 1.17 GB, free: 2.855 MB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.0004692/0.3273, allocations: 181.5 kB / 1.17 GB, free: 2.672 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.049e-05/0.3273, allocations: 59.41 kB / 1.171 GB, free: 2.602 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.3275, allocations: 129.7 kB / 1.171 GB, free: 2.465 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 3.037e-05/0.3275, allocations: 33.7 kB / 1.171 GB, free: 2.426 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.433e-05/0.3275, allocations: 88.38 kB / 1.171 GB, free: 2.332 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.3276, allocations: 23.88 kB / 1.171 GB, free: 2.309 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.525e-05/0.3276, allocations: 37.7 kB / 1.171 GB, free: 2.266 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.3278, allocations: 322.8 kB / 1.171 GB, free: 1.941 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.375e-05/0.3279, allocations: 27.97 kB / 1.171 GB, free: 1.914 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/0.328, allocations: 77.94 kB / 1.171 GB, free: 1.816 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002113/0.3282, allocations: 105.9 kB / 1.171 GB, free: 1.691 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3282, allocations: 0 / 1.171 GB, free: 1.691 MB / 0.92 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002605/0.3285, allocations: 141.4 kB / 1.171 GB, free: 1.547 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.3285, allocations: 4 kB / 1.171 GB, free: 1.543 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.3285, allocations: 4 kB / 1.171 GB, free: 1.539 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.3285, allocations: 8.094 kB / 1.172 GB, free: 1.531 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.253e-05/0.3286, allocations: 15.98 kB / 1.172 GB, free: 1.516 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.3286, allocations: 4 kB / 1.172 GB, free: 1.512 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.028e-05/0.3287, allocations: 8 kB / 1.172 GB, free: 1.504 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.3287, allocations: 4 kB / 1.172 GB, free: 1.5 MB / 0.92 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 0.0001042/0.3289, allocations: 137.3 kB / 1.172 GB, free: 1.359 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.186e-05/0.3289, allocations: 8.281 kB / 1.172 GB, free: 1.352 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.726e-05/0.3289, allocations: 16.38 kB / 1.172 GB, free: 1.336 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.3289, allocations: 0 / 1.172 GB, free: 1.336 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.3289, allocations: 3.938 kB / 1.172 GB, free: 1.332 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3289, allocations: 7.938 kB / 1.172 GB, free: 1.324 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000555/0.3295, allocations: 434.3 kB / 1.172 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3295, allocations: 0 / 1.172 GB, free: 0.8438 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.285e-05/0.3296, allocations: 7.984 kB / 1.172 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.736e-06/0.3296, allocations: 0 / 1.172 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.3296, allocations: 0 / 1.172 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.3296, allocations: 7.984 kB / 1.172 GB, free: 0.8281 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.3296, allocations: 7.938 kB / 1.172 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003429/0.3299, allocations: 239.4 kB / 1.172 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.853e-05/0.33, allocations: 89 kB / 1.172 GB, free: 476 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.144e-05/0.33, allocations: 0 / 1.172 GB, free: 476 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.892e-05/0.3301, allocations: 4 kB / 1.172 GB, free: 472 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.169e-05/0.3302, allocations: 15.92 kB / 1.172 GB, free: 456 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.221e-05/0.3302, allocations: 4 kB / 1.172 GB, free: 452 kB / 0.92 GB Notification: Performance of sorting global known variables: time 5.675e-05/0.3303, allocations: 95.27 kB / 1.173 GB, free: 356 kB / 0.92 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3303, allocations: 3.938 kB / 1.173 GB, free: 352 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0003254/0.3306, allocations: 47.92 kB / 1.173 GB, free: 304 kB / 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: 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.0008791/0.3315, allocations: 0.8362 MB / 1.173 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002722/0.3318, allocations: 88.03 kB / 1.174 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3318, allocations: 4 kB / 1.174 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001249/0.3319, allocations: 52.22 kB / 1.174 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002782/0.3322, allocations: 22.05 kB / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001685/0.3339, allocations: 1.596 MB / 1.175 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/0.3342, allocations: 0.7001 MB / 1.176 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.93e-05/0.3342, allocations: 4 kB / 1.176 GB, free: 12.85 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.87e-05/0.3343, allocations: 27.61 kB / 1.176 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of SimCode: time 2.8e-07/0.3343, allocations: 0 / 1.176 GB, free: 12.82 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02053/0.3548, allocations: 2.985 MB / 1.179 GB, free: 9.992 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.001/8.356, allocations: 15.59 kB / 1.179 GB, free: 9.977 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat --tempDir=temp_Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.fmu > Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.solarAltitude,bli.occ,bli.pUp,bli.blindState Variables in the result:SA.amplitude,SA.f,SA.offset,SA.phase,SA.startTime,SA.y,bli.ADown,bli.AUp,bli.BDown,bli.BUp,bli.blindState,bli.occ,bli.pDown,bli.pUp,bli.samplePeriod,bli.seed,bli.solarAltitude,occ.startTime,occ.startValue,occ.y,time