Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") translateModel(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006516/0.006516, allocations: 100.8 kB / 15.87 MB, free: 5.867 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.001669/0.001669, allocations: 195.8 kB / 16.79 MB, free: 5.809 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.355/1.355, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.694/2.694, allocations: 461.9 MB / 0.7348 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002494/0.002494, allocations: 64.38 kB / 0.899 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2758/0.2783, allocations: 157.4 MB / 1.053 GB, free: 8.301 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002914/0.2813, allocations: 1.556 MB / 1.054 GB, free: 6.73 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001331/0.2827, allocations: 0.7633 MB / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.38e-05/0.2827, allocations: 0 / 1.055 GB, free: 5.961 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.644e-05/0.2828, allocations: 3.938 kB / 1.055 GB, free: 5.957 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.737e-05/0.2829, allocations: 19.84 kB / 1.055 GB, free: 5.938 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005371/0.2834, allocations: 107.8 kB / 1.055 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001224/0.2836, allocations: 87.77 kB / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.966e-05/0.2837, allocations: 11.94 kB / 1.055 GB, free: 5.734 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.814e-05/0.2838, allocations: 39.89 kB / 1.055 GB, free: 5.695 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.786e-05/0.2838, allocations: 35.84 kB / 1.055 GB, free: 5.66 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.2839, allocations: 8 kB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001993/0.2841, allocations: 87.84 kB / 1.055 GB, free: 5.566 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.425e-05/0.2841, allocations: 31.89 kB / 1.055 GB, free: 5.535 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.658e-05/0.2842, allocations: 31.86 kB / 1.055 GB, free: 5.504 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.2844, allocations: 116 kB / 1.056 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.2844, allocations: 0 / 1.056 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2844, allocations: 0 / 1.056 GB, free: 5.391 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.2844, allocations: 0 / 1.056 GB, free: 5.391 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.0006855/0.2851, allocations: 450.7 kB / 1.056 GB, free: 4.891 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.124e-05/0.2851, allocations: 19.95 kB / 1.056 GB, free: 4.871 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.647e-05/0.2852, allocations: 12.84 kB / 1.056 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001221/0.2853, allocations: 176.3 kB / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.695e-05/0.2854, allocations: 4.375 kB / 1.056 GB, free: 4.645 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.289e-05/0.2854, allocations: 4.375 kB / 1.056 GB, free: 4.641 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002291/0.2856, allocations: 93.88 kB / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.2856, allocations: 0 / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/0.2857, allocations: 4 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.2857, allocations: 0 / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001577/0.2858, allocations: 43.97 kB / 1.056 GB, free: 4.496 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000564/0.2864, allocations: 336.6 kB / 1.057 GB, free: 4.117 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001608/0.2866, allocations: 62.59 kB / 1.057 GB, free: 4.047 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001064/0.2867, allocations: 44.83 kB / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.356e-05/0.2867, allocations: 8 kB / 1.057 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002478/0.287, allocations: 95.3 kB / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.393e-06/0.287, allocations: 0 / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0004948/0.2875, allocations: 185.5 kB / 1.057 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.2875, allocations: 63.28 kB / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.2876, allocations: 128.7 kB / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.2877, allocations: 37.7 kB / 1.057 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.19e-05/0.2877, allocations: 96.28 kB / 1.057 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.035e-05/0.2877, allocations: 15.8 kB / 1.057 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.157e-05/0.2878, allocations: 37.64 kB / 1.057 GB, free: 3.289 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001191/0.2879, allocations: 322.8 kB / 1.058 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.522e-05/0.288, allocations: 27.97 kB / 1.058 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001071/0.2881, allocations: 75.12 kB / 1.058 GB, free: 2.844 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001947/0.2883, allocations: 109.9 kB / 1.058 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.2883, allocations: 0 / 1.058 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002699/0.2886, allocations: 133.4 kB / 1.058 GB, free: 2.578 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.501e-05/0.2886, allocations: 4 kB / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.65e-06/0.2887, allocations: 4 kB / 1.058 GB, free: 2.57 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.2887, allocations: 4 kB / 1.058 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001003/0.2888, allocations: 24.08 kB / 1.058 GB, free: 2.543 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.774e-06/0.2888, allocations: 4 kB / 1.058 GB, free: 2.539 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.12e-05/0.2889, allocations: 11.91 kB / 1.058 GB, free: 2.527 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.2889, allocations: 4 kB / 1.058 GB, free: 2.523 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 9.259e-05/0.289, allocations: 133.7 kB / 1.058 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.297e-05/0.289, allocations: 7.906 kB / 1.058 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.848e-05/0.2891, allocations: 8.469 kB / 1.058 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.2891, allocations: 7.984 kB / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.2891, allocations: 0 / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.2891, allocations: 0 / 1.058 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005381/0.2896, allocations: 438.8 kB / 1.059 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.2896, allocations: 0 / 1.059 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.278e-05/0.2897, allocations: 8.078 kB / 1.059 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.2897, allocations: 3.938 kB / 1.059 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.357e-05/0.2897, allocations: 0 / 1.059 GB, free: 1.863 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.2897, allocations: 4 kB / 1.059 GB, free: 1.859 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.2897, allocations: 7.938 kB / 1.059 GB, free: 1.852 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003441/0.2901, allocations: 247.3 kB / 1.059 GB, free: 1.594 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.667e-05/0.2901, allocations: 85.02 kB / 1.059 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.712e-05/0.2902, allocations: 3.984 kB / 1.059 GB, free: 1.488 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.2903, allocations: 8 kB / 1.059 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.726e-05/0.2903, allocations: 15.86 kB / 1.059 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.137e-05/0.2903, allocations: 4 kB / 1.059 GB, free: 1.461 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.9e-05/0.2904, allocations: 95.27 kB / 1.059 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2904, allocations: 0 / 1.059 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003136/0.2907, allocations: 43.98 kB / 1.059 GB, free: 1.324 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.0003265/0.2911, allocations: 154.6 kB / 1.059 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000265/0.2913, allocations: 103.9 kB / 1.059 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2914, allocations: 0 / 1.059 GB, free: 1.078 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001197/0.2915, allocations: 47.91 kB / 1.059 GB, free: 1.031 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002748/0.2918, allocations: 12 kB / 1.059 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000482/0.2922, allocations: 248 kB / 1.06 GB, free: 0.7461 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/0.2925, allocations: 0.6887 MB / 1.06 GB, free: 32 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.202e-05/0.2926, allocations: 11.44 kB / 1.06 GB, free: 20 kB / 0.8106 GB Notification: Performance of SimCode: time 3.51e-07/0.2926, allocations: 7.938 kB / 1.06 GB, free: 12 kB / 0.8106 GB Notification: Performance of Templates: time 0.003686/0.2963, allocations: 1.781 MB / 1.062 GB, free: 14.23 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches