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.0008979/0.0009025, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008992/0.008992, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.443/1.443, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.684/2.684, allocations: 443.3 MB / 0.7175 GB, free: 1.504 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003494, allocations: 6.594 kB / 0.8796 GB, free: 41.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3292/0.3295, allocations: 155.2 MB / 1.031 GB, free: 4.426 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.001811/0.3314, allocations: 1.222 MB / 1.032 GB, free: 3.195 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.0014/0.3328, allocations: 0.7484 MB / 1.033 GB, free: 2.441 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.11e-05/0.3329, allocations: 0 / 1.033 GB, free: 2.441 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.204e-05/0.3329, allocations: 7.938 kB / 1.033 GB, free: 2.434 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.121e-05/0.333, allocations: 11.86 kB / 1.033 GB, free: 2.422 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004524/0.3334, allocations: 103.8 kB / 1.033 GB, free: 2.32 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.3336, allocations: 87.77 kB / 1.033 GB, free: 2.234 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 9.294e-05/0.3337, allocations: 15.98 kB / 1.033 GB, free: 2.219 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 9.561e-05/0.3338, allocations: 35.84 kB / 1.033 GB, free: 2.184 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.033e-05/0.3339, allocations: 51.7 kB / 1.033 GB, free: 2.133 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.959e-05/0.3339, allocations: 4 kB / 1.033 GB, free: 2.129 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000184/0.3341, allocations: 87.91 kB / 1.033 GB, free: 2.043 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.591e-05/0.3341, allocations: 11.98 kB / 1.033 GB, free: 2.031 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.081e-05/0.3342, allocations: 65.48 kB / 1.033 GB, free: 1.961 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002123/0.3344, allocations: 155.8 kB / 1.034 GB, free: 1.809 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.3344, allocations: 0 / 1.034 GB, free: 1.809 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3344, allocations: 8 kB / 1.034 GB, free: 1.801 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.048e-06/0.3345, allocations: 0 / 1.034 GB, free: 1.801 MB / 0.7794 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.0005179/0.335, allocations: 444.3 kB / 1.034 GB, free: 1.309 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 2.997e-05/0.335, allocations: 8.031 kB / 1.034 GB, free: 1.301 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.373e-05/0.335, allocations: 8.844 kB / 1.034 GB, free: 1.293 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.3352, allocations: 176.2 kB / 1.034 GB, free: 1.082 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.468e-05/0.3352, allocations: 4.375 kB / 1.034 GB, free: 1.078 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.261e-05/0.3352, allocations: 16.36 kB / 1.034 GB, free: 1.062 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002109/0.3354, allocations: 93.88 kB / 1.034 GB, free: 0.9648 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.092e-06/0.3355, allocations: 0 / 1.034 GB, free: 0.9648 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.3355, allocations: 8 kB / 1.034 GB, free: 0.957 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.3355, allocations: 4 kB / 1.034 GB, free: 0.9531 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001558/0.3356, allocations: 47.97 kB / 1.034 GB, free: 0.9062 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005341/0.3362, allocations: 316.8 kB / 1.035 GB, free: 0.5469 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/0.3364, allocations: 74.58 kB / 1.035 GB, free: 476 kB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001082/0.3365, allocations: 48.83 kB / 1.035 GB, free: 424 kB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.3365, allocations: 8.141 kB / 1.035 GB, free: 416 kB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002255/0.3367, allocations: 91.36 kB / 1.035 GB, free: 312 kB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.643e-06/0.3367, allocations: 0 / 1.035 GB, free: 312 kB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0004931/0.3372, allocations: 205.4 kB / 1.035 GB, free: 100 kB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.004e-05/0.3373, allocations: 55.41 kB / 1.035 GB, free: 32 kB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001089/0.3374, allocations: 130.7 kB / 1.035 GB, free: 15.89 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/0.3374, allocations: 33.7 kB / 1.035 GB, free: 15.86 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 5.7e-05/0.3375, allocations: 92.38 kB / 1.035 GB, free: 15.76 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 2.89e-05/0.3375, allocations: 19.73 kB / 1.035 GB, free: 15.74 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.522e-05/0.3376, allocations: 25.72 kB / 1.035 GB, free: 15.71 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001187/0.3377, allocations: 322.8 kB / 1.036 GB, free: 15.38 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.854e-05/0.3378, allocations: 27.98 kB / 1.036 GB, free: 15.36 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001178/0.3379, allocations: 77.98 kB / 1.036 GB, free: 15.26 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002127/0.3382, allocations: 121.9 kB / 1.036 GB, free: 15.12 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.3382, allocations: 0 / 1.036 GB, free: 15.12 MB / 0.795 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000272/0.3384, allocations: 137.3 kB / 1.036 GB, free: 14.98 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.3385, allocations: 7.984 kB / 1.036 GB, free: 14.97 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.3385, allocations: 4 kB / 1.036 GB, free: 14.96 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.3385, allocations: 8.094 kB / 1.036 GB, free: 14.96 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.417e-05/0.3386, allocations: 15.94 kB / 1.036 GB, free: 14.94 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.3386, allocations: 7.984 kB / 1.036 GB, free: 14.93 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.168e-05/0.3387, allocations: 12 kB / 1.036 GB, free: 14.92 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.3387, allocations: 4 kB / 1.036 GB, free: 14.92 MB / 0.795 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.644e-05/0.3388, allocations: 131.2 kB / 1.036 GB, free: 14.78 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.844e-05/0.3388, allocations: 7.906 kB / 1.036 GB, free: 14.77 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.639e-05/0.3389, allocations: 16.36 kB / 1.036 GB, free: 14.76 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3389, allocations: 96 / 1.036 GB, free: 14.76 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.3389, allocations: 0 / 1.036 GB, free: 14.76 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.779e-06/0.3389, allocations: 3.984 kB / 1.036 GB, free: 14.75 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005393/0.3394, allocations: 446.2 kB / 1.037 GB, free: 14.26 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3395, allocations: 0 / 1.037 GB, free: 14.26 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.548e-05/0.3395, allocations: 11.98 kB / 1.037 GB, free: 14.25 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.3395, allocations: 0 / 1.037 GB, free: 14.25 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.3395, allocations: 0 / 1.037 GB, free: 14.25 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.3395, allocations: 4 kB / 1.037 GB, free: 14.25 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.3395, allocations: 4.406 kB / 1.037 GB, free: 14.24 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003605/0.3399, allocations: 259.4 kB / 1.037 GB, free: 13.97 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 3.662e-05/0.34, allocations: 81.02 kB / 1.037 GB, free: 13.88 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.415e-05/0.34, allocations: 4 kB / 1.037 GB, free: 13.87 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001258/0.3401, allocations: 7.984 kB / 1.037 GB, free: 13.86 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.112e-05/0.3402, allocations: 11.92 kB / 1.037 GB, free: 13.85 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.058e-05/0.3402, allocations: 4 kB / 1.037 GB, free: 13.85 MB / 0.795 GB Notification: Performance of sorting global known variables: time 5.805e-05/0.3403, allocations: 102.3 kB / 1.037 GB, free: 13.75 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3403, allocations: 0 / 1.037 GB, free: 13.75 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003116/0.3406, allocations: 43.98 kB / 1.037 GB, free: 13.71 MB / 0.795 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.000318/0.3409, allocations: 164.6 kB / 1.037 GB, free: 13.55 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002619/0.3412, allocations: 107.9 kB / 1.038 GB, free: 13.45 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.3412, allocations: 0 / 1.038 GB, free: 13.45 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.3413, allocations: 48.02 kB / 1.038 GB, free: 13.4 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002755/0.3416, allocations: 20.11 kB / 1.038 GB, free: 13.38 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003915/0.342, allocations: 223.2 kB / 1.038 GB, free: 13.13 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/0.3422, allocations: 0.6887 MB / 1.038 GB, free: 12.42 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 4.004e-05/0.3423, allocations: 7.984 kB / 1.038 GB, free: 12.41 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.343e-05/0.3423, allocations: 11.44 kB / 1.038 GB, free: 12.4 MB / 0.795 GB Notification: Performance of SimCode: time 4.91e-07/0.3423, allocations: 4 kB / 1.038 GB, free: 12.39 MB / 0.795 GB Notification: Performance of Templates: time 0.004267/0.3466, allocations: 1.583 MB / 1.04 GB, free: 10.82 MB / 0.795 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/jenkins/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