Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") translateModel(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006564/0.006564, allocations: 100 kB / 15.73 MB, free: 6.047 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.001218/0.001217, allocations: 183.2 kB / 16.67 MB, free: 5.977 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.767/2.767, allocations: 461.9 MB / 0.7347 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001345/0.001345, allocations: 68.11 kB / 1.054 GB, free: 7.148 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3253/0.3267, allocations: 157.4 MB / 1.208 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002703/0.3294, allocations: 1.487 MB / 1.209 GB, free: 8.145 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001298/0.3307, allocations: 0.7326 MB / 1.21 GB, free: 7.406 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.324e-05/0.3308, allocations: 7.875 kB / 1.21 GB, free: 7.398 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 4.067e-05/0.3309, allocations: 3.938 kB / 1.21 GB, free: 7.395 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.481e-05/0.331, allocations: 15.84 kB / 1.21 GB, free: 7.379 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006286/0.3316, allocations: 119.6 kB / 1.21 GB, free: 7.262 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000128/0.3317, allocations: 67.77 kB / 1.21 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.78e-05/0.3318, allocations: 15.94 kB / 1.21 GB, free: 7.18 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.13e-05/0.3319, allocations: 31.92 kB / 1.21 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.669e-05/0.332, allocations: 31.84 kB / 1.21 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.841e-05/0.332, allocations: 8 kB / 1.21 GB, free: 7.109 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001965/0.3322, allocations: 99.84 kB / 1.21 GB, free: 7.012 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.704e-05/0.3323, allocations: 19.91 kB / 1.21 GB, free: 6.992 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.533e-05/0.3323, allocations: 31.86 kB / 1.21 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002334/0.3326, allocations: 131.6 kB / 1.21 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.3326, allocations: 0 / 1.21 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.222e-06/0.3326, allocations: 0 / 1.21 GB, free: 6.832 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 9.197e-06/0.3326, allocations: 0 / 1.21 GB, free: 6.832 MB / 0.9669 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.0006169/0.3332, allocations: 442.7 kB / 1.211 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.3333, allocations: 12.03 kB / 1.211 GB, free: 6.328 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.337e-05/0.3333, allocations: 12.84 kB / 1.211 GB, free: 6.316 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001204/0.3334, allocations: 176.2 kB / 1.211 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/0.3335, allocations: 384 / 1.211 GB, free: 6.105 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.927e-05/0.3335, allocations: 16.3 kB / 1.211 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001999/0.3337, allocations: 69.97 kB / 1.211 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.544e-06/0.3337, allocations: 0 / 1.211 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.3337, allocations: 0 / 1.211 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.3338, allocations: 0 / 1.211 GB, free: 6.016 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001444/0.3339, allocations: 39.97 kB / 1.211 GB, free: 5.977 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004895/0.3344, allocations: 300.6 kB / 1.211 GB, free: 5.633 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002054/0.3346, allocations: 54.55 kB / 1.211 GB, free: 5.57 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.055e-05/0.3347, allocations: 36.95 kB / 1.212 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.211e-05/0.3348, allocations: 0 / 1.212 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002265/0.335, allocations: 75.38 kB / 1.212 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.462e-06/0.335, allocations: 0 / 1.212 GB, free: 5.445 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0004358/0.3354, allocations: 141.6 kB / 1.212 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.3355, allocations: 51.41 kB / 1.212 GB, free: 5.238 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.3356, allocations: 129.7 kB / 1.212 GB, free: 5.102 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.918e-05/0.3356, allocations: 25.7 kB / 1.212 GB, free: 5.07 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.056e-05/0.3357, allocations: 96.14 kB / 1.212 GB, free: 4.973 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.3357, allocations: 19.73 kB / 1.212 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.207e-05/0.3358, allocations: 25.72 kB / 1.212 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.3359, allocations: 322.8 kB / 1.212 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.701e-05/0.336, allocations: 27.92 kB / 1.212 GB, free: 4.57 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001015/0.3361, allocations: 69.12 kB / 1.212 GB, free: 4.484 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/0.3363, allocations: 85.02 kB / 1.213 GB, free: 4.383 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.3363, allocations: 4 kB / 1.213 GB, free: 4.379 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000239/0.3365, allocations: 113.4 kB / 1.213 GB, free: 4.262 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.3366, allocations: 9.562 kB / 1.213 GB, free: 4.254 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.3366, allocations: 3.938 kB / 1.213 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.637e-05/0.3366, allocations: 4 kB / 1.213 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.189e-05/0.3367, allocations: 11.98 kB / 1.213 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.3367, allocations: 4 kB / 1.213 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.499e-05/0.3368, allocations: 12.14 kB / 1.213 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/0.3368, allocations: 8 kB / 1.213 GB, free: 4.211 MB / 0.9669 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 9.455e-05/0.3369, allocations: 125.7 kB / 1.213 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.936e-05/0.3369, allocations: 7.906 kB / 1.213 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.691e-05/0.337, allocations: 8.375 kB / 1.213 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.123e-06/0.337, allocations: 0 / 1.213 GB, free: 4.059 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.772e-06/0.337, allocations: 4 kB / 1.213 GB, free: 4.055 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.337, allocations: 3.984 kB / 1.213 GB, free: 4.051 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004678/0.3375, allocations: 382.7 kB / 1.213 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3375, allocations: 4 kB / 1.213 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.807e-05/0.3375, allocations: 0 / 1.213 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.3375, allocations: 4 kB / 1.213 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.3375, allocations: 0 / 1.213 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3375, allocations: 0 / 1.213 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.3376, allocations: 3.938 kB / 1.213 GB, free: 3.609 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003017/0.3379, allocations: 207.4 kB / 1.213 GB, free: 3.391 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.398e-05/0.3379, allocations: 89.02 kB / 1.214 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.3379, allocations: 0 / 1.214 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.118e-05/0.338, allocations: 7.984 kB / 1.214 GB, free: 3.277 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.268e-05/0.3381, allocations: 3.938 kB / 1.214 GB, free: 3.273 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.3381, allocations: 7.984 kB / 1.214 GB, free: 3.266 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.16e-05/0.3382, allocations: 95.2 kB / 1.214 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3382, allocations: 0 / 1.214 GB, free: 3.172 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0003075/0.3385, allocations: 40 kB / 1.214 GB, free: 3.133 MB / 0.9669 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.0003588/0.3389, allocations: 175.4 kB / 1.214 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002935/0.3392, allocations: 72.14 kB / 1.214 GB, free: 2.898 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.3392, allocations: 4.062 kB / 1.214 GB, free: 2.895 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.3393, allocations: 31.98 kB / 1.214 GB, free: 2.863 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.3396, allocations: 13.23 kB / 1.214 GB, free: 2.852 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004185/0.34, allocations: 184.8 kB / 1.214 GB, free: 2.641 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002499/0.3403, allocations: 0.6905 MB / 1.215 GB, free: 1.926 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.676e-05/0.3403, allocations: 8 kB / 1.215 GB, free: 1.918 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.11e-05/0.3403, allocations: 15.44 kB / 1.215 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of SimCode: time 3.01e-07/0.3403, allocations: 0 / 1.215 GB, free: 1.902 MB / 0.9669 GB Notification: Performance of Templates: time 0.004584/0.3449, allocations: 1.461 MB / 1.216 GB, free: 456 kB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile (rm -f Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,bli.TIn,bli.occ,bli.pDown,bli.blindState Variables in the result:TIn.amplitude,TIn.f,TIn.offset,TIn.phase,TIn.startTime,TIn.y,bli.A,bli.B,bli.TIn,bli.blindState,bli.occ,bli.pDown,bli.samplePeriod,bli.seed,bli.t0,occ.startTime,occ.startValue,occ.y,time