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: 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_10_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_10_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.001714/0.001714, allocations: 106 kB / 15.99 MB, free: 6.352 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.001879/0.001879, allocations: 193.2 kB / 16.91 MB, free: 6.195 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.408/1.408, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.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.527/2.527, allocations: 437.1 MB / 0.7107 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002028/0.002028, allocations: 68.23 kB / 0.8694 GB, free: 2.562 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2945/0.2966, allocations: 151.6 MB / 1.017 GB, free: 11 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.003681/0.3003, allocations: 1.565 MB / 1.019 GB, free: 9.418 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001521/0.3019, allocations: 0.7556 MB / 1.02 GB, free: 8.656 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.593e-05/0.3019, allocations: 4 kB / 1.02 GB, free: 8.652 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.796e-05/0.302, allocations: 3.938 kB / 1.02 GB, free: 8.648 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 8.124e-05/0.3021, allocations: 7.922 kB / 1.02 GB, free: 8.641 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005773/0.3027, allocations: 115.8 kB / 1.02 GB, free: 8.527 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.3028, allocations: 87.77 kB / 1.02 GB, free: 8.441 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 9.854e-05/0.3029, allocations: 15.98 kB / 1.02 GB, free: 8.426 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.303, allocations: 39.84 kB / 1.02 GB, free: 8.387 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 8.278e-05/0.3031, allocations: 47.83 kB / 1.02 GB, free: 8.34 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 2.031e-05/0.3031, allocations: 8 kB / 1.02 GB, free: 8.332 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002176/0.3034, allocations: 103.8 kB / 1.02 GB, free: 8.23 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 2.806e-05/0.3034, allocations: 11.98 kB / 1.02 GB, free: 8.219 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 5.887e-05/0.3035, allocations: 43.8 kB / 1.02 GB, free: 8.176 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0001939/0.3037, allocations: 112 kB / 1.02 GB, free: 8.066 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.3037, allocations: 0 / 1.02 GB, free: 8.066 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.303e-06/0.3037, allocations: 0 / 1.02 GB, free: 8.066 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.3037, allocations: 0 / 1.02 GB, free: 8.066 MB / 0.795 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.000699/0.3044, allocations: 462.5 kB / 1.021 GB, free: 7.555 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.3044, allocations: 8.625 kB / 1.021 GB, free: 7.547 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.627e-05/0.3045, allocations: 8.844 kB / 1.021 GB, free: 7.539 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001438/0.3046, allocations: 172.8 kB / 1.021 GB, free: 7.332 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.711e-05/0.3047, allocations: 16.3 kB / 1.021 GB, free: 7.316 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.434e-05/0.3047, allocations: 4.375 kB / 1.021 GB, free: 7.312 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002352/0.305, allocations: 89.95 kB / 1.021 GB, free: 7.219 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.305, allocations: 0 / 1.021 GB, free: 7.219 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.736e-05/0.305, allocations: 3.984 kB / 1.021 GB, free: 7.215 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.105e-06/0.305, allocations: 0 / 1.021 GB, free: 7.215 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001537/0.3052, allocations: 43.97 kB / 1.021 GB, free: 7.172 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006797/0.3059, allocations: 336.5 kB / 1.021 GB, free: 6.793 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001784/0.3061, allocations: 66.55 kB / 1.021 GB, free: 6.719 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.3062, allocations: 44.78 kB / 1.022 GB, free: 6.672 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.291e-05/0.3062, allocations: 0 / 1.022 GB, free: 6.672 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002724/0.3065, allocations: 99.39 kB / 1.022 GB, free: 6.562 MB / 0.795 GB Notification: Performance of pre-optimization done (n=9): time 1.392e-06/0.3065, allocations: 0 / 1.022 GB, free: 6.562 MB / 0.795 GB Notification: Performance of matching and sorting (n=9): time 0.0005137/0.307, allocations: 185.5 kB / 1.022 GB, free: 6.375 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.745e-05/0.3071, allocations: 55.41 kB / 1.022 GB, free: 6.309 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001313/0.3072, allocations: 129.1 kB / 1.022 GB, free: 6.176 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.171e-05/0.3072, allocations: 25.7 kB / 1.022 GB, free: 6.145 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 7.128e-05/0.3073, allocations: 104.3 kB / 1.022 GB, free: 6.035 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.674e-05/0.3074, allocations: 19.95 kB / 1.022 GB, free: 6.016 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.513e-05/0.3074, allocations: 37.64 kB / 1.022 GB, free: 5.973 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.3076, allocations: 322.8 kB / 1.022 GB, free: 5.648 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.667e-05/0.3077, allocations: 27.98 kB / 1.022 GB, free: 5.621 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001188/0.3078, allocations: 76.23 kB / 1.023 GB, free: 5.527 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002094/0.308, allocations: 117.8 kB / 1.023 GB, free: 5.391 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.308, allocations: 0 / 1.023 GB, free: 5.391 MB / 0.795 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002768/0.3083, allocations: 133.4 kB / 1.023 GB, free: 5.254 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.592e-05/0.3083, allocations: 8 kB / 1.023 GB, free: 5.246 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.3084, allocations: 0 / 1.023 GB, free: 5.246 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.3084, allocations: 4 kB / 1.023 GB, free: 5.242 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001012/0.3085, allocations: 19.92 kB / 1.023 GB, free: 5.223 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.3085, allocations: 4.156 kB / 1.023 GB, free: 5.219 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.875e-05/0.3086, allocations: 15.89 kB / 1.023 GB, free: 5.203 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.3086, allocations: 8 kB / 1.023 GB, free: 5.195 MB / 0.795 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.0001222/0.3087, allocations: 131.7 kB / 1.023 GB, free: 5.059 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.3088, allocations: 7.906 kB / 1.023 GB, free: 5.051 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.219e-05/0.3088, allocations: 8.375 kB / 1.023 GB, free: 5.039 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.3088, allocations: 3.984 kB / 1.023 GB, free: 5.035 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.3088, allocations: 4.375 kB / 1.023 GB, free: 5.031 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.3088, allocations: 4 kB / 1.023 GB, free: 5.027 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006137/0.3094, allocations: 426.3 kB / 1.023 GB, free: 4.555 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.3095, allocations: 4 kB / 1.023 GB, free: 4.551 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.041e-05/0.3095, allocations: 4 kB / 1.023 GB, free: 4.547 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.3095, allocations: 0 / 1.023 GB, free: 4.547 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.3095, allocations: 11.98 kB / 1.023 GB, free: 4.535 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.3095, allocations: 0 / 1.023 GB, free: 4.535 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-06/0.3095, allocations: 3.938 kB / 1.023 GB, free: 4.531 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003891/0.3099, allocations: 251.3 kB / 1.024 GB, free: 4.27 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 5.143e-05/0.31, allocations: 81.02 kB / 1.024 GB, free: 4.172 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.815e-05/0.31, allocations: 4 kB / 1.024 GB, free: 4.168 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001031/0.3101, allocations: 7.984 kB / 1.024 GB, free: 4.16 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.54e-05/0.3102, allocations: 7.938 kB / 1.024 GB, free: 4.152 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.553e-05/0.3102, allocations: 7.984 kB / 1.024 GB, free: 4.145 MB / 0.795 GB Notification: Performance of sorting global known variables: time 7.774e-05/0.3103, allocations: 103.3 kB / 1.024 GB, free: 4.043 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3103, allocations: 0 / 1.024 GB, free: 4.043 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003358/0.3107, allocations: 36 kB / 1.024 GB, free: 4.008 MB / 0.795 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.0004161/0.3111, allocations: 179.7 kB / 1.024 GB, free: 3.84 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002826/0.3114, allocations: 99.83 kB / 1.024 GB, free: 3.742 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3114, allocations: 0 / 1.024 GB, free: 3.742 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001382/0.3115, allocations: 47.98 kB / 1.024 GB, free: 3.695 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002938/0.3118, allocations: 15.98 kB / 1.024 GB, free: 3.68 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005183/0.3124, allocations: 237.7 kB / 1.024 GB, free: 3.414 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003361/0.3127, allocations: 0.6885 MB / 1.025 GB, free: 2.699 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.05e-05/0.3127, allocations: 11.44 kB / 1.025 GB, free: 2.691 MB / 0.795 GB Notification: Performance of SimCode: time 2.4e-07/0.3128, allocations: 0 / 1.025 GB, free: 2.691 MB / 0.795 GB Notification: Performance of Templates: time 0.003985/0.3167, allocations: 1.78 MB / 1.027 GB, free: 0.9141 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile (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 & ./Buildings_10_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > 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) Reference file matches