Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_11_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_11_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.001307/0.001307, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001341/0.001341, allocations: 194.4 kB / 16.25 MB, free: 6.637 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.424/1.424, allocations: 222.9 MB / 239.9 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.82/2.82, allocations: 469.8 MB / 0.742 GB, free: 7.641 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001859/0.001859, allocations: 71.97 kB / 0.908 GB, free: 34.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3/0.3019, allocations: 159.2 MB / 1.063 GB, free: 14.63 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.003/0.3049, allocations: 1.567 MB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001269/0.3062, allocations: 0.7363 MB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.688e-05/0.3063, allocations: 7.938 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.416e-05/0.3063, allocations: 7.984 kB / 1.066 GB, free: 12.29 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.947e-05/0.3064, allocations: 11.86 kB / 1.066 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005209/0.3069, allocations: 111.8 kB / 1.066 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001185/0.3071, allocations: 83.77 kB / 1.066 GB, free: 12.09 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.792e-05/0.3072, allocations: 12 kB / 1.066 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.3073, allocations: 51.83 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 7.034e-05/0.3074, allocations: 39.83 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.048e-05/0.3074, allocations: 8 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001872/0.3076, allocations: 99.84 kB / 1.066 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.251e-05/0.3076, allocations: 27.91 kB / 1.066 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.388e-05/0.3077, allocations: 35.86 kB / 1.066 GB, free: 11.82 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0002475/0.308, allocations: 151.9 kB / 1.066 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.308, allocations: 0 / 1.066 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.895e-06/0.308, allocations: 4 kB / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.084e-06/0.308, allocations: 3.938 kB / 1.066 GB, free: 11.66 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.0006984/0.3087, allocations: 462.5 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.3088, allocations: 8.031 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.904e-05/0.3088, allocations: 4.938 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.309, allocations: 180.2 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.859e-05/0.309, allocations: 4.375 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.452e-05/0.3091, allocations: 16.3 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002368/0.3093, allocations: 81.95 kB / 1.067 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.3093, allocations: 11.94 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.774e-05/0.3094, allocations: 4 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.3094, allocations: 0 / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001529/0.3095, allocations: 47.95 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000614/0.3101, allocations: 320.6 kB / 1.067 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001789/0.3103, allocations: 66.56 kB / 1.067 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001258/0.3105, allocations: 40.83 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.922e-05/0.3105, allocations: 4 kB / 1.068 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002928/0.3108, allocations: 95.39 kB / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=9): time 1.543e-06/0.3108, allocations: 0 / 1.068 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of matching and sorting (n=9): time 0.0005211/0.3113, allocations: 193.5 kB / 1.068 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.612e-05/0.3114, allocations: 51.56 kB / 1.068 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.3115, allocations: 135.4 kB / 1.068 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.762e-05/0.3116, allocations: 25.7 kB / 1.068 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.752e-05/0.3116, allocations: 100.3 kB / 1.068 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.3117, allocations: 15.81 kB / 1.068 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.485e-05/0.3117, allocations: 33.64 kB / 1.068 GB, free: 9.574 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.3119, allocations: 330.8 kB / 1.068 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.442e-05/0.312, allocations: 27.98 kB / 1.069 GB, free: 9.215 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001115/0.3121, allocations: 69.98 kB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002427/0.3123, allocations: 113.9 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.3123, allocations: 3.938 kB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002553/0.3126, allocations: 133.5 kB / 1.069 GB, free: 8.852 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.648e-05/0.3126, allocations: 8 kB / 1.069 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3126, allocations: 0 / 1.069 GB, free: 8.844 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.3127, allocations: 4 kB / 1.069 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001001/0.3128, allocations: 23.92 kB / 1.069 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.3128, allocations: 384 / 1.069 GB, free: 8.816 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.282e-05/0.3129, allocations: 11.91 kB / 1.069 GB, free: 8.805 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.31e-05/0.3129, allocations: 4 kB / 1.069 GB, free: 8.801 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.0001198/0.313, allocations: 140.8 kB / 1.069 GB, free: 8.656 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.107e-05/0.313, allocations: 11.84 kB / 1.069 GB, free: 8.645 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.967e-05/0.3131, allocations: 12.38 kB / 1.069 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.3131, allocations: 0 / 1.069 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.3131, allocations: 0 / 1.069 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.3131, allocations: 0 / 1.069 GB, free: 8.633 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005738/0.3137, allocations: 426.4 kB / 1.069 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.3137, allocations: 0 / 1.069 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.069e-05/0.3137, allocations: 11.98 kB / 1.069 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3137, allocations: 0 / 1.069 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.3138, allocations: 8 kB / 1.069 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.161e-06/0.3138, allocations: 11.97 kB / 1.069 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.048e-06/0.3138, allocations: 3.938 kB / 1.069 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003631/0.3141, allocations: 239.3 kB / 1.07 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.039e-05/0.3142, allocations: 89 kB / 1.07 GB, free: 7.77 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.617e-05/0.3142, allocations: 8 kB / 1.07 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001003/0.3143, allocations: 4 kB / 1.07 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.3144, allocations: 11.92 kB / 1.07 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.624e-05/0.3144, allocations: 4 kB / 1.07 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.327e-05/0.3145, allocations: 96.14 kB / 1.07 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3145, allocations: 0 / 1.07 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003211/0.3148, allocations: 43.98 kB / 1.07 GB, free: 7.605 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.000369/0.3152, allocations: 176.4 kB / 1.07 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000284/0.3155, allocations: 87.89 kB / 1.07 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 4.018e-06/0.3155, allocations: 0 / 1.07 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.3156, allocations: 60.2 kB / 1.07 GB, free: 7.297 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002824/0.3159, allocations: 15.98 kB / 1.07 GB, free: 7.281 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004839/0.3164, allocations: 220.2 kB / 1.07 GB, free: 7.039 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.3168, allocations: 0.7 MB / 1.071 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.856e-05/0.3168, allocations: 4 kB / 1.071 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.732e-05/0.3169, allocations: 11.44 kB / 1.071 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of SimCode: time 2.2e-07/0.3169, allocations: 0 / 1.071 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of Templates: time 0.00471/0.3216, allocations: 1.679 MB / 1.073 GB, free: 4.633 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & ./Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches