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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001413/0.001413, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001659/0.001659, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.387/1.387, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.817/2.817, allocations: 472.6 MB / 0.7451 GB, free: 4.602 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 68.53 kB / 0.9121 GB, free: 33.4 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3248, allocations: 159.9 MB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.00264/0.3275, allocations: 1.495 MB / 1.07 GB, free: 8.863 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001204/0.3287, allocations: 0.7517 MB / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.062e-05/0.3288, allocations: 0 / 1.07 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.039e-05/0.3289, allocations: 7.875 kB / 1.07 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.177e-05/0.3289, allocations: 19.86 kB / 1.07 GB, free: 8.078 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004874/0.3294, allocations: 131.5 kB / 1.071 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001122/0.3296, allocations: 83.83 kB / 1.071 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.052e-05/0.3297, allocations: 19.97 kB / 1.071 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.655e-05/0.3297, allocations: 43.8 kB / 1.071 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.695e-05/0.3298, allocations: 51.81 kB / 1.071 GB, free: 7.754 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.246e-05/0.3299, allocations: 8 kB / 1.071 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001923/0.3301, allocations: 91.91 kB / 1.071 GB, free: 7.656 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.883e-05/0.3301, allocations: 19.97 kB / 1.071 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.597e-05/0.3302, allocations: 47.73 kB / 1.071 GB, free: 7.59 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002306/0.3304, allocations: 151.9 kB / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3304, allocations: 0 / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3304, allocations: 0 / 1.071 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.816e-06/0.3304, allocations: 0 / 1.071 GB, free: 7.441 MB / 0.8262 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.0005927/0.331, allocations: 466.5 kB / 1.072 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.213e-05/0.3311, allocations: 8.031 kB / 1.072 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.612e-05/0.3311, allocations: 16.83 kB / 1.072 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001125/0.3312, allocations: 168.3 kB / 1.072 GB, free: 6.699 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.776e-05/0.3313, allocations: 8.375 kB / 1.072 GB, free: 6.691 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/0.3313, allocations: 4.375 kB / 1.072 GB, free: 6.688 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002096/0.3315, allocations: 93.88 kB / 1.072 GB, free: 6.59 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.326e-06/0.3315, allocations: 4 kB / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.3316, allocations: 0 / 1.072 GB, free: 6.586 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.386e-06/0.3316, allocations: 11.98 kB / 1.072 GB, free: 6.574 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000161/0.3317, allocations: 43.97 kB / 1.072 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005142/0.3323, allocations: 320.6 kB / 1.072 GB, free: 6.168 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.3324, allocations: 66.55 kB / 1.072 GB, free: 6.094 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.3326, allocations: 52.98 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.3326, allocations: 3.984 kB / 1.072 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002145/0.3328, allocations: 95.39 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.674e-06/0.3328, allocations: 3.938 kB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0004963/0.3333, allocations: 185.5 kB / 1.073 GB, free: 5.738 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.651e-05/0.3334, allocations: 59.41 kB / 1.073 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001076/0.3335, allocations: 132.1 kB / 1.073 GB, free: 5.531 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.3335, allocations: 33.7 kB / 1.073 GB, free: 5.492 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.895e-05/0.3336, allocations: 84.38 kB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.265e-05/0.3336, allocations: 19.8 kB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.02e-05/0.3337, allocations: 37.64 kB / 1.073 GB, free: 5.34 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.3338, allocations: 318.8 kB / 1.073 GB, free: 5.02 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.348e-05/0.3339, allocations: 35.97 kB / 1.073 GB, free: 4.984 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.334, allocations: 70 kB / 1.073 GB, free: 4.895 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.3342, allocations: 109.9 kB / 1.073 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.3342, allocations: 0 / 1.073 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002637/0.3344, allocations: 141.4 kB / 1.074 GB, free: 4.621 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.3345, allocations: 10.03 kB / 1.074 GB, free: 4.613 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.3345, allocations: 4 kB / 1.074 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.3345, allocations: 0 / 1.074 GB, free: 4.609 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.566e-05/0.3346, allocations: 19.92 kB / 1.074 GB, free: 4.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.3346, allocations: 4 kB / 1.074 GB, free: 4.586 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.772e-05/0.3347, allocations: 7.906 kB / 1.074 GB, free: 4.578 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/0.3347, allocations: 8 kB / 1.074 GB, free: 4.57 MB / 0.8262 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.0001016/0.3348, allocations: 133.3 kB / 1.074 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.178e-05/0.3348, allocations: 15.84 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.558e-05/0.3349, allocations: 8.375 kB / 1.074 GB, free: 4.41 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.3349, allocations: 4 kB / 1.074 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.3349, allocations: 0 / 1.074 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.3349, allocations: 0 / 1.074 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005374/0.3354, allocations: 434.7 kB / 1.074 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.3355, allocations: 0 / 1.074 GB, free: 3.926 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.386e-05/0.3355, allocations: 7.984 kB / 1.074 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3355, allocations: 4.094 kB / 1.074 GB, free: 3.914 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.3355, allocations: 4.078 kB / 1.074 GB, free: 3.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3355, allocations: 3.938 kB / 1.074 GB, free: 3.906 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.3355, allocations: 7.922 kB / 1.074 GB, free: 3.898 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003471/0.3359, allocations: 243.3 kB / 1.074 GB, free: 3.645 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.763e-05/0.3359, allocations: 85 kB / 1.074 GB, free: 3.543 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.785e-05/0.336, allocations: 8 kB / 1.075 GB, free: 3.535 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.3361, allocations: 12 kB / 1.075 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.051e-05/0.3361, allocations: 7.922 kB / 1.075 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.081e-05/0.3362, allocations: 4 kB / 1.075 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.275e-05/0.3362, allocations: 99.27 kB / 1.075 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3362, allocations: 0 / 1.075 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000315/0.3365, allocations: 43.98 kB / 1.075 GB, free: 3.371 MB / 0.8262 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.0003288/0.3369, allocations: 160.8 kB / 1.075 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002855/0.3372, allocations: 99.92 kB / 1.075 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3372, allocations: 0 / 1.075 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001238/0.3373, allocations: 51.91 kB / 1.075 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.3376, allocations: 21.86 kB / 1.075 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004228/0.338, allocations: 187.5 kB / 1.075 GB, free: 2.84 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002652/0.3383, allocations: 0.6924 MB / 1.076 GB, free: 2.121 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.78e-05/0.3384, allocations: 8 kB / 1.076 GB, free: 2.113 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.504e-05/0.3384, allocations: 15.38 kB / 1.076 GB, free: 2.098 MB / 0.8262 GB Notification: Performance of SimCode: time 2.31e-07/0.3384, allocations: 0 / 1.076 GB, free: 2.098 MB / 0.8262 GB Notification: Performance of Templates: time 0.00492/0.3433, allocations: 1.693 MB / 1.078 GB, free: 436 kB / 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