Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.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.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TOut|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TOut|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009265/0.0009264, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 183.3 kB / 16.92 MB, free: 6.773 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.365/1.365, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.64/2.64, allocations: 462.6 MB / 0.737 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003455/0.0003458, allocations: 7.859 kB / 0.9034 GB, free: 36.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3111/0.3114, allocations: 159.6 MB / 1.059 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.00169/0.3132, allocations: 1.209 MB / 1.06 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001332/0.3145, allocations: 0.7245 MB / 1.061 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.774e-05/0.3146, allocations: 0 / 1.061 GB, free: 3.043 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.734e-05/0.3146, allocations: 3.984 kB / 1.061 GB, free: 3.039 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.712e-05/0.3147, allocations: 11.88 kB / 1.061 GB, free: 3.027 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005294/0.3153, allocations: 99.77 kB / 1.061 GB, free: 2.93 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000112/0.3154, allocations: 67.78 kB / 1.061 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.272e-05/0.3155, allocations: 8 kB / 1.061 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.267e-05/0.3156, allocations: 27.91 kB / 1.061 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.156e-05/0.3157, allocations: 35.84 kB / 1.061 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.491e-05/0.3157, allocations: 0 / 1.061 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001999/0.3159, allocations: 95.84 kB / 1.062 GB, free: 2.699 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.41e-05/0.3159, allocations: 11.92 kB / 1.062 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.186e-05/0.316, allocations: 57.55 kB / 1.062 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001863/0.3162, allocations: 96.05 kB / 1.062 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3162, allocations: 0 / 1.062 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of FrontEnd: time 2.314e-06/0.3162, allocations: 0 / 1.062 GB, free: 2.531 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.027e-06/0.3162, allocations: 0 / 1.062 GB, free: 2.531 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005656/0.3168, allocations: 430.8 kB / 1.062 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/0.3168, allocations: 15.97 kB / 1.062 GB, free: 2.035 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.822e-05/0.3169, allocations: 12.77 kB / 1.062 GB, free: 2.023 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001091/0.317, allocations: 176.2 kB / 1.062 GB, free: 1.812 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.076e-05/0.317, allocations: 4.375 kB / 1.062 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.213e-05/0.3171, allocations: 8.375 kB / 1.062 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001969/0.3173, allocations: 69.97 kB / 1.062 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.3173, allocations: 7.938 kB / 1.062 GB, free: 1.719 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.566e-05/0.3173, allocations: 4 kB / 1.062 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.3173, allocations: 0 / 1.062 GB, free: 1.715 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000143/0.3175, allocations: 39.97 kB / 1.062 GB, free: 1.676 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000482/0.318, allocations: 308.7 kB / 1.063 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001283/0.3181, allocations: 46.56 kB / 1.063 GB, free: 1.27 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.045e-05/0.3182, allocations: 32.97 kB / 1.063 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.097e-05/0.3182, allocations: 7.922 kB / 1.063 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001903/0.3184, allocations: 91.34 kB / 1.063 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.473e-06/0.3184, allocations: 0 / 1.063 GB, free: 1.125 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0004025/0.3188, allocations: 141.7 kB / 1.063 GB, free: 0.9805 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.3189, allocations: 55.41 kB / 1.063 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.662e-05/0.319, allocations: 125.7 kB / 1.063 GB, free: 0.7812 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.319, allocations: 33.7 kB / 1.063 GB, free: 0.7422 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.577e-05/0.3191, allocations: 88.08 kB / 1.063 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.066e-05/0.3191, allocations: 19.75 kB / 1.063 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-05/0.3191, allocations: 21.7 kB / 1.063 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.037e-05/0.3192, allocations: 318.8 kB / 1.064 GB, free: 292 kB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.659e-05/0.3193, allocations: 31.91 kB / 1.064 GB, free: 260 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.757e-05/0.3194, allocations: 61.14 kB / 1.064 GB, free: 180 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.3196, allocations: 101.1 kB / 1.064 GB, free: 60 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.3196, allocations: 0 / 1.064 GB, free: 60 kB / 0.8106 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002525/0.3198, allocations: 121.5 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.3199, allocations: 4 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.3199, allocations: 4 kB / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.3199, allocations: 0 / 1.064 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.621e-05/0.32, allocations: 19.94 kB / 1.064 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.585e-06/0.32, allocations: 3.984 kB / 1.064 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.374e-05/0.3201, allocations: 8 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.3201, allocations: 8.094 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 (bli.curSeed,$PRE.bli.curSeed,bli.blindState,$PRE.bli.blindState,bli.pDown,$PRE.bli.pDown,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 (11): * Single equations (assignments): 11 * 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 8.645e-05/0.3202, allocations: 121.7 kB / 1.064 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.657e-05/0.3202, allocations: 7.906 kB / 1.064 GB, free: 15.75 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.525e-05/0.3202, allocations: 12.36 kB / 1.064 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.3202, allocations: 4 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.3203, allocations: 0 / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3203, allocations: 3.938 kB / 1.064 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004396/0.3207, allocations: 382.5 kB / 1.065 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.3207, allocations: 3.938 kB / 1.065 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.029e-05/0.3208, allocations: 4 kB / 1.065 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.3208, allocations: 0 / 1.065 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/0.3208, allocations: 11.98 kB / 1.065 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.582e-06/0.3208, allocations: 0 / 1.065 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.075e-06/0.3208, allocations: 3.938 kB / 1.065 GB, free: 15.28 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000284/0.3211, allocations: 215.4 kB / 1.065 GB, free: 15.05 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.684e-05/0.3211, allocations: 89 kB / 1.065 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.766e-05/0.3212, allocations: 0 / 1.065 GB, free: 14.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.832e-05/0.3213, allocations: 4 kB / 1.065 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.446e-05/0.3213, allocations: 19.91 kB / 1.065 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.005e-05/0.3213, allocations: 8 kB / 1.065 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.966e-05/0.3214, allocations: 95.86 kB / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3214, allocations: 0 / 1.065 GB, free: 14.82 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003106/0.3217, allocations: 36 kB / 1.065 GB, free: 14.79 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: 6 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pDown,bli.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0003094/0.322, allocations: 155.5 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002377/0.3223, allocations: 83.88 kB / 1.065 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.3223, allocations: 7.938 kB / 1.065 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001023/0.3224, allocations: 32.45 kB / 1.065 GB, free: 14.52 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.3227, allocations: 16.23 kB / 1.065 GB, free: 14.51 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004003/0.3231, allocations: 240.8 kB / 1.065 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002125/0.3233, allocations: 0.6861 MB / 1.066 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.96e-05/0.3233, allocations: 23.36 kB / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3233, allocations: 0 / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of Templates: time 0.003286/0.3266, allocations: 1.56 MB / 1.068 GB, free: 11.94 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.sim & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches