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.001394/0.001394, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001553/0.001553, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.412/1.412, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.717/2.717, allocations: 461.9 MB / 0.7343 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001327/0.001327, allocations: 61.42 kB / 0.8986 GB, free: 37.21 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.325/0.3263, allocations: 157.4 MB / 1.052 GB, free: 8.734 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002894/0.3293, allocations: 1.562 MB / 1.054 GB, free: 7.16 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001329/0.3306, allocations: 0.7554 MB / 1.055 GB, free: 6.398 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.982e-05/0.3307, allocations: 7.938 kB / 1.055 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.505e-05/0.3307, allocations: 0 / 1.055 GB, free: 6.391 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.5e-05/0.3308, allocations: 15.84 kB / 1.055 GB, free: 6.375 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005962/0.3315, allocations: 115.8 kB / 1.055 GB, free: 6.262 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.3316, allocations: 87.77 kB / 1.055 GB, free: 6.176 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.002e-05/0.3317, allocations: 8 kB / 1.055 GB, free: 6.168 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.3318, allocations: 55.83 kB / 1.055 GB, free: 6.113 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.163e-05/0.3319, allocations: 35.84 kB / 1.055 GB, free: 6.078 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.023e-05/0.3319, allocations: 8 kB / 1.055 GB, free: 6.07 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001925/0.3321, allocations: 99.84 kB / 1.055 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.149e-05/0.3322, allocations: 27.89 kB / 1.055 GB, free: 5.945 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.262e-05/0.3322, allocations: 39.86 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000241/0.3325, allocations: 143.9 kB / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.3325, allocations: 0 / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.076e-06/0.3325, allocations: 0 / 1.055 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.3325, allocations: 7.938 kB / 1.055 GB, free: 5.758 MB / 0.8106 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.0006279/0.3331, allocations: 458.6 kB / 1.056 GB, free: 5.25 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.3332, allocations: 8.625 kB / 1.056 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.172e-05/0.3332, allocations: 12.84 kB / 1.056 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.3334, allocations: 172.3 kB / 1.056 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.018e-05/0.3334, allocations: 8.375 kB / 1.056 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.374e-05/0.3334, allocations: 8.359 kB / 1.056 GB, free: 5.008 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002403/0.3337, allocations: 97.88 kB / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.3337, allocations: 0 / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.617e-05/0.3337, allocations: 0 / 1.056 GB, free: 4.906 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.3337, allocations: 4 kB / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000148/0.3339, allocations: 43.97 kB / 1.056 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00055/0.3344, allocations: 328.5 kB / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001928/0.3346, allocations: 66.56 kB / 1.056 GB, free: 4.414 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000102/0.3348, allocations: 44.83 kB / 1.056 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.939e-05/0.3348, allocations: 0 / 1.056 GB, free: 4.367 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002205/0.335, allocations: 99.33 kB / 1.056 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.433e-06/0.335, allocations: 0 / 1.056 GB, free: 4.258 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0004659/0.3355, allocations: 189.5 kB / 1.057 GB, free: 4.066 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.285e-05/0.3356, allocations: 55.41 kB / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.158e-05/0.3356, allocations: 128.8 kB / 1.057 GB, free: 3.867 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.223e-05/0.3357, allocations: 33.7 kB / 1.057 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.71e-05/0.3357, allocations: 92.27 kB / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.504e-05/0.3358, allocations: 19.95 kB / 1.057 GB, free: 3.711 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.293e-05/0.3358, allocations: 37.64 kB / 1.057 GB, free: 3.668 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.3359, allocations: 326.8 kB / 1.057 GB, free: 3.34 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.803e-05/0.336, allocations: 27.98 kB / 1.057 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.3361, allocations: 73.98 kB / 1.057 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.3363, allocations: 105.9 kB / 1.057 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.3363, allocations: 3.938 kB / 1.057 GB, free: 3.09 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002555/0.3366, allocations: 141.5 kB / 1.058 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.3366, allocations: 4 kB / 1.058 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.3366, allocations: 7.984 kB / 1.058 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.3366, allocations: 0 / 1.058 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.241e-05/0.3367, allocations: 19.92 kB / 1.058 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.3368, allocations: 4 kB / 1.058 GB, free: 2.91 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.783e-05/0.3368, allocations: 11.91 kB / 1.058 GB, free: 2.898 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.21e-05/0.3368, allocations: 4 kB / 1.058 GB, free: 2.895 MB / 0.8106 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.0001006/0.337, allocations: 137.8 kB / 1.058 GB, free: 2.75 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.183e-05/0.337, allocations: 7.906 kB / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.577e-05/0.337, allocations: 8.375 kB / 1.058 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.666e-06/0.337, allocations: 4.094 kB / 1.058 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.337, allocations: 0 / 1.058 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.337, allocations: 3.984 kB / 1.058 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005213/0.3376, allocations: 434.7 kB / 1.058 GB, free: 2.246 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3376, allocations: 4 kB / 1.058 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.007e-05/0.3376, allocations: 4.094 kB / 1.058 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.3376, allocations: 3.938 kB / 1.058 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.3377, allocations: 7.984 kB / 1.058 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3377, allocations: 0 / 1.058 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.3377, allocations: 3.938 kB / 1.058 GB, free: 2.223 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003392/0.338, allocations: 247.3 kB / 1.059 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.201e-05/0.3381, allocations: 85.02 kB / 1.059 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.634e-05/0.3381, allocations: 8 kB / 1.059 GB, free: 1.855 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.3382, allocations: 4 kB / 1.059 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.24e-05/0.3382, allocations: 7.922 kB / 1.059 GB, free: 1.844 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.201e-05/0.3383, allocations: 7.984 kB / 1.059 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.32e-05/0.3383, allocations: 103.3 kB / 1.059 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3383, allocations: 0 / 1.059 GB, free: 1.734 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003167/0.3387, allocations: 40 kB / 1.059 GB, free: 1.695 MB / 0.8106 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.0003207/0.339, allocations: 163.3 kB / 1.059 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002684/0.3393, allocations: 99.92 kB / 1.059 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.3393, allocations: 0 / 1.059 GB, free: 1.445 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001298/0.3394, allocations: 52.22 kB / 1.059 GB, free: 1.395 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.3397, allocations: 15.98 kB / 1.059 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004175/0.3401, allocations: 211.8 kB / 1.059 GB, free: 1.148 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002678/0.3404, allocations: 0.7 MB / 1.06 GB, free: 432 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.048e-05/0.3404, allocations: 4 kB / 1.06 GB, free: 428 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.951e-05/0.3405, allocations: 15.42 kB / 1.06 GB, free: 412 kB / 0.8106 GB Notification: Performance of SimCode: time 2.31e-07/0.3405, allocations: 0 / 1.06 GB, free: 412 kB / 0.8106 GB Notification: Performance of Templates: time 0.004839/0.3453, allocations: 1.656 MB / 1.062 GB, free: 14.77 MB / 0.8262 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