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.005765/0.005765, allocations: 100.8 kB / 15.73 MB, free: 6.043 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.001165/0.001165, allocations: 202.4 kB / 16.68 MB, free: 5.965 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.4 MB, free: 4.164 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.789/2.789, allocations: 469.8 MB / 0.7425 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 64.09 kB / 1.065 GB, free: 13.06 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3239, allocations: 159.1 MB / 1.221 GB, free: 13.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002466/0.3264, allocations: 1.511 MB / 1.222 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.3276, allocations: 0.7556 MB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.875e-05/0.3276, allocations: 0 / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.69e-05/0.3276, allocations: 3.938 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.734e-05/0.3277, allocations: 19.8 kB / 1.223 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005009/0.3282, allocations: 131.6 kB / 1.223 GB, free: 11.37 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001238/0.3283, allocations: 91.75 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 7.834e-05/0.3284, allocations: 4 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.3e-05/0.3285, allocations: 43.84 kB / 1.223 GB, free: 11.23 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.744e-05/0.3285, allocations: 43.83 kB / 1.223 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.045e-05/0.3286, allocations: 8 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001764/0.3287, allocations: 99.84 kB / 1.223 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.723e-05/0.3288, allocations: 19.97 kB / 1.223 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.72e-05/0.3288, allocations: 39.78 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002228/0.329, allocations: 155.5 kB / 1.223 GB, free: 10.88 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.329, allocations: 4 kB / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.032e-06/0.329, allocations: 0 / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.959e-06/0.3291, allocations: 0 / 1.223 GB, free: 10.87 MB / 0.9825 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.0005756/0.3296, allocations: 462.3 kB / 1.224 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.3297, allocations: 16.02 kB / 1.224 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.222e-05/0.3297, allocations: 12.84 kB / 1.224 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001112/0.3298, allocations: 176 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.341e-05/0.3298, allocations: 8.375 kB / 1.224 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.994e-05/0.3299, allocations: 8.375 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002062/0.3301, allocations: 89.94 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.595e-06/0.3301, allocations: 0 / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.3301, allocations: 0 / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.3301, allocations: 7.984 kB / 1.224 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001537/0.3302, allocations: 51.84 kB / 1.224 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004952/0.3307, allocations: 328.7 kB / 1.225 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00016/0.3309, allocations: 54.56 kB / 1.225 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001143/0.331, allocations: 40.83 kB / 1.225 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.331, allocations: 0 / 1.225 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001973/0.3312, allocations: 95.39 kB / 1.225 GB, free: 9.375 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.402e-06/0.3312, allocations: 4 kB / 1.225 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0004669/0.3317, allocations: 189.5 kB / 1.225 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.3317, allocations: 51.41 kB / 1.225 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.936e-05/0.3318, allocations: 133.8 kB / 1.225 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.713e-05/0.3319, allocations: 25.7 kB / 1.225 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.655e-05/0.3319, allocations: 92.38 kB / 1.225 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.97e-05/0.3319, allocations: 27.78 kB / 1.225 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.864e-05/0.332, allocations: 37.64 kB / 1.225 GB, free: 8.777 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.948e-05/0.3321, allocations: 322.8 kB / 1.226 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.955e-05/0.3322, allocations: 31.97 kB / 1.226 GB, free: 8.422 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000105/0.3323, allocations: 73.94 kB / 1.226 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001723/0.3324, allocations: 109.9 kB / 1.226 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3324, allocations: 0 / 1.226 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002504/0.3327, allocations: 133.5 kB / 1.226 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.3327, allocations: 11.94 kB / 1.226 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.177e-06/0.3327, allocations: 0 / 1.226 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.3327, allocations: 4 kB / 1.226 GB, free: 8.047 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.016e-05/0.3328, allocations: 19.98 kB / 1.226 GB, free: 8.027 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.3328, allocations: 4 kB / 1.226 GB, free: 8.023 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.859e-05/0.3329, allocations: 11.95 kB / 1.226 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.178e-05/0.3329, allocations: 4.156 kB / 1.226 GB, free: 8.008 MB / 0.9825 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.0001019/0.333, allocations: 142.5 kB / 1.226 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.982e-05/0.333, allocations: 3.953 kB / 1.226 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.701e-05/0.333, allocations: 12.38 kB / 1.226 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.333, allocations: 0 / 1.226 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.075e-06/0.333, allocations: 3.938 kB / 1.226 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.333, allocations: 0 / 1.226 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005178/0.3336, allocations: 434.5 kB / 1.227 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.362e-06/0.3336, allocations: 0 / 1.227 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.314e-05/0.3336, allocations: 7.984 kB / 1.227 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.3336, allocations: 0 / 1.227 GB, free: 7.344 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.486e-05/0.3336, allocations: 8 kB / 1.227 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.3336, allocations: 0 / 1.227 GB, free: 7.336 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.3336, allocations: 4.031 kB / 1.227 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003336/0.334, allocations: 251.4 kB / 1.227 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.873e-05/0.334, allocations: 85.06 kB / 1.227 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.334, allocations: 3.984 kB / 1.227 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.3341, allocations: 8 kB / 1.227 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.728e-05/0.3342, allocations: 11.92 kB / 1.227 GB, free: 6.945 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.209e-05/0.3342, allocations: 4 kB / 1.227 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.005e-05/0.3342, allocations: 99.2 kB / 1.227 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3342, allocations: 0 / 1.227 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003/0.3345, allocations: 51.8 kB / 1.227 GB, free: 6.793 MB / 0.9825 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.0003131/0.3349, allocations: 165.9 kB / 1.227 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002446/0.3351, allocations: 83.89 kB / 1.227 GB, free: 6.559 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3351, allocations: 8.25 kB / 1.227 GB, free: 6.551 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001109/0.3352, allocations: 39.98 kB / 1.227 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.3355, allocations: 15.97 kB / 1.227 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004143/0.3359, allocations: 215.9 kB / 1.228 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000219/0.3361, allocations: 0.6924 MB / 1.228 GB, free: 5.543 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.455e-05/0.3361, allocations: 11.98 kB / 1.228 GB, free: 5.531 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.027e-05/0.3362, allocations: 11.44 kB / 1.228 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.3362, allocations: 0 / 1.228 GB, free: 5.523 MB / 0.9825 GB Notification: Performance of Templates: time 0.004178/0.3404, allocations: 1.724 MB / 1.23 GB, free: 3.812 MB / 0.9825 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=480 -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