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: translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.solarAltitude|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.solarAltitude|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005467/0.005467, allocations: 101.5 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.001243/0.001243, allocations: 188.6 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.409/1.409, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.819/2.819, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 67.89 kB / 1.054 GB, free: 7.152 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.3069, allocations: 157.4 MB / 1.208 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.003033/0.31, allocations: 1.507 MB / 1.209 GB, free: 8.133 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.00152/0.3115, allocations: 0.7521 MB / 1.21 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.62e-05/0.3117, allocations: 0 / 1.21 GB, free: 7.375 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.132e-05/0.3117, allocations: 7.875 kB / 1.21 GB, free: 7.367 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.973e-05/0.3118, allocations: 11.81 kB / 1.21 GB, free: 7.355 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.000697/0.3125, allocations: 135.6 kB / 1.21 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001613/0.3127, allocations: 95.75 kB / 1.21 GB, free: 7.129 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001115/0.3128, allocations: 4 kB / 1.21 GB, free: 7.125 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001256/0.313, allocations: 43.84 kB / 1.21 GB, free: 7.082 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.51e-05/0.3131, allocations: 47.83 kB / 1.21 GB, free: 7.035 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.465e-05/0.3131, allocations: 8 kB / 1.21 GB, free: 7.027 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002309/0.3133, allocations: 95.84 kB / 1.21 GB, free: 6.934 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 4.043e-05/0.3134, allocations: 23.97 kB / 1.21 GB, free: 6.91 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.994e-05/0.3135, allocations: 39.8 kB / 1.21 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0003023/0.3138, allocations: 163.5 kB / 1.211 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.3138, allocations: 3.938 kB / 1.211 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3138, allocations: 0 / 1.211 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.121e-05/0.3138, allocations: 0 / 1.211 GB, free: 6.707 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.0007391/0.3145, allocations: 458.5 kB / 1.211 GB, free: 6.199 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.3146, allocations: 12.61 kB / 1.211 GB, free: 6.188 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.541e-05/0.3147, allocations: 8.844 kB / 1.211 GB, free: 6.18 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.3148, allocations: 176.2 kB / 1.211 GB, free: 5.969 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.858e-05/0.3149, allocations: 4.375 kB / 1.211 GB, free: 5.965 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.26e-05/0.3149, allocations: 8.375 kB / 1.211 GB, free: 5.957 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002457/0.3152, allocations: 93.88 kB / 1.211 GB, free: 5.859 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.3152, allocations: 0 / 1.211 GB, free: 5.859 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.714e-05/0.3152, allocations: 4 kB / 1.211 GB, free: 5.855 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.3152, allocations: 0 / 1.211 GB, free: 5.855 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000228/0.3154, allocations: 43.97 kB / 1.211 GB, free: 5.812 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000641/0.3161, allocations: 328.7 kB / 1.212 GB, free: 5.441 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.3163, allocations: 66.59 kB / 1.212 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001599/0.3165, allocations: 44.83 kB / 1.212 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/0.3165, allocations: 0 / 1.212 GB, free: 5.32 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002219/0.3167, allocations: 99.27 kB / 1.212 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.643e-06/0.3167, allocations: 0 / 1.212 GB, free: 5.211 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0004908/0.3172, allocations: 185.5 kB / 1.212 GB, free: 5.023 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.3173, allocations: 51.41 kB / 1.212 GB, free: 4.961 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.3174, allocations: 136.5 kB / 1.212 GB, free: 4.82 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.3174, allocations: 33.64 kB / 1.212 GB, free: 4.781 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.451e-05/0.3175, allocations: 96.38 kB / 1.212 GB, free: 4.68 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.073e-05/0.3175, allocations: 19.8 kB / 1.212 GB, free: 4.66 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.446e-05/0.3176, allocations: 33.64 kB / 1.212 GB, free: 4.621 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.3177, allocations: 326.8 kB / 1.213 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.16e-05/0.3178, allocations: 24.36 kB / 1.213 GB, free: 4.27 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.318, allocations: 87.61 kB / 1.213 GB, free: 4.164 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002052/0.3182, allocations: 109.9 kB / 1.213 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.3182, allocations: 0 / 1.213 GB, free: 4.035 MB / 0.9669 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003271/0.3185, allocations: 141.2 kB / 1.213 GB, free: 3.891 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.3186, allocations: 8 kB / 1.213 GB, free: 3.883 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.3186, allocations: 4 kB / 1.213 GB, free: 3.879 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.535e-05/0.3186, allocations: 4 kB / 1.213 GB, free: 3.875 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.569e-05/0.3187, allocations: 15.98 kB / 1.213 GB, free: 3.859 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.325e-06/0.3187, allocations: 4.094 kB / 1.213 GB, free: 3.855 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.973e-05/0.3188, allocations: 16 kB / 1.213 GB, free: 3.84 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.326e-05/0.3188, allocations: 4 kB / 1.213 GB, free: 3.836 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.0001168/0.3189, allocations: 133.7 kB / 1.213 GB, free: 3.695 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.12e-05/0.3189, allocations: 7.906 kB / 1.213 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.714e-05/0.319, allocations: 8.375 kB / 1.213 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.319, allocations: 0 / 1.213 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.319, allocations: 0 / 1.213 GB, free: 3.676 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.319, allocations: 4 kB / 1.213 GB, free: 3.672 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006453/0.3197, allocations: 434.4 kB / 1.214 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.782e-06/0.3197, allocations: 3.984 kB / 1.214 GB, free: 3.188 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.988e-05/0.3197, allocations: 7.938 kB / 1.214 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.3197, allocations: 0 / 1.214 GB, free: 3.18 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.029e-05/0.3198, allocations: 7.984 kB / 1.214 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.3198, allocations: 0 / 1.214 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/0.3198, allocations: 3.938 kB / 1.214 GB, free: 3.168 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004765/0.3203, allocations: 251.3 kB / 1.214 GB, free: 2.906 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.457e-05/0.3203, allocations: 81.11 kB / 1.214 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.516e-05/0.3204, allocations: 0 / 1.214 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.407e-05/0.3205, allocations: 4 kB / 1.214 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.477e-05/0.3205, allocations: 15.92 kB / 1.214 GB, free: 2.789 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.3205, allocations: 7.984 kB / 1.214 GB, free: 2.781 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 7.028e-05/0.3206, allocations: 91.27 kB / 1.214 GB, free: 2.691 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.51e-07/0.3206, allocations: 8.188 kB / 1.214 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003371/0.321, allocations: 39.91 kB / 1.214 GB, free: 2.645 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.0004669/0.3214, allocations: 178.8 kB / 1.214 GB, free: 2.477 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003077/0.3218, allocations: 95.89 kB / 1.214 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.3218, allocations: 0 / 1.214 GB, free: 2.383 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001294/0.3219, allocations: 47.97 kB / 1.214 GB, free: 2.336 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.3222, allocations: 15.98 kB / 1.214 GB, free: 2.32 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005109/0.3227, allocations: 191.6 kB / 1.215 GB, free: 2.105 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003741/0.3231, allocations: 0.6926 MB / 1.215 GB, free: 1.387 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.148e-05/0.3232, allocations: 4 kB / 1.215 GB, free: 1.383 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.099e-05/0.3232, allocations: 15.62 kB / 1.215 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of SimCode: time 2.3e-07/0.3232, allocations: 0 / 1.215 GB, free: 1.367 MB / 0.9669 GB Notification: Performance of Templates: time 0.004946/0.3282, allocations: 1.744 MB / 1.217 GB, free: 15.64 MB / 0.9825 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile (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 & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches