Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.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.Zhang2012BlindsSolarAltitude,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.solarAltitude|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_11_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_11_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.007662/0.007662, allocations: 99.38 kB / 15.73 MB, free: 6.008 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.001436/0.001436, allocations: 195.9 kB / 16.68 MB, free: 5.934 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.385/1.385, 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 11.1.0-maint.11.x/package.mo): time 2.761/2.761, allocations: 469.8 MB / 0.7425 GB, free: 7.363 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001412, allocations: 71.89 kB / 1.065 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3168, allocations: 159.1 MB / 1.221 GB, free: 13.86 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002889/0.3197, allocations: 1.51 MB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001351/0.3211, allocations: 0.744 MB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.195e-05/0.3212, allocations: 3.938 kB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.045e-05/0.3212, allocations: 3.938 kB / 1.223 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.856e-05/0.3213, allocations: 19.8 kB / 1.223 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006561/0.3219, allocations: 131.6 kB / 1.223 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000146/0.3221, allocations: 87.77 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.358e-05/0.3222, allocations: 11.94 kB / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001118/0.3223, allocations: 47.83 kB / 1.223 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.25e-05/0.3223, allocations: 39.78 kB / 1.223 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.3224, allocations: 8 kB / 1.223 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000227/0.3226, allocations: 95.91 kB / 1.223 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.205e-05/0.3226, allocations: 23.97 kB / 1.223 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.5e-05/0.3227, allocations: 43.78 kB / 1.223 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000283/0.323, allocations: 155.5 kB / 1.223 GB, free: 10.93 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.323, allocations: 3.938 kB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.092e-06/0.323, allocations: 0 / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.862e-06/0.323, allocations: 0 / 1.223 GB, free: 10.92 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.0006537/0.3236, allocations: 466.3 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.3237, allocations: 12.03 kB / 1.224 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.329e-05/0.3237, allocations: 12.84 kB / 1.224 GB, free: 10.38 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.3239, allocations: 168.3 kB / 1.224 GB, free: 10.18 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.947e-05/0.3239, allocations: 8.375 kB / 1.224 GB, free: 10.17 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.3239, allocations: 8.375 kB / 1.224 GB, free: 10.16 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002312/0.3241, allocations: 93.88 kB / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.3242, allocations: 0 / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.3242, allocations: 0 / 1.224 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.3242, allocations: 4 kB / 1.224 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001785/0.3244, allocations: 43.97 kB / 1.224 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006033/0.325, allocations: 332.6 kB / 1.225 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001732/0.3251, allocations: 54.56 kB / 1.225 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001592/0.3253, allocations: 48.81 kB / 1.225 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.932e-05/0.3253, allocations: 0 / 1.225 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002256/0.3255, allocations: 99.44 kB / 1.225 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.452e-06/0.3255, allocations: 3.938 kB / 1.225 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0004767/0.326, allocations: 185.5 kB / 1.225 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.3261, allocations: 55.34 kB / 1.225 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.3262, allocations: 133.8 kB / 1.225 GB, free: 9.023 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.953e-05/0.3262, allocations: 29.7 kB / 1.225 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.274e-05/0.3262, allocations: 96.36 kB / 1.225 GB, free: 8.887 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.251e-05/0.3263, allocations: 23.8 kB / 1.225 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.027e-05/0.3263, allocations: 29.7 kB / 1.225 GB, free: 8.828 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001074/0.3264, allocations: 326.8 kB / 1.226 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.31e-05/0.3265, allocations: 27.98 kB / 1.226 GB, free: 8.473 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001156/0.3266, allocations: 84.05 kB / 1.226 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001782/0.3268, allocations: 105.9 kB / 1.226 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.3268, allocations: 4 kB / 1.226 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002617/0.3271, allocations: 133.5 kB / 1.226 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.3271, allocations: 8 kB / 1.226 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.83e-06/0.3271, allocations: 0 / 1.226 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.3271, allocations: 4 kB / 1.226 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.3272, allocations: 19.92 kB / 1.226 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.3272, allocations: 0 / 1.226 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.304e-05/0.3273, allocations: 16.11 kB / 1.226 GB, free: 8.059 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.568e-05/0.3273, allocations: 8 kB / 1.226 GB, free: 8.051 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.0001016/0.3274, allocations: 132.7 kB / 1.226 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.141e-05/0.3274, allocations: 3.953 kB / 1.226 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.062e-05/0.3274, allocations: 12.38 kB / 1.226 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.3275, allocations: 0 / 1.226 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.3275, allocations: 3.938 kB / 1.226 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.3275, allocations: 0 / 1.226 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005686/0.328, allocations: 442.3 kB / 1.227 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.328, allocations: 0 / 1.227 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.194e-05/0.3281, allocations: 4 kB / 1.227 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.165e-06/0.3281, allocations: 480 / 1.227 GB, free: 7.395 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.591e-05/0.3281, allocations: 7.984 kB / 1.227 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.3281, allocations: 0 / 1.227 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3281, allocations: 3.938 kB / 1.227 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000341/0.3284, allocations: 251.3 kB / 1.227 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 3.94e-05/0.3285, allocations: 85.06 kB / 1.227 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.875e-05/0.3285, allocations: 4 kB / 1.227 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.3286, allocations: 8 kB / 1.227 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.703e-05/0.3287, allocations: 11.92 kB / 1.227 GB, free: 6.996 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/0.3287, allocations: 7.984 kB / 1.227 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.612e-05/0.3287, allocations: 98.39 kB / 1.227 GB, free: 6.895 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.3287, allocations: 4 kB / 1.227 GB, free: 6.891 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003379/0.3291, allocations: 43.88 kB / 1.227 GB, free: 6.848 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.0003128/0.3294, allocations: 158 kB / 1.227 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002634/0.3296, allocations: 92.02 kB / 1.227 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.3296, allocations: 4 kB / 1.227 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.3298, allocations: 47.94 kB / 1.227 GB, free: 6.555 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003489/0.3301, allocations: 17.48 kB / 1.227 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004238/0.3305, allocations: 199.5 kB / 1.228 GB, free: 6.32 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/0.3309, allocations: 0.6964 MB / 1.228 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.872e-05/0.331, allocations: 4 kB / 1.228 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.791e-05/0.331, allocations: 11.44 kB / 1.228 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of SimCode: time 3.71e-07/0.331, allocations: 0 / 1.228 GB, free: 5.586 MB / 0.9825 GB Notification: Performance of Templates: time 0.004583/0.3356, allocations: 1.722 MB / 1.23 GB, free: 3.879 MB / 0.9825 GB make -j1 -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.makefile (rm -f Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; mkfifo Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe ; head -c 1048576 < Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe >> ../files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.sim & ./Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches