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.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.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.008117/0.008117, allocations: 101 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.001789/0.001789, allocations: 192.7 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.327/1.327, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.658/2.658, allocations: 461.9 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 63.27 kB / 0.899 GB, free: 37.06 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2913/0.2926, allocations: 157.4 MB / 1.053 GB, free: 8.336 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002875/0.2956, allocations: 1.56 MB / 1.054 GB, free: 6.762 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001361/0.2969, allocations: 0.7633 MB / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.967e-05/0.297, allocations: 0 / 1.055 GB, free: 5.992 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.942e-05/0.2971, allocations: 3.938 kB / 1.055 GB, free: 5.988 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.846e-05/0.2972, allocations: 11.94 kB / 1.055 GB, free: 5.977 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005013/0.2977, allocations: 111.8 kB / 1.055 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001151/0.2978, allocations: 83.72 kB / 1.055 GB, free: 5.785 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.666e-05/0.2979, allocations: 15.97 kB / 1.055 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.933e-05/0.298, allocations: 31.92 kB / 1.055 GB, free: 5.738 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.749e-05/0.2981, allocations: 47.81 kB / 1.055 GB, free: 5.691 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.11e-05/0.2981, allocations: 8 kB / 1.055 GB, free: 5.684 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000215/0.2983, allocations: 95.84 kB / 1.055 GB, free: 5.59 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.875e-05/0.2984, allocations: 11.92 kB / 1.055 GB, free: 5.578 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.268e-05/0.2984, allocations: 35.86 kB / 1.055 GB, free: 5.543 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001965/0.2986, allocations: 120 kB / 1.056 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.2987, allocations: 4 kB / 1.056 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.372e-06/0.2987, allocations: 0 / 1.056 GB, free: 5.422 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.228e-06/0.2987, allocations: 0 / 1.056 GB, free: 5.422 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.0006639/0.2993, allocations: 450.7 kB / 1.056 GB, free: 4.922 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.2994, allocations: 8.031 kB / 1.056 GB, free: 4.914 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.048e-05/0.2994, allocations: 12.84 kB / 1.056 GB, free: 4.902 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001191/0.2996, allocations: 179.1 kB / 1.056 GB, free: 4.691 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.847e-05/0.2996, allocations: 8.375 kB / 1.056 GB, free: 4.684 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.2996, allocations: 12.31 kB / 1.056 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002209/0.2999, allocations: 89.94 kB / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.2999, allocations: 0 / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.2999, allocations: 0 / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.2999, allocations: 0 / 1.056 GB, free: 4.578 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001534/0.3001, allocations: 51.91 kB / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005692/0.3006, allocations: 328.6 kB / 1.057 GB, free: 4.156 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000165/0.3008, allocations: 66.55 kB / 1.057 GB, free: 4.082 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.3009, allocations: 48.83 kB / 1.057 GB, free: 4.031 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.301, allocations: 3.984 kB / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002461/0.3012, allocations: 95.39 kB / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.412e-06/0.3012, allocations: 0 / 1.057 GB, free: 3.922 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0004994/0.3017, allocations: 185.5 kB / 1.057 GB, free: 3.734 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.628e-05/0.3018, allocations: 59.41 kB / 1.057 GB, free: 3.664 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001027/0.3019, allocations: 129.8 kB / 1.057 GB, free: 3.527 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.3019, allocations: 29.7 kB / 1.057 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.152e-05/0.302, allocations: 96.22 kB / 1.057 GB, free: 3.391 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.302, allocations: 23.94 kB / 1.057 GB, free: 3.367 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.988e-05/0.3021, allocations: 33.64 kB / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001158/0.3022, allocations: 326.8 kB / 1.058 GB, free: 3 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.25e-05/0.3023, allocations: 27.97 kB / 1.058 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.3024, allocations: 73.94 kB / 1.058 GB, free: 2.879 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001918/0.3026, allocations: 114.3 kB / 1.058 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3026, allocations: 0 / 1.058 GB, free: 2.746 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000254/0.3029, allocations: 129.4 kB / 1.058 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.716e-05/0.3029, allocations: 9.719 kB / 1.058 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.3029, allocations: 8.094 kB / 1.058 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.377e-05/0.3029, allocations: 7.938 kB / 1.058 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.293e-05/0.303, allocations: 15.98 kB / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.303, allocations: 0 / 1.058 GB, free: 2.574 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.914e-05/0.3031, allocations: 15.91 kB / 1.058 GB, free: 2.559 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.3031, allocations: 4 kB / 1.058 GB, free: 2.555 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.862e-05/0.3032, allocations: 125.7 kB / 1.058 GB, free: 2.422 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.037e-05/0.3032, allocations: 11.89 kB / 1.058 GB, free: 2.41 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.768e-05/0.3033, allocations: 16.38 kB / 1.058 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.3033, allocations: 0 / 1.058 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.337e-06/0.3033, allocations: 0 / 1.058 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3033, allocations: 0 / 1.058 GB, free: 2.395 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005282/0.3038, allocations: 430.4 kB / 1.059 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3038, allocations: 0 / 1.059 GB, free: 1.918 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.216e-05/0.3039, allocations: 7.984 kB / 1.059 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.3039, allocations: 0 / 1.059 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.484e-05/0.3039, allocations: 8 kB / 1.059 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.3039, allocations: 0 / 1.059 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/0.3039, allocations: 3.938 kB / 1.059 GB, free: 1.898 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003652/0.3043, allocations: 243.3 kB / 1.059 GB, free: 1.645 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.699e-05/0.3044, allocations: 85.02 kB / 1.059 GB, free: 1.543 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.157e-05/0.3044, allocations: 11.98 kB / 1.059 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.3045, allocations: 4 kB / 1.059 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.959e-05/0.3045, allocations: 15.92 kB / 1.059 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.3046, allocations: 7.938 kB / 1.059 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.871e-05/0.3046, allocations: 95.27 kB / 1.059 GB, free: 1.41 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3046, allocations: 3.938 kB / 1.059 GB, free: 1.406 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003087/0.3049, allocations: 43.98 kB / 1.059 GB, free: 1.363 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.0003171/0.3053, allocations: 167.8 kB / 1.059 GB, free: 1.207 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002517/0.3055, allocations: 87.89 kB / 1.059 GB, free: 1.121 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3055, allocations: 3.938 kB / 1.059 GB, free: 1.117 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.3057, allocations: 51.97 kB / 1.059 GB, free: 1.066 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002762/0.306, allocations: 8.297 kB / 1.059 GB, free: 1.059 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004314/0.3064, allocations: 239.1 kB / 1.06 GB, free: 0.793 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002488/0.3067, allocations: 0.6965 MB / 1.06 GB, free: 72 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.022e-05/0.3067, allocations: 11.44 kB / 1.06 GB, free: 60 kB / 0.8106 GB Notification: Performance of SimCode: time 2.6e-07/0.3067, allocations: 4 kB / 1.06 GB, free: 56 kB / 0.8106 GB Notification: Performance of Templates: time 0.003651/0.3104, allocations: 1.771 MB / 1.062 GB, free: 14.29 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/jenkins1/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