Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.01108/0.01108, allocations: 98.11 kB / 15.73 MB, free: 6.023 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.002122/0.002122, allocations: 190.5 kB / 16.67 MB, free: 5.957 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.481/1.481, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.471/2.471, allocations: 390.2 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 61.31 kB / 0.9508 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2923/0.2935, allocations: 140.4 MB / 1.088 GB, free: 1.512 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002454/0.296, allocations: 1.501 MB / 1.089 GB, free: 15.99 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001297/0.2973, allocations: 0.7491 MB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.227e-05/0.2974, allocations: 0 / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.061e-05/0.2974, allocations: 3.938 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.616e-05/0.2975, allocations: 23.84 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005178/0.298, allocations: 127.5 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.2981, allocations: 87.83 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 8.605e-05/0.2982, allocations: 15.92 kB / 1.09 GB, free: 14.99 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000101/0.2983, allocations: 47.83 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.789e-05/0.2984, allocations: 47.83 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.354e-05/0.2985, allocations: 8 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001906/0.2987, allocations: 99.84 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 3.128e-05/0.2987, allocations: 23.91 kB / 1.091 GB, free: 14.77 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.887e-05/0.2988, allocations: 31.86 kB / 1.091 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000252/0.299, allocations: 159.4 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.299, allocations: 0 / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.363e-06/0.299, allocations: 0 / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.299, allocations: 0 / 1.091 GB, free: 14.58 MB / 0.8575 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.0006472/0.2997, allocations: 466.3 kB / 1.091 GB, free: 14.06 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.2997, allocations: 8.031 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.784e-05/0.2998, allocations: 8.891 kB / 1.091 GB, free: 14.05 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.2999, allocations: 187.2 kB / 1.091 GB, free: 13.83 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.366e-05/0.3, allocations: 4.375 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.3, allocations: 12.36 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002216/0.3002, allocations: 93.94 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.556e-06/0.3002, allocations: 0 / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.534e-05/0.3003, allocations: 0 / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.3003, allocations: 4 kB / 1.091 GB, free: 13.71 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001578/0.3004, allocations: 59.83 kB / 1.092 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005494/0.301, allocations: 312.7 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.3012, allocations: 66.55 kB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001092/0.3013, allocations: 48.84 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.905e-05/0.3014, allocations: 0 / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002362/0.3016, allocations: 91.39 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.3016, allocations: 0 / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of matching and sorting (n=9): time 0.0005185/0.3021, allocations: 189.5 kB / 1.092 GB, free: 12.88 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.87e-05/0.3022, allocations: 59.41 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.3023, allocations: 125.8 kB / 1.092 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.3023, allocations: 29.7 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.43e-05/0.3024, allocations: 92.36 kB / 1.093 GB, free: 12.54 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/0.3024, allocations: 31.88 kB / 1.093 GB, free: 12.51 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.236e-05/0.3025, allocations: 33.7 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.3026, allocations: 322.8 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.968e-05/0.3027, allocations: 27.98 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001063/0.3028, allocations: 73.98 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001971/0.303, allocations: 113.9 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.303, allocations: 0 / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002662/0.3033, allocations: 129.5 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.3033, allocations: 5.562 kB / 1.093 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.116e-06/0.3033, allocations: 4.156 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.3033, allocations: 4 kB / 1.093 GB, free: 11.75 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.845e-05/0.3034, allocations: 23.92 kB / 1.093 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.3034, allocations: 4 kB / 1.093 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.081e-05/0.3035, allocations: 15.88 kB / 1.093 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.192e-05/0.3035, allocations: 4 kB / 1.093 GB, free: 11.7 MB / 0.8575 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.000102/0.3037, allocations: 130.1 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.279e-05/0.3037, allocations: 7.953 kB / 1.093 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.793e-05/0.3037, allocations: 12.38 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.047e-06/0.3037, allocations: 4 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.3037, allocations: 3.938 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.733e-05/0.3038, allocations: 8.062 kB / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005621/0.3043, allocations: 422.4 kB / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/0.3043, allocations: 8 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.875e-05/0.3044, allocations: 0 / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3044, allocations: 4 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.52e-05/0.3044, allocations: 7.984 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3044, allocations: 0 / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.3044, allocations: 3.938 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003643/0.3048, allocations: 251.4 kB / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.675e-05/0.3049, allocations: 85 kB / 1.094 GB, free: 10.68 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.709e-05/0.3049, allocations: 4 kB / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.305, allocations: 7.984 kB / 1.094 GB, free: 10.66 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.333e-05/0.3051, allocations: 11.94 kB / 1.094 GB, free: 10.65 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.3051, allocations: 7.984 kB / 1.094 GB, free: 10.64 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.973e-05/0.3052, allocations: 95.27 kB / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.863e-06/0.3052, allocations: 0 / 1.094 GB, free: 10.55 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003143/0.3055, allocations: 43.88 kB / 1.094 GB, free: 10.51 MB / 0.8575 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.0003553/0.3059, allocations: 168 kB / 1.095 GB, free: 10.35 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002647/0.3061, allocations: 91.88 kB / 1.095 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.3061, allocations: 0 / 1.095 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.3063, allocations: 47.92 kB / 1.095 GB, free: 10.21 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.3066, allocations: 11.98 kB / 1.095 GB, free: 10.2 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004094/0.307, allocations: 215.4 kB / 1.095 GB, free: 9.969 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.3073, allocations: 0.6923 MB / 1.096 GB, free: 9.25 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.841e-05/0.3073, allocations: 4 kB / 1.096 GB, free: 9.246 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.724e-05/0.3074, allocations: 15.42 kB / 1.096 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.3074, allocations: 0 / 1.096 GB, free: 9.23 MB / 0.8575 GB Notification: Performance of Templates: time 0.004611/0.312, allocations: 1.702 MB / 1.097 GB, free: 7.535 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & ./Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches