Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_latest_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.008283/0.008283, allocations: 102.1 kB / 15.73 MB, free: 6.031 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.001749/0.001749, allocations: 194.5 kB / 16.67 MB, free: 5.969 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.59/1.59, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.783/2.783, allocations: 461.9 MB / 0.7348 GB, free: 14.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 64.12 kB / 1.054 GB, free: 7.633 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2995/0.301, allocations: 157.4 MB / 1.207 GB, free: 10.12 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.003015/0.304, allocations: 1.507 MB / 1.209 GB, free: 8.602 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001362/0.3054, allocations: 0.756 MB / 1.209 GB, free: 7.84 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.695e-05/0.3055, allocations: 0 / 1.209 GB, free: 7.84 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.719e-05/0.3056, allocations: 7.875 kB / 1.209 GB, free: 7.832 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 9.225e-05/0.3057, allocations: 19.86 kB / 1.209 GB, free: 7.812 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007059/0.3064, allocations: 127.5 kB / 1.21 GB, free: 7.688 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000148/0.3066, allocations: 87.83 kB / 1.21 GB, free: 7.602 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001105/0.3067, allocations: 7.984 kB / 1.21 GB, free: 7.594 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001157/0.3068, allocations: 51.78 kB / 1.21 GB, free: 7.543 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.079e-05/0.3069, allocations: 47.83 kB / 1.21 GB, free: 7.496 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.408e-05/0.307, allocations: 8 kB / 1.21 GB, free: 7.488 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002215/0.3072, allocations: 99.89 kB / 1.21 GB, free: 7.391 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.337e-05/0.3072, allocations: 19.92 kB / 1.21 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.356e-05/0.3073, allocations: 35.8 kB / 1.21 GB, free: 7.336 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000269/0.3076, allocations: 159.8 kB / 1.21 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.3076, allocations: 0 / 1.21 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.853e-06/0.3076, allocations: 0 / 1.21 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.3076, allocations: 0 / 1.21 GB, free: 7.18 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.0006236/0.3082, allocations: 470.5 kB / 1.211 GB, free: 6.66 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.3083, allocations: 8.625 kB / 1.211 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.529e-05/0.3083, allocations: 34.75 kB / 1.211 GB, free: 6.609 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.135e-05/0.3084, allocations: 8.844 kB / 1.211 GB, free: 6.602 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001185/0.3085, allocations: 180.2 kB / 1.211 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.88e-05/0.3085, allocations: 4.375 kB / 1.211 GB, free: 6.383 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.922e-05/0.3086, allocations: 4.375 kB / 1.211 GB, free: 6.379 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002239/0.3088, allocations: 89.75 kB / 1.211 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.787e-06/0.3088, allocations: 4 kB / 1.211 GB, free: 6.281 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.3088, allocations: 4 kB / 1.211 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.3088, allocations: 0 / 1.211 GB, free: 6.277 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000154/0.309, allocations: 47.97 kB / 1.211 GB, free: 6.23 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005674/0.3096, allocations: 328.5 kB / 1.211 GB, free: 5.859 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.3098, allocations: 66.55 kB / 1.211 GB, free: 5.785 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.923e-05/0.3099, allocations: 40.84 kB / 1.211 GB, free: 5.742 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.3099, allocations: 8.141 kB / 1.211 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002577/0.3102, allocations: 103.3 kB / 1.211 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 2.314e-06/0.3102, allocations: 0 / 1.211 GB, free: 5.621 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0004826/0.3107, allocations: 181.5 kB / 1.212 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.466e-05/0.3107, allocations: 59.39 kB / 1.212 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001123/0.3108, allocations: 133.8 kB / 1.212 GB, free: 5.227 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.3109, allocations: 29.7 kB / 1.212 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.624e-05/0.3109, allocations: 88.38 kB / 1.212 GB, free: 5.098 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.944e-05/0.311, allocations: 23.66 kB / 1.212 GB, free: 5.074 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.042e-05/0.311, allocations: 29.7 kB / 1.212 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.3111, allocations: 330.7 kB / 1.212 GB, free: 4.707 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.305e-05/0.3112, allocations: 31.98 kB / 1.212 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001151/0.3113, allocations: 75.67 kB / 1.212 GB, free: 4.582 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/0.3115, allocations: 109.9 kB / 1.212 GB, free: 4.453 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.3115, allocations: 4 kB / 1.212 GB, free: 4.449 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002581/0.3118, allocations: 133.6 kB / 1.213 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.3118, allocations: 16.02 kB / 1.213 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.972e-06/0.3118, allocations: 0 / 1.213 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.3119, allocations: 4 kB / 1.213 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.54e-05/0.312, allocations: 15.94 kB / 1.213 GB, free: 4.277 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.312, allocations: 3.984 kB / 1.213 GB, free: 4.273 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.006e-05/0.3121, allocations: 8 kB / 1.213 GB, free: 4.266 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.3121, allocations: 8 kB / 1.213 GB, free: 4.258 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 0.0001039/0.3122, allocations: 129.7 kB / 1.213 GB, free: 4.121 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.244e-05/0.3122, allocations: 7.906 kB / 1.213 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.333e-05/0.3123, allocations: 16.36 kB / 1.213 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.3123, allocations: 0 / 1.213 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.3123, allocations: 0 / 1.213 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.3123, allocations: 0 / 1.213 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005422/0.3128, allocations: 442.6 kB / 1.213 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3128, allocations: 0 / 1.213 GB, free: 3.605 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.249e-05/0.3129, allocations: 7.984 kB / 1.213 GB, free: 3.598 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.3129, allocations: 4 kB / 1.213 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.3129, allocations: 0 / 1.213 GB, free: 3.594 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.3129, allocations: 4 kB / 1.213 GB, free: 3.59 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.3129, allocations: 3.938 kB / 1.213 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003242/0.3133, allocations: 243.3 kB / 1.213 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.213e-05/0.3133, allocations: 85.02 kB / 1.214 GB, free: 3.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.3133, allocations: 4 kB / 1.214 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.3135, allocations: 11.98 kB / 1.214 GB, free: 3.215 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.974e-05/0.3135, allocations: 11.92 kB / 1.214 GB, free: 3.203 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.3135, allocations: 4 kB / 1.214 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.477e-05/0.3136, allocations: 101.4 kB / 1.214 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3136, allocations: 0 / 1.214 GB, free: 3.102 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003295/0.3139, allocations: 43.98 kB / 1.214 GB, free: 3.059 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.0008822/0.3148, allocations: 0.8416 MB / 1.215 GB, free: 2.203 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002613/0.3151, allocations: 88.34 kB / 1.215 GB, free: 2.117 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.3151, allocations: 8 kB / 1.215 GB, free: 2.109 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001147/0.3152, allocations: 43.92 kB / 1.215 GB, free: 2.066 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003005/0.3155, allocations: 26.02 kB / 1.215 GB, free: 2.043 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.3173, allocations: 1.586 MB / 1.216 GB, free: 352 kB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/0.3176, allocations: 0.6924 MB / 1.217 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.098e-05/0.3176, allocations: 4 kB / 1.217 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.842e-05/0.3177, allocations: 30.55 kB / 1.217 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of SimCode: time 5.11e-07/0.3177, allocations: 0 / 1.217 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.019/0.3367, allocations: 3.027 MB / 1.22 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.754/8.09, allocations: 5.359 kB / 1.22 GB, free: 12.72 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat --tempDir=temp_Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.fmu > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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