Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Haldi2008BlindsTIn,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|bli.TIn|bli.occ|bli.pDown|bli.blindState",fileNamePrefix="Buildings_9_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_9_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.006725/0.006725, allocations: 101.4 kB / 15.73 MB, free: 6.023 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.001578/0.001578, allocations: 187.7 kB / 16.67 MB, free: 5.961 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.384/1.384, 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 9.1.3-maint.9.1.x/package.mo): time 2.404/2.404, allocations: 390.2 MB / 0.6648 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 57.97 kB / 0.9508 GB, free: 5.633 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.3023, allocations: 140.4 MB / 1.088 GB, free: 1.527 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002851/0.3052, allocations: 1.489 MB / 1.089 GB, free: 28 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001471/0.3067, allocations: 0.7336 MB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.46e-05/0.3067, allocations: 0 / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.374e-05/0.3068, allocations: 3.938 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.844e-05/0.3068, allocations: 7.875 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006073/0.3075, allocations: 127.5 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.3076, allocations: 63.84 kB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.3077, allocations: 15.98 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.583e-05/0.3078, allocations: 39.83 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.755e-05/0.3079, allocations: 31.84 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.3079, allocations: 8 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001941/0.3081, allocations: 91.91 kB / 1.09 GB, free: 14.91 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 4.307e-05/0.3081, allocations: 19.92 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.112e-05/0.3082, allocations: 27.86 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002325/0.3084, allocations: 147.5 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3084, allocations: 0 / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3084, allocations: 0 / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.3085, allocations: 4 kB / 1.091 GB, free: 14.71 MB / 0.8575 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.0005799/0.309, allocations: 430.7 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.3091, allocations: 12.03 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.165e-05/0.3091, allocations: 8.844 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.3093, allocations: 184.1 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.3093, allocations: 4.375 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.725e-05/0.3093, allocations: 4.375 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001885/0.3095, allocations: 77.91 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.3095, allocations: 0 / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.233e-05/0.3096, allocations: 0 / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.3096, allocations: 0 / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000132/0.3097, allocations: 39.97 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004886/0.3102, allocations: 296.8 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.3104, allocations: 62.48 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.66e-05/0.3104, allocations: 32.97 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.192e-05/0.3105, allocations: 0 / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000197/0.3107, allocations: 79.44 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.412e-06/0.3107, allocations: 0 / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004/0.3111, allocations: 141.5 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.883e-05/0.3111, allocations: 55.34 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.238e-05/0.3112, allocations: 129.7 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.906e-05/0.3113, allocations: 29.7 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.649e-05/0.3113, allocations: 95.98 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.734e-05/0.3113, allocations: 11.91 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.85e-05/0.3114, allocations: 25.7 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001164/0.3116, allocations: 322.8 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.692e-05/0.3116, allocations: 23.98 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.801e-05/0.3117, allocations: 61.14 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001974/0.3119, allocations: 89.06 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.3119, allocations: 7.938 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002232/0.3122, allocations: 109.4 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.488e-05/0.3122, allocations: 8.156 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.3122, allocations: 4 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.3122, allocations: 4 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.678e-05/0.3123, allocations: 15.92 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.425e-06/0.3123, allocations: 4 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.996e-05/0.3124, allocations: 11.91 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.193e-05/0.3124, allocations: 4 kB / 1.093 GB, free: 12.1 MB / 0.8575 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.331e-05/0.3125, allocations: 127.4 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.839e-05/0.3125, allocations: 15.89 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.511e-05/0.3126, allocations: 8.375 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.3126, allocations: 0 / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.3126, allocations: 4 kB / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.3126, allocations: 0 / 1.093 GB, free: 11.94 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004514/0.3131, allocations: 370.5 kB / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.3131, allocations: 4 kB / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.53e-05/0.3131, allocations: 0 / 1.093 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/0.3131, allocations: 7.984 kB / 1.093 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.139e-05/0.3131, allocations: 11.94 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3131, allocations: 0 / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.3132, allocations: 3.938 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002675/0.3134, allocations: 207.4 kB / 1.094 GB, free: 11.28 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.809e-05/0.3135, allocations: 81.11 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.3135, allocations: 0 / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.607e-05/0.3136, allocations: 4 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/0.3136, allocations: 19.92 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.187e-06/0.3137, allocations: 4 kB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.633e-05/0.3137, allocations: 91.27 kB / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.946e-06/0.3137, allocations: 0 / 1.094 GB, free: 11.06 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003045/0.314, allocations: 51.83 kB / 1.094 GB, free: 11.01 MB / 0.8575 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.0003282/0.3144, allocations: 167.2 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002327/0.3146, allocations: 71.89 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3146, allocations: 0 / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.678e-05/0.3147, allocations: 31.98 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002626/0.315, allocations: 7.984 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004057/0.3154, allocations: 193.2 kB / 1.094 GB, free: 10.53 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.3157, allocations: 0.6846 MB / 1.095 GB, free: 9.816 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.439e-05/0.3157, allocations: 11.73 kB / 1.095 GB, free: 9.805 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.498e-05/0.3157, allocations: 11.44 kB / 1.095 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of SimCode: time 2.3e-07/0.3157, allocations: 0 / 1.095 GB, free: 9.793 MB / 0.8575 GB Notification: Performance of Templates: time 0.004546/0.3203, allocations: 1.468 MB / 1.096 GB, free: 8.332 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.makefile (rm -f Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; mkfifo Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe ; head -c 1048576 < Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe >> ../files/Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.sim & ./Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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