Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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.Zhang2012BlindsSolarIntensity,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.H|bli.occ|bli.pUp|bli.blindState",fileNamePrefix="Buildings_latest_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_latest_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.001376/0.001376, allocations: 102.4 kB / 16.35 MB, free: 5.875 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.001354/0.001354, allocations: 191 kB / 17.29 MB, free: 5.516 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.426/1.426, allocations: 222.9 MB / 241 MB, free: 14.98 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.552/2.552, allocations: 442.6 MB / 0.7165 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001483/0.001483, allocations: 73.78 kB / 0.8773 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3082/0.3097, allocations: 153 MB / 1.027 GB, free: 2.027 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.00262/0.3124, allocations: 1.509 MB / 1.028 GB, free: 0.5117 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.001203/0.3136, allocations: 0.7593 MB / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.635e-05/0.3136, allocations: 0 / 1.029 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.896e-05/0.3137, allocations: 11.88 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.989e-05/0.3137, allocations: 11.86 kB / 1.029 GB, free: 15.72 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004947/0.3143, allocations: 135.6 kB / 1.029 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001169/0.3144, allocations: 87.77 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.207e-05/0.3145, allocations: 8 kB / 1.029 GB, free: 15.5 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.619e-05/0.3146, allocations: 47.83 kB / 1.029 GB, free: 15.45 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.832e-05/0.3146, allocations: 39.84 kB / 1.029 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.892e-05/0.3147, allocations: 8 kB / 1.029 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001718/0.3149, allocations: 99.84 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 3.05e-05/0.3149, allocations: 27.91 kB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.831e-05/0.3149, allocations: 35.84 kB / 1.029 GB, free: 15.24 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002228/0.3152, allocations: 159.5 kB / 1.03 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.3152, allocations: 0 / 1.03 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.746e-06/0.3152, allocations: 0 / 1.03 GB, free: 15.09 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.01e-06/0.3152, allocations: 3.938 kB / 1.03 GB, free: 15.08 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.0006366/0.3158, allocations: 450.6 kB / 1.03 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.3159, allocations: 12.75 kB / 1.03 GB, free: 14.57 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.278e-05/0.316, allocations: 16.83 kB / 1.03 GB, free: 14.55 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001451/0.3161, allocations: 168.3 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.159e-05/0.3161, allocations: 8.375 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.3162, allocations: 4.375 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002371/0.3164, allocations: 93.88 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.3164, allocations: 0 / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.3164, allocations: 3.938 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.553e-06/0.3165, allocations: 4 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/0.3166, allocations: 47.97 kB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004954/0.3171, allocations: 324.6 kB / 1.031 GB, free: 13.82 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001646/0.3173, allocations: 70.58 kB / 1.031 GB, free: 13.74 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001033/0.3174, allocations: 48.83 kB / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.3174, allocations: 4 kB / 1.031 GB, free: 13.69 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001996/0.3176, allocations: 91.36 kB / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.3176, allocations: 0 / 1.031 GB, free: 13.59 MB / 0.8106 GB Notification: Performance of matching and sorting (n=9): time 0.0004772/0.3181, allocations: 185.5 kB / 1.031 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.852e-05/0.3182, allocations: 55.41 kB / 1.031 GB, free: 13.33 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001006/0.3183, allocations: 133.8 kB / 1.031 GB, free: 13.19 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.3183, allocations: 29.7 kB / 1.031 GB, free: 13.16 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.547e-05/0.3184, allocations: 92.28 kB / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.3184, allocations: 23.94 kB / 1.031 GB, free: 13.04 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.966e-05/0.3185, allocations: 41.58 kB / 1.031 GB, free: 12.99 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.3186, allocations: 318.8 kB / 1.032 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.075e-05/0.3187, allocations: 31.97 kB / 1.032 GB, free: 12.64 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001077/0.3188, allocations: 74 kB / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001775/0.319, allocations: 109.9 kB / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.319, allocations: 0 / 1.032 GB, free: 12.41 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002532/0.3192, allocations: 141.4 kB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.3193, allocations: 4 kB / 1.032 GB, free: 12.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.3193, allocations: 7.984 kB / 1.032 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.3193, allocations: 256 / 1.032 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.571e-05/0.3194, allocations: 23.97 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.3194, allocations: 7.938 kB / 1.032 GB, free: 12.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.558e-05/0.3195, allocations: 8.281 kB / 1.032 GB, free: 12.22 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.3195, allocations: 8 kB / 1.032 GB, free: 12.21 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.771e-05/0.3196, allocations: 127.3 kB / 1.032 GB, free: 12.08 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.08e-05/0.3196, allocations: 11.89 kB / 1.032 GB, free: 12.07 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.605e-05/0.3197, allocations: 12.31 kB / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.3197, allocations: 8 kB / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.666e-06/0.3197, allocations: 0 / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3197, allocations: 0 / 1.032 GB, free: 12.05 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005307/0.3202, allocations: 430.4 kB / 1.033 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.3202, allocations: 0 / 1.033 GB, free: 11.57 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.34e-05/0.3203, allocations: 11.92 kB / 1.033 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.3203, allocations: 0 / 1.033 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.3203, allocations: 0 / 1.033 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.463e-06/0.3203, allocations: 0 / 1.033 GB, free: 11.56 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.235e-06/0.3203, allocations: 7.938 kB / 1.033 GB, free: 11.55 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000333/0.3207, allocations: 247.3 kB / 1.033 GB, free: 11.29 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.964e-05/0.3207, allocations: 81.02 kB / 1.033 GB, free: 11.2 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.828e-05/0.3207, allocations: 11.98 kB / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.3208, allocations: 4 kB / 1.033 GB, free: 11.18 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.643e-05/0.3209, allocations: 7.922 kB / 1.033 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.199e-05/0.3209, allocations: 11.94 kB / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.555e-05/0.321, allocations: 103.3 kB / 1.033 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.321, allocations: 0 / 1.033 GB, free: 11.06 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003214/0.3213, allocations: 43.98 kB / 1.033 GB, free: 11.02 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.0003256/0.3216, allocations: 171.2 kB / 1.033 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002666/0.3219, allocations: 91.83 kB / 1.033 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.3219, allocations: 0 / 1.033 GB, free: 10.77 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.322, allocations: 47.98 kB / 1.033 GB, free: 10.72 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002831/0.3223, allocations: 15.98 kB / 1.033 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000447/0.3228, allocations: 200.5 kB / 1.034 GB, free: 10.48 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002437/0.323, allocations: 0.6885 MB / 1.034 GB, free: 9.766 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 3.934e-05/0.3231, allocations: 12.16 kB / 1.034 GB, free: 9.754 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.613e-05/0.3231, allocations: 11.44 kB / 1.034 GB, free: 9.742 MB / 0.8106 GB Notification: Performance of SimCode: time 3.41e-07/0.3231, allocations: 0 / 1.034 GB, free: 9.742 MB / 0.8106 GB Notification: Performance of Templates: time 0.004314/0.3274, allocations: 1.707 MB / 1.036 GB, free: 8.059 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.sim & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches