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.007717/0.007717, allocations: 101.7 kB / 15.73 MB, free: 6.031 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.0018/0.0018, allocations: 186.6 kB / 16.67 MB, free: 5.965 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.457/1.457, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.558/2.558, allocations: 390.2 MB / 0.6648 GB, free: 160 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00124/0.00124, allocations: 67.27 kB / 0.9508 GB, free: 5.578 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3244, allocations: 140.4 MB / 1.088 GB, free: 1.523 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.00298/0.3274, allocations: 1.486 MB / 1.089 GB, free: 24 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001478/0.3289, allocations: 0.7297 MB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.345e-05/0.329, allocations: 0 / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.564e-05/0.3291, allocations: 11.94 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.723e-05/0.3291, allocations: 7.875 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005896/0.3297, allocations: 119.6 kB / 1.09 GB, free: 15.15 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.3299, allocations: 71.78 kB / 1.09 GB, free: 15.08 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001019/0.33, allocations: 11.98 kB / 1.09 GB, free: 15.07 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 8.876e-05/0.3301, allocations: 35.89 kB / 1.09 GB, free: 15.04 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.137e-05/0.3301, allocations: 35.84 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.3302, allocations: 4 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001883/0.3304, allocations: 99.84 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.844e-05/0.3304, allocations: 15.92 kB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 5.995e-05/0.3305, allocations: 27.86 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002335/0.3307, allocations: 139.6 kB / 1.091 GB, free: 14.72 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.3307, allocations: 3.938 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3307, allocations: 0 / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.3307, allocations: 0 / 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.000651/0.3314, allocations: 442.7 kB / 1.091 GB, free: 14.22 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.3314, allocations: 8.031 kB / 1.091 GB, free: 14.21 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.07e-05/0.3315, allocations: 12.83 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001442/0.3316, allocations: 180.1 kB / 1.091 GB, free: 13.99 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.157e-05/0.3317, allocations: 8.375 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.802e-05/0.3317, allocations: 4.375 kB / 1.091 GB, free: 13.98 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002107/0.3319, allocations: 69.97 kB / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.3319, allocations: 0 / 1.091 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.81e-05/0.332, allocations: 8 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.332, allocations: 4 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001401/0.3321, allocations: 39.91 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005453/0.3327, allocations: 292.8 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.3328, allocations: 46.56 kB / 1.092 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.843e-05/0.3329, allocations: 36.97 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.318e-05/0.333, allocations: 4.016 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002086/0.3332, allocations: 87.3 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.433e-06/0.3332, allocations: 0 / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0004017/0.3336, allocations: 133.5 kB / 1.092 GB, free: 13.18 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.479e-05/0.3336, allocations: 59.41 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.3338, allocations: 129.8 kB / 1.092 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.3338, allocations: 25.7 kB / 1.092 GB, free: 12.95 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.992e-05/0.3338, allocations: 92.05 kB / 1.092 GB, free: 12.85 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-05/0.3339, allocations: 7.906 kB / 1.092 GB, free: 12.84 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-05/0.3339, allocations: 29.7 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.334, allocations: 326.8 kB / 1.093 GB, free: 12.48 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.013e-05/0.3341, allocations: 19.98 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.023e-05/0.3342, allocations: 65.08 kB / 1.093 GB, free: 12.38 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001674/0.3344, allocations: 89.06 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3344, allocations: 3.938 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002153/0.3346, allocations: 113.4 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.3346, allocations: 4 kB / 1.093 GB, free: 12.15 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.3346, allocations: 4 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.3347, allocations: 4.156 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.815e-05/0.3348, allocations: 23.92 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.931e-06/0.3348, allocations: 320 / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.014e-05/0.3349, allocations: 7.906 kB / 1.093 GB, free: 12.11 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.3349, allocations: 4 kB / 1.093 GB, free: 12.11 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 9.953e-05/0.335, allocations: 129.4 kB / 1.093 GB, free: 11.97 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.927e-05/0.335, allocations: 11.92 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.756e-05/0.335, allocations: 12.38 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.335, allocations: 4 kB / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.335, allocations: 0 / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.3351, allocations: 0 / 1.093 GB, free: 11.95 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004502/0.3355, allocations: 386.4 kB / 1.093 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.3355, allocations: 0 / 1.093 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.081e-05/0.3356, allocations: 7.984 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.3356, allocations: 0 / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.487e-06/0.3356, allocations: 0 / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.166e-06/0.3356, allocations: 4 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.3356, allocations: 7.938 kB / 1.093 GB, free: 11.49 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002804/0.3359, allocations: 211.3 kB / 1.094 GB, free: 11.27 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.748e-05/0.3359, allocations: 77.11 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.211e-05/0.336, allocations: 8 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.783e-05/0.3361, allocations: 4 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.415e-05/0.3361, allocations: 11.92 kB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.238e-06/0.3361, allocations: 8 kB / 1.094 GB, free: 11.14 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.534e-05/0.3362, allocations: 95.2 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.543e-06/0.3362, allocations: 0 / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003076/0.3365, allocations: 47.83 kB / 1.094 GB, free: 11 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.0003503/0.3369, allocations: 158.7 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.000243/0.3371, allocations: 67.91 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3371, allocations: 0 / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001047/0.3372, allocations: 35.92 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002775/0.3375, allocations: 11.98 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.0004313/0.338, allocations: 185.3 kB / 1.094 GB, free: 10.54 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002622/0.3382, allocations: 0.6885 MB / 1.095 GB, free: 9.82 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 3.901e-05/0.3383, allocations: 11.73 kB / 1.095 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.629e-05/0.3383, allocations: 11.44 kB / 1.095 GB, free: 9.797 MB / 0.8575 GB Notification: Performance of SimCode: time 2.2e-07/0.3383, allocations: 0 / 1.095 GB, free: 9.797 MB / 0.8575 GB Notification: Performance of Templates: time 0.004245/0.3426, allocations: 1.451 MB / 1.096 GB, free: 8.352 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